philtabor / Youtube-Code-Repository

Repository for most of the code from my YouTube channel
861 stars 480 forks source link

Epsilon = 0 on main_keras_dqn_lunar_lander.py #7

Closed renatoviolin closed 4 years ago

renatoviolin commented 4 years ago

Hi Phil, In Agent constructor the epsilon=0. Wouldn't be epsilon = 1?

Thanks Renato

philtabor commented 4 years ago

Hey Renato, this is because I set it to 0 for making YouTube videos, since I want to load a fully trained agent and generate videos of the agent landing on the pad.

When you are training, it should indeed be set to 1, and you should comment out the agent.load_model() on line 13.