# ImageNet2012PreprocessV1 **Repository Path**: AmazingBian/ImageNet2012PreprocessV1 ## Basic Information - **Project Name**: ImageNet2012PreprocessV1 - **Description**: 使用脚本将ImageNet2012进行处理 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-06-08 - **Last Updated**: 2023-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ImageNet2012PreprocessV1 #### 介绍 使用shell脚本对ImageNet2012数据集进行预处理,执行shell脚本便可以实现给ImageNet2012数据集的训练集、验证集解压和解决验证集没有标签的问题。 使用的数据集:[ImageNet2012](https://gitee.com/link?target=http%3A%2F%2Fwww.image-net.org%2F) - 数据集大小:共1000个类、224*224彩色图像 - 训练集:共1,281,167张图像 - 验证集:共50,000张图像 #### 适用场景 - ImageNet2012 - ILSVRC2012_img_train.tar解压后还是tar包 - ILSVRC2012_img_val.tar解压后没有标签 #### 使用说明 ##### git 方法 ``` git clone https://gitee.com/AmazingBian/ImageNet2012PreprocessV1.git bash ImageNet2012PreprocessV1/ImageNet2012Preprocess.sh [/path/ILSVRC2012_img_train.tar] [/path/ILSVRC2012_img_val.tar] [/path/train] [/path/val] ``` ##### 下载zip包方法 ``` unzip ImageNet2012PreprocessV1-master.zip mv ImageNet2012PreprocessV1-master ImageNet2012PreprocessV1 bash ImageNet2012PreprocessV1/ImageNet2012Preprocess.sh [/path/ILSVRC2012_img_train.tar] [/path/ILSVRC2012_img_val.tar] [/path/train] [/path/val] ``` ##### 后台运行 ``` nohup bash ImageNet2012PreprocessV1/ImageNet2012Preprocess.sh & ``` #### 参与贡献 参考TensorFlow[官网代码数据处理](https://github.com/tensorflow/models/tree/master/research/slim/datasets)