09 2019 档案
摘要:import sys, os sys.path.append('F:\ml\DL\source-code') from dataset.mnist import load_mnist from PIL import Image import numpy as np #pickle提供了一个简单的持久化功能。可以将对象以文件的形式存放在磁盘上。 #pickle模块只能在python中使用...
阅读全文
摘要:import sys, os sys.path.append('F:\ml\DL\source-code') #导入此路径中 from dataset.mnist import load_mnist from PIL import Image import numpy as np (x_train, t_train), (x_test, t_test) = load_mnist(fla...
阅读全文
摘要:import matplotlib.pyplot as plt from matplotlib.image import imread img = imread('F:\\ml\\DL\\source-code\\dataset\\lena.png') #imread读取图片 plt.imshow(img)#显示图片 plt.show()
阅读全文
摘要:Seaborn是基于matplotlib的Python可视化库。 它提供了一个高级界面来绘制有吸引力的统计图形。Seaborn其实是在matplotlib的基础上进行了更高级的API封装,从而使得作图更加容易,不需要经过大量的调整就能使你的图变得精致。但应强调的是,应该把Seaborn视为matpl
阅读全文

浙公网安备 33010602011771号