Skip to content

Commit 3b44d64

Browse files
authored
Minor bug fix
Added missing declaration for rewards_list, otherwise it will fail the first time you try to train it
1 parent 2e86f47 commit 3b44d64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DQN/Space Invaders/DQN Atari Space Invaders.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@
681681
"source": [
682682
"# Saver will help us to save our model\n",
683683
"saver = tf.train.Saver()\n",
684+
"rewards_list=[]\n",
684685
"\n",
685686
"if training == True:\n",
686687
" with tf.Session() as sess:\n",

0 commit comments

Comments
 (0)