← 开源
facebookresearch

ConvNeXt

Code release for ConvNeXt model

ModelsVision modelsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
6.41k
Star
744
Fork
+0
本周
8
贡献者
创建于 2022-01-06 · 更新于 2026-10-07 · 今日第 7272 名
主要开发者
liuzhuang13s9xieHannaMao

facebookresearch/ConvNeXt 排名第 7,272,有 6,408 个星标。

同类别比较

facebookresearch/ConvNeXt 排名第 7,272,此处有 8 个同类条目;yl4579/StyleTTS2 排名第 7,275。

同类别比较
名称排名指标
allenai/OLMo7,236
语言:
Python
星标数:
6,703
分叉数:
805
简介:
Modeling, training, eval, and inference code for OLMo
simplescaling/s17,237
语言:
Python
星标数:
6,672
分叉数:
756
简介:
s1: Simple test-time scaling
openai/consistency_models7,257
语言:
Python
星标数:
6,484
分叉数:
433
简介:
Official repo for consistency models.
HVision-NKU/StoryDiffusion7,260
语言:
Jupyter Notebook
星标数:
6,475
分叉数:
648
简介:
Accepted as [NeurIPS 2024] Spotlight Presentation Paper
yl4579/StyleTTS27,275
语言:
Python
星标数:
6,363
分叉数:
709
简介:
StyleTTS 2: Towards Human-Level Text-to-Speech through Style Diffusion and Adversarial Training with Large Speech Language Models
RangiLyu/nanodet7,287
语言:
Python
星标数:
6,277
分叉数:
1,117
简介:
NanoDet-Plus⚡Super fast and lightweight anchor-free object detection model. 🔥Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphone🔥
zihangdai/xlnet7,296
语言:
Python
星标数:
6,189
分叉数:
1,146
简介:
XLNet: Generalized Autoregressive Pretraining for Language Understanding
bytedance/MegaTTS37,309
语言:
Python
星标数:
6,099
分叉数:
478
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Vision models
星标数6,408
分叉数744
贡献者8
创建日期2022-01-06
更新日期2026-10-07
1 天星标数0
7 天星标数0
排名7,272
上次排名7,432
排名变化160
7 天星标排名11,691
上次 7 天星标排名11,758
7 天星标排名变化67
总星标排名2,228
上次总星标排名2,226
总星标排名变化-2
国家USA
README 摘录

A ConvNet for the 2020s Official PyTorch implementation of **ConvNeXt**, from the following paper: A ConvNet for the 2020s. ConvNeXt is accurate, efficient, scalable and very simple in design. 5G | model | | ConvNeXt-S | 224x224 | 83. 7G | model | | ConvNeXt-B | 224x224 | 83. 4G | model | | ConvNeXt-B | 384x384 | 85. 0G | model | | ConvNeXt-L | 224x224 | 84. 4G | model | | ConvNeXt-L | 384x384 | 85. 5G | model | model | ConvNeXt-T | 384x384 | 84. 1G | - | model | ConvNeXt-S | 224x224 | 84. 7G | model | model | ConvNeXt-S | 384x384 | 85. 5G

| - | model | ConvNeXt-B | 224x224 | 85. 4G | model | model | ConvNeXt-B | 384x384 | 86. 0G | - | model | ConvNeXt-L | 224x224 | 86. 4G | model | model | ConvNeXt-L | 384x384 | 87. 0G | - | model | ConvNeXt-XL | 224x224 | 87. 9G | model | model | ConvNeXt-XL | 384x384 | 87. 3G | model | | ConvNeXt-B | 224x224 | 82. 9G | model | | ConvNeXt-L | 224x224 | 82. 7G | model | Installation Please check INSTALL. Evaluation We give an example evaluation command for a ImageNet-22K pre-trained, then ImageNet-1K fine-tuned ConvNeXt-B: Single-GPU Multi-GPU

This should give For evaluating other model variants, change , , accordingly. You can get the url to pre-trained models from the tables above. Setting model-specific is not strictly required in evaluation, as the module in timm behaves the same during evaluation; but it is required in training. md or our paper for the values used for different models. md for training and fine-tuning instructions. Acknowledgement This repository is built using the timm library, DeiT and BEiT repositories. License

This project is released under the MIT license. Please see the LICENSE file for more information. Citation If you find this repository helpful, please consider citing:

常见问题

记录了多少星标和分叉?

facebookresearch/ConvNeXt 有 6,408 个星标和 744 个分叉。

仓库排名是多少?

facebookresearch/ConvNeXt 排名第 7,272。

记录的语言和类别是什么?

facebookresearch/ConvNeXt 有 6,408 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

facebookresearch/ConvNeXt 与 yl4579/StyleTTS2 比较,后者排名第 7,275,有 6,363 个星标。

README

A ConvNet for the 2020s

Official PyTorch implementation of ConvNeXt, from the following paper:

A ConvNet for the 2020s. CVPR 2022.
Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell and Saining Xie
Facebook AI Research, UC Berkeley
[arXiv][video]


We propose ConvNeXt, a pure ConvNet model constructed entirely from standard ConvNet modules. ConvNeXt is accurate, efficient, scalable and very simple in design.

Catalog

  • [x] ImageNet-1K Training Code
  • [x] ImageNet-22K Pre-training Code
  • [x] ImageNet-1K Fine-tuning Code
  • [x] Downstream Transfer (Detection, Segmentation) Code
  • [x] Image Classification [Colab] and Web Demo
  • [x] Fine-tune on CIFAR with Weights & Biases logging [Colab]

Results and Pre-trained Models

ImageNet-1K trained models

name resolution acc@1 #params FLOPs model
ConvNeXt-T 224x224 82.1 28M 4.5G model
ConvNeXt-S 224x224 83.1 50M 8.7G model
ConvNeXt-B 224x224 83.8 89M 15.4G model
ConvNeXt-B 384x384 85.1 89M 45.0G model
ConvNeXt-L 224x224 84.3 198M 34.4G model
ConvNeXt-L 384x384 85.5 198M 101.0G model

ImageNet-22K trained models

name resolution acc@1 #params FLOPs 22k model 1k model
ConvNeXt-T 224x224 82.9 29M 4.5G model model
ConvNeXt-T 384x384 84.1 29M 13.1G - model
ConvNeXt-S 224x224 84.6 50M 8.7G model model
ConvNeXt-S 384x384 85.8 50M 25.5G - model
ConvNeXt-B 224x224 85.8 89M 15.4G model model
ConvNeXt-B 384x384 86.8 89M 47.0G - model
ConvNeXt-L 224x224 86.6 198M 34.4G model model
ConvNeXt-L 384x384 87.5 198M 101.0G - model
ConvNeXt-XL 224x224 87.0 350M 60.9G model model
ConvNeXt-XL 384x384 87.8 350M 179.0G - model

ImageNet-1K trained models (isotropic)

name resolution acc@1 #params FLOPs model
ConvNeXt-S 224x224 78.7 22M 4.3G model
ConvNeXt-B 224x224 82.0 87M 16.9G model
ConvNeXt-L 224x224 82.6 306M 59.7G model

Installation

Please check INSTALL.md for installation instructions.

Evaluation

We give an example evaluation command for a ImageNet-22K pre-trained, then ImageNet-1K fine-tuned ConvNeXt-B:

Single-GPU

python main.py --model convnext_base --eval true \
--resume https://dl.fbaipublicfiles.com/convnext/convnext_base_22k_1k_224.pth \
--input_size 224 --drop_path 0.2 \
--data_path /path/to/imagenet-1k

Multi-GPU

python -m torch.distributed.launch --nproc_per_node=8 main.py \
--model convnext_base --eval true \
--resume https://dl.fbaipublicfiles.com/convnext/convnext_base_22k_1k_224.pth \
--input_size 224 --drop_path 0.2 \
--data_path /path/to/imagenet-1k

This should give

* Acc@1 85.820 Acc@5 97.868 loss 0.563
  • For evaluating other model variants, change --model, --resume, --input_size accordingly. You can get the url to pre-trained models from the tables above.
  • Setting model-specific --drop_path is not strictly required in evaluation, as the DropPath module in timm behaves the same during evaluation; but it is required in training. See TRAINING.md or our paper for the values used for different models.

Training

See TRAINING.md for training and fine-tuning instructions.

Acknowledgement

This repository is built using the timm library, DeiT and BEiT repositories.

License

This project is released under the MIT license. Please see the LICENSE file for more information.

Citation

If you find this repository helpful, please consider citing:

@Article{liu2022convnet,
  author  = {Zhuang Liu and Hanzi Mao and Chao-Yuan Wu and Christoph Feichtenhofer and Trevor Darrell and Saining Xie},
  title   = {A ConvNet for the 2020s},
  journal = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year    = {2022},
}
排名相邻
同类项目