![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Code
毕加猪plus
本人邮箱1244851493@qq.com
展开
-
数据集_FashionMNIST 数据集
FashionMNIST Dataset原创 2022-05-04 21:40:52 · 935 阅读 · 0 评论 -
制作自己的数据集--------将数据集按一定比例分成训练集和测试集
import os from shutil import copy, rmtree import random def mk_file(file_path: str): if os.path.exists(file_path): # 如果文件夹存在,则先删除原文件夹在重新创建 rmtree(file_path) os.makedirs(file_path) def main(): # 保证随机可复现 random.seed(0)原创 2021-05-06 20:15:20 · 514 阅读 · 1 评论