mit-acl / deep_panther

BSD 3-Clause "New" or "Revised" License
52 stars 10 forks source link

about module ‘py_panther' error #2

Open w2385680516 opened 1 year ago

w2385680516 commented 1 year ago

python3 policy_compression_train.py

Traceback (most recent call last): File "policy_compression_train.py", line 27, in from compression.policies.ExpertPolicy import ExpertPolicy File "/home/scout/deep_panther/src/deep_panther/panther_compression/compression/policies/ExpertPolicy.py", line 5, in from compression.utils.other import ActionManager, ObservationManager, getPANTHERparamsAsCppStruct, ExpertDidntSucceed, computeTotalTime File "/home/scout/deep_panther/src/deep_panther/panther_compression/compression/utils/other.py", line 7, in import py_panther ModuleNotFoundError: No module named 'py_panther'

jtorde commented 1 year ago

Hi @w2385680516!

Did you run these commands? (see Readme)

printf '\nsource PATH_TO_YOUR_WS/devel/setup.bash' >> ~/.bashrc #Remember to change PATH_TO_YOUR_WS
printf '\nexport PYTHONPATH="${PYTHONPATH}:$(rospack find panther)/../panther_compression"' >> ~/.bashrc 
source ~/.bashrc
w2385680516 commented 1 year ago

thank for your help!

w2385680516 commented 1 year ago

I would like to ask how to collect data if I train the model, because the following error occurs when I run policy_compression_train.py: image