手写体识别
import paddle
from paddle.nn import Linear
import paddle.nn.functional as F
import os
import numpy as np
import matplotlib.pyplot as plt
train_dataset = paddle.vision.datasets.MNIST(mode='train')
# train_data0 = np.array(train_dataset[0][0])
# train_label_0 = np.array(train_dataset[0][1])
#
# import matplotlib.pyplot as plt
# plt.figure("Image")
# plt.figure(figsize=(2, 2))
# plt.figure(train_data0, cmap=p
手写体识别最先出现在Python成神之路。
版权声明:
作者:lichengxin
链接:https://www.techfm.club/p/3926.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
共有 0 条评论