google-research / ravens

Train robotic agents to learn pick and place with deep learning for vision-based manipulation in PyBullet. Transporter Nets, CoRL 2020.
https://transporternets.github.io
Apache License 2.0
538 stars 93 forks source link

No module named 'ravens' #29

Closed Hollen0318 closed 1 year ago

Hollen0318 commented 1 year ago

Running this command you will get:

python ravens/demos.py --assets_root=./ravens/environments/assets/ --disp=True --task=block-insertion --mode=train --n=10

The simplest solution is to move the file named demos.py under ravens/ not under ravens/ravens.

Hollen0318 commented 1 year ago

Then run the code with

python demos.py --assets_root=./ravens/environments/assets/ --disp=True --task=block-insertion --mode=train --n=10

Hollen0318 commented 1 year ago

A smarter fix will be set the pythonpath to be your ravens (first ravens) by this:

On windows:

set PYTHONPATH=%PYTHONPATH%;C:\Users\holle\Simulation\ravens