Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about module ‘py_panther' error #2

Open
w2385680516 opened this issue Feb 14, 2023 · 3 comments
Open

about module ‘py_panther' error #2

w2385680516 opened this issue Feb 14, 2023 · 3 comments

Comments

@w2385680516
Copy link

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
Copy link
Collaborator

jtorde commented Mar 13, 2023

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
Copy link
Author

thank for your help!

@w2385680516
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants