tambetm / simple_dqn

Simple deep Q-learning agent.
MIT License
695 stars 184 forks source link

./test_gym.sh error #19

Closed iaroslav-ai closed 8 years ago

iaroslav-ai commented 8 years ago

When I run ./test_gym.sh snapshots/Breakout-v0_18.prm I get as output

[2016-05-24 09:37:29,885] Making new env: Breakout-v0
Traceback (most recent call last):
  File "src/test_gym.py", line 66, in <module>
    agent = Agent(env, mem, net, args)
  File "/home/iaroslav/simple_dqn/src/agent.py", line 22, in __init__
    self.total_train_steps = args.start_epoch * args.train_steps
AttributeError: 'Namespace' object has no attribute 'start_epoch'

It does not seem that args.start_epoch or args.train_steps are set in the test_gym.py.