philtabor / Deep-Q-Learning-Paper-To-Code

MIT License
347 stars 146 forks source link

Detach target nexwork in DQN #9

Open yangyi0318 opened 4 years ago

yangyi0318 commented 4 years ago

In DQNAgent, I think you may need to call detach() at line 90 to detach the target network from gradient evaluation.