ImageNet
收藏资源简介:
ImageNet数据集下载器。用户可以通过指定所需的类别数量和每个类别中的图片数量来创建新的数据集。
ImageNet Dataset Downloader. Users can create new datasets by specifying the desired number of categories and the number of images per category.
数据集概述
数据集名称
ImageNet Downloader
数据集功能
用户可以通过指定所需的类别数量和每类图像数量,从ImageNet数据集中创建新的子集。
数据集使用方法
-
随机选择类别下载
python ./downloader.py -data_root /data_root_folder/imagenet -number_of_classes 100 -images_per_class 200
此命令将随机选择100个至少包含200张图像的ImageNet类别并开始下载。
-
指定类别下载
python ./downloader.py -data_root /data_root_folder/imagenet -use_class_list True -class_list n09858165 n01539573 n03405111 -images_per_class 500
此命令将从指定的类别中下载500张图像。
并行处理
数据集支持并行请求处理,默认使用8个并行处理工作进程。用户可以根据需要增加此参数,例如:
python ./downloader.py -data_root /data_root_folder/imagenet -number_of_classes 1000 -images_per_class 500 -multiprocessing_workers 24
此命令将使用24个并行处理工作进程下载1000个类别的图像,每类500张。




