Skip to content

Commit

Permalink
Update Cartpole_DQN.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonlessons authored Mar 23, 2020
1 parent 9c111ed commit 28e6916
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 01_CartPole-reinforcement-learning/Cartpole_DQN.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Tutorial by www.pylessons.com
# Tutorial written for - Tensorflow 1.15, Keras 2.2.4

import os
os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
import random
Expand Down Expand Up @@ -153,4 +156,4 @@ def test(self):
if __name__ == "__main__":
agent = DQNAgent()
#agent.run()
agent.test()
agent.test()

0 comments on commit 28e6916

Please sign in to comment.