基础CNN网络那节matplotlib显示数字有错
1219521375 opened this issue · comments
Tiao Wang commented
import matplotlib.pyplot as plt
plt.imshow(x_train[0])
plt.show()
似乎是之前下载的数组格式是(28,28,1),reshape为(28,28)就可以正常显示
czy36mengfei commented
tensorflow2中文教程,持续更新(当前版本:tensorflow2.0),tag: tensorflow 2.0 tutorials
1219521375 opened this issue · comments
import matplotlib.pyplot as plt
plt.imshow(x_train[0])
plt.show()
似乎是之前下载的数组格式是(28,28,1),reshape为(28,28)就可以正常显示