HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ImageNet-21K Pretraining for the Masses

Tal Ridnik Emanuel Ben-Baruch Asaf Noy Lihi Zelnik-Manor

ImageNet-21K Pretraining for the Masses

Abstract

ImageNet-1K serves as the primary dataset for pretraining deep learning models for computer vision tasks. ImageNet-21K dataset, which is bigger and more diverse, is used less frequently for pretraining, mainly due to its complexity, low accessibility, and underestimation of its added value. This paper aims to close this gap, and make high-quality efficient pretraining on ImageNet-21K available for everyone. Via a dedicated preprocessing stage, utilization of WordNet hierarchical structure, and a novel training scheme called semantic softmax, we show that various models significantly benefit from ImageNet-21K pretraining on numerous datasets and tasks, including small mobile-oriented models. We also show that we outperform previous ImageNet-21K pretraining schemes for prominent new models like ViT and Mixer. Our proposed pretraining pipeline is efficient, accessible, and leads to SoTA reproducible results, from a publicly available dataset. The training code and pretrained models are available at: https://github.com/Alibaba-MIIL/ImageNet21K

Code Repositories

Alibaba-MIIL/ImageNet21K
Official
pytorch
Mentioned in GitHub
YutingLi0606/SURE
pytorch
Mentioned in GitHub
encounter1997/fp-detr
pytorch
Mentioned in GitHub
gregorbachmann/scaling_mlps
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-100ViT-B-16 (ImageNet-21K-P pretrain)
Percentage correct: 94.2
image-classification-on-stanford-carsTResNet-L-V2
Accuracy: 96.32
multi-label-classification-on-ms-cocoTResNet-L-V2, (ImageNet-21K-P pretraining, resolution 448)
mAP: 88.4
multi-label-classification-on-ms-cocoTResNet-L-V2, (ImageNet-21K-P pretraining, resolution 640)
mAP: 89.8
multi-label-classification-on-pascal-voc-2007ViT-B-16 (ImageNet-21K pretrained)
mAP: 93.1

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp