dennybritz / reinforcement-learning

Implementation of Reinforcement Learning Algorithms. Python, OpenAI Gym, Tensorflow. Exercises and Solutions to accompany Sutton's Book and David Silver's course.
http://www.wildml.com/2016/10/learning-reinforcement-learning/
MIT License
20.59k stars 6.04k forks source link

Hi! I have got a problem... Could you help me out? #68

Open wonchul-kim opened 7 years ago

wonchul-kim commented 7 years ago

I am using python 2.7

and I guess because of this version difference,

I keep getting error in the part of 'def deep_q_learning(~)' SyntaxError: 'return' with argument inside generator

How can I solve this????

Shadowen commented 7 years ago

Just delete the line with return stats at the end of the function. It shouldn't have any impact on (this) program.