Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW Classification Datasets: imagenet10, imagenet100, imagenet1000 #2022

Open
glenn-jocher opened this issue Feb 20, 2023 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@glenn-jocher
Copy link
Member

glenn-jocher commented Feb 20, 2023

All, FYI I've created 3 new classification datasets for use with debugging/tests/benchmarks: imagenet10, imagenet100, imagenet1000.

These are super small versions of imagenet that train/val in seconds with only 1 image per class (with all 1000 classes, only 100 classes, and only 10 classes). They are reduced in size to imgsz=160 and compressed with PIL so that i.e. imagenet10 is only 70kB, imagenet1000 is only 7MB.

CI

I've migrated our YOLOv8 CI, tests and benchmarks to use them, i.e. benchmarks are now on imagenet100 (top5 accuracy is 0.71 for YOLOv8n-cls on imagenet100).
https://github.com/ultralytics/ultralytics/actions/runs/4223103056/jobs/7332424420

Screenshot 2023-02-20 at 14 56 41

Download

You can download them here:
https://github.com/ultralytics/yolov5/releases/download/v1.0/imagenet10.zip
https://github.com/ultralytics/yolov5/releases/download/v1.0/imagenet100.zip
https://github.com/ultralytics/yolov5/releases/download/v1.0/imagenet1000.zip

Usage

pip install ultralytics

yolo train model=yolov8n-cls.pt data=imagenet100

or

from ultralytics import YOLO

model = YOLO('yolov8n-cls.pt')
results = model.train(data='imagenet100', imgsz=160)
@glenn-jocher glenn-jocher added the documentation Improvements or additions to documentation label Feb 20, 2023
@glenn-jocher glenn-jocher self-assigned this Feb 20, 2023
@UltralyticsAssistant UltralyticsAssistant added enhancement New feature or request python labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants