duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
45 stars 16 forks source link

Pytorch version 0.3 in environment.yaml is outdated #163

Closed maivincent closed 5 years ago

maivincent commented 5 years ago

Following the instructions: conda env create -f environment.yaml then Pytorch 0.3 is installed, which causes the following error when running the command:

$ python -m reinforcement.pytorch.train_reinforcement
...
module 'torch' has no attribute 'device'

This can be corrected with setting Pytorch version to 1.0 in environment.yaml