dgriff777 / a3c_continuous

A continuous action space version of A3C LSTM in pytorch plus A3G design
Apache License 2.0
258 stars 59 forks source link

Issue when training agent #1

Closed Adrien2112 closed 6 years ago

Adrien2112 commented 6 years ago

Hello !

Thanks for the code.

I have an issue when running the command "python main.py --workers 6 --env BipedalWalker-v2 --save-max True --model MLP --stack-frames 1" :

Ghostyn@DESKTOP-BBU0957:~/a3c_continuous$ python main.py --workers 6 --env BipedalWalker-v2 --save-max True --model MLP --stack-frames 1 Traceback (most recent call last): File "main.py", line 12, in from gym.configuration import undo_logger_setup ModuleNotFoundError: No module named 'gym.configuration'

Can you help ?

Adrien

dgriff777 commented 6 years ago

Hi! Yeah this is due to the update to gym. I had code above to get rid of annoying gym logger but will cause error in updated gym. Just comment out in the main.py script like so:

#from gym.configuration import undo_logger_setup
import time

#undo_logger_setup()

Will work fine after that

Adrien2112 commented 6 years ago

Thank you the problem is resolved !