python实现实验三CNN手写数字识别代码
from keras.datasets import mnist import numpy as np from keras import models from keras import layers from keras.models import load model import matplotlib.pyplot as plt from keras import optimizers1.4.1.1x train y train x test y test mnist.load data下载数据集print shape of x train str x train.shape print shape of x test str x test.shape print shape of y train str y train.shape print shape of y test str y test.shape1.4.1.2x train vec total x trai
用户评论