jcoreyes / OP3

Entity Abstraction in Visual Model-Based Reinforcement Learning
https://sites.google.com/view/op3website/
MIT License
55 stars 7 forks source link

Conda env doesn't contain all needed packages? #1

Closed JSR694 closed 4 years ago

JSR694 commented 4 years ago

Hi there, When I try to run training for the single block-stacking task, i.e.:

python exps/train_op3/train_op3.py --variant [stack, pickplace, cloth] --debug 0

I get an import error for torchvision. But when I try to add it to the env (via conda install -n op3 torchvision), conda complains about conflicts (and spends forever trying to resolve them).

For context:

Thanks!

JSR694 commented 4 years ago

Looks like I needed to add torchvision=0.2.1 as a dependency in the conda env specification file.

Other problems with dependencies I noticed:

Also needed to add OP3 itself as a dependency using conda develop ./OP3/; otherwise the scripts can't find the op3 module.

Hope this helps.