Skip to content

Commit 11eebc3

Browse files
committed
sizes error
1 parent e3f578c commit 11eebc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lab3/Lab3_rl.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@
686686
"def create_pong_model():\n",
687687
" model = tf.keras.models.Sequential([\n",
688688
" # Define and reshape inputs\n",
689-
" tf.keras.layers.InputLayer(input_shape=(80, 80, 1), dtype=tf.float32),\n",
689+
" tf.keras.layers.InputLayer(input_shape=(6400,), dtype=tf.float32),\n",
690690
" tf.keras.layers.Reshape((80, 80, 1)),\n",
691691
" \n",
692692
" # Convolutional layers\n",
@@ -871,6 +871,7 @@
871871
"\n",
872872
"smoothed_reward = util.LossHistory(smoothing_factor=0.9)\n",
873873
"plotter = util.PeriodicPlotter(sec=5, xlabel='Iterations', ylabel='Rewards')\n",
874+
"memory = Memory()\n",
874875
"\n",
875876
"for i_episode in range(MAX_ITERS):\n",
876877
"\n",

0 commit comments

Comments
 (0)