How to solve ValueError: x and y can be no greater than 2D, but have shapes (1,) and torch.Size([1, 28, 28])

Ask Questions Forum: ask Machine Learning Questions to our readersCategory: PyTorchHow to solve ValueError: x and y can be no greater than 2D, but have shapes (1,) and torch.Size([1, 28, 28])
Chris Staff asked 3 weeks ago
1 Answers
Best Answer
Chris Staff answered 3 weeks ago

You likely used plt.plot instead of plt.imshow.

Your Answer

17 + 0 =