python+tensorflow CNN卷积神经网络手写字体识别
导入所需的库模块:import osimport cv2import numpy as npimport tensorflow as tf2import matplotlib.pyplot as pltimport tensorflow.compat.v1 as tfimport tensorflow.compat.v1 as tf这句话是为了将tensorflow 2.x转为1.x,tensorflow1.x更能表现网络结构import os是调用系统,可有可无,为了不显示警告内容所
原创
2021-11-29 13:23:37 ·
4804 阅读 ·
4 评论