Closed mattdajacob closed 4 years ago
I get the following error when executing the 4th cell in the Chapter 11 - Learning to play game with deep reinforcement learning:
TypeError: Invalid dimensions for image data
The code in cell 4 is: obs_preprocessed = preprocess_frame(observation) plt.imshow(obs_preprocessed, cmap='gray') plt.show()
The results of print(obs_preprocessed.shape) are: (5600,)
I get the following error when executing the 4th cell in the Chapter 11 - Learning to play game with deep reinforcement learning:
TypeError: Invalid dimensions for image data
The code in cell 4 is: obs_preprocessed = preprocess_frame(observation) plt.imshow(obs_preprocessed, cmap='gray') plt.show()
The results of print(obs_preprocessed.shape) are: (5600,)