Deep-reinforcement-learning-with-pytorch icon indicating copy to clipboard operation
Deep-reinforcement-learning-with-pytorch copied to clipboard

a bug in DQN.py

Open karlhjm opened this issue 5 years ago • 0 comments

https://github.com/sweetice/Deep-reinforcement-learning-with-pytorch/blob/2ad8b9f4d20c1f680f30f0627300ee65167291cd/Char01%20DQN/DQN.py#L134

in my opinion,it is variable 'ep_reward' that should be stored here instead of 'reward'

karlhjm avatar Jan 13 '20 10:01 karlhjm