 《TensorFlow 2项目进阶实战》2-快速上手篇:动⼿训练模型和部署服务'T-shirt/top', 'Trouser', 'Pullover', 'Dress', 'Coat’, 'Sandal', 'Shirt', 'Sneaker', 'Bag', 'Ankle boot’ ] train_images = train_images / 255.0 test_images = test_images / 255.0 plt.figure(figsize=(80 码力 | 52 页 | 7.99 MB | 1 年前3 《TensorFlow 2项目进阶实战》2-快速上手篇:动⼿训练模型和部署服务'T-shirt/top', 'Trouser', 'Pullover', 'Dress', 'Coat’, 'Sandal', 'Shirt', 'Sneaker', 'Bag', 'Ankle boot’ ] train_images = train_images / 255.0 test_images = test_images / 255.0 plt.figure(figsize=(80 码力 | 52 页 | 7.99 MB | 1 年前3
 全连接神经网络实战. pytorch 版3: ” Dress ” , 4: ”Coat” , 5: ” Sandal ” , 6: ” Shirt ” , 7: ” Sneaker ” , 8: ”Bag” , 9: ”Ankle␣Boot” , } import matplotlib . pyplot as plt f i g u r e = plt . f i g u r e () # 抽 取 索 引 为 100 的 数0 码力 | 29 页 | 1.40 MB | 1 年前3 全连接神经网络实战. pytorch 版3: ” Dress ” , 4: ”Coat” , 5: ” Sandal ” , 6: ” Shirt ” , 7: ” Sneaker ” , 8: ”Bag” , 9: ”Ankle␣Boot” , } import matplotlib . pyplot as plt f i g u r e = plt . f i g u r e () # 抽 取 索 引 为 100 的 数0 码力 | 29 页 | 1.40 MB | 1 年前3
 Keras: 基于 Python 的深度学习库2 Pullover 套头衫 3 Dress 连衣裙 4 Coat 外套 5 Sandal 凉鞋 6 Shirt 衬衫 7 Sneaker 运动鞋 8 Bag 背包 9 Ankle boot 短靴 用法: from keras.datasets import fashion_mnist (x_train, y_train), (x_test, y_test) = fashion_mnist0 码力 | 257 页 | 1.19 MB | 1 年前3 Keras: 基于 Python 的深度学习库2 Pullover 套头衫 3 Dress 连衣裙 4 Coat 外套 5 Sandal 凉鞋 6 Shirt 衬衫 7 Sneaker 运动鞋 8 Bag 背包 9 Ankle boot 短靴 用法: from keras.datasets import fashion_mnist (x_train, y_train), (x_test, y_test) = fashion_mnist0 码力 | 257 页 | 1.19 MB | 1 年前3
 动手学深度学习 v2.0T恤)、trouser(裤子)、pullover(套衫)、dress(连衣 裙)、coat(外套)、sandal(凉鞋)、shirt(衬衫)、sneaker(运动鞋)、bag(包)和ankle boot(短靴)。以 下函数用于在数字标签索引及其文本名称之间进行转换。 def get_fashion_mnist_labels(labels): #@save """返回Fashion-MNIST数据集的文本标签""" = ['t-shirt', 'trouser', 'pullover', 'dress', 'coat', 'sandal', 'shirt', 'sneaker', 'bag', 'ankle boot'] return [text_labels[int(i)] for i in labels] 我们现在可以创建一个函数来可视化这些样本。 def show_images(imgs, num_rows0 码力 | 797 页 | 29.45 MB | 1 年前3 动手学深度学习 v2.0T恤)、trouser(裤子)、pullover(套衫)、dress(连衣 裙)、coat(外套)、sandal(凉鞋)、shirt(衬衫)、sneaker(运动鞋)、bag(包)和ankle boot(短靴)。以 下函数用于在数字标签索引及其文本名称之间进行转换。 def get_fashion_mnist_labels(labels): #@save """返回Fashion-MNIST数据集的文本标签""" = ['t-shirt', 'trouser', 'pullover', 'dress', 'coat', 'sandal', 'shirt', 'sneaker', 'bag', 'ankle boot'] return [text_labels[int(i)] for i in labels] 我们现在可以创建一个函数来可视化这些样本。 def show_images(imgs, num_rows0 码力 | 797 页 | 29.45 MB | 1 年前3
共 4 条
- 1













