1. 首页
  2. 编程语言
  3. Python
  4. python实现实验三CNN手写数字识别代码

python实现实验三CNN手写数字识别代码

上传者: 2023-01-05 23:16:05上传 PY文件 4.46KB 热度 20次
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
用户评论