The largest collection of PyTorch image encoders / backbones. Including train, eval, inference, export scripts, and pretrained weights -- ResNet, ResNeXT, EfficientNet, NFNet, Vision Transformer (ViT), MobileNetV4, MobileNet-V3 & V2, RegNet, DPN, CSPNet, Swin Transformer, MaxViT, CoAtNet, ConvNeXt, and more
COMMITS
/ validate.py December 1, 2025
R
Remove apex AMP use from scripts
Ross Wightman committed
September 4, 2025
R
f1/p/r -> 0..100 to match existing accuracy range
Ross Wightman committed
August 15, 2025
July 18, 2025
R
Fix model patch sizes != 16 in validate.py for naflex_loader use
Ross Wightman committed
July 3, 2025
G
Update no_grad usage to inference_mode if possible
GuillaumeErhard committed
June 19, 2025
April 25, 2025
January 28, 2025
R
Fix missing model key in bulk validate results on error
Ross Wightman committed
January 20, 2025
J
Fix metavar for --input-size
Josua Rieder committed
January 9, 2025
R
Avoid unecessary compat break btw train script and nearby timm versions w/ dtype addition.
Ross Wightman committed
January 7, 2025
R
Fix dtype log when default (None) is used w/o AMP
Ross Wightman committed
November 8, 2024
A
Add --dataset-trust-remote-code to the train.py and validate.py scripts
Augustin Godinot committed
October 18, 2024
R
Remove extra space
Ross Wightman committed
R
Merge branch 'MengqingCao-npu_support' into device_amp_cleanup
Ross Wightman committed
R
Cleanup some amp related behaviour to better support different (non-cuda) devices
Ross Wightman committed
October 17, 2024
M
fix device check
MengqingCao committed
October 16, 2024
M
add npu support
MengqingCao committed
October 2, 2024
R
Add --torchcompile-mode args to train, validation, inference, benchmark scripts
Ross Wightman committed
January 5, 2024
R
Significant transforms, dataset, dataloading enhancements.
Ross Wightman committed
August 23, 2023
June 1, 2023
L
Changed help_string of --worker
Lorenzo Baraldi committed
March 22, 2023
R
Improve filtering behaviour for tag + non-tagged model wildcard consistency.
Ross Wightman committed
March 18, 2023
R
Use gather (fancy indexing) for valid labels instead of bool mask in validate.py
Ross Wightman committed
January 6, 2023
December 9, 2022
R
Merge remote-tracking branch 'origin/main' into refactor-imports
Ross Wightman committed
L
Put validation loss under amp_autocast
Lorenzo Baraldi committed
December 6, 2022
December 2, 2022
November 22, 2022
October 14, 2022
R
Update validate.py to use updated amp args for impl/dtype
Ross Wightman committed
September 23, 2022
August 26, 2022
R
Add --fast-norm arg to benchmark.py, train.py, validate.py
Ross Wightman committed
August 1, 2022
R
jit trace comparisons snuck into torchscript part of validate.py, fixed
Ross Wightman committed
July 19, 2022
July 8, 2022
July 7, 2022
R
Add --aot-autograd (functorch efficient mem fusion) support to validate.py
Ross Wightman committed
May 24, 2022
Y
fix a function parameter typo(cropt_pct -> crop_pct)
Yonghye Kwon committed
January 26, 2022
January 24, 2022
January 17, 2022
R
Add --fuser arg to train/validate/benchmark scripts to select jit fuser type
Ross Wightman committed
January 15, 2022
R
Add ConvNeXt 22k->1k fine-tuned and 384 22k-1k fine-tuned weights after testing
Ross Wightman committed
November 10, 2021
R
Dataset work
Ross Wightman committed
October 6, 2021
R
Make test-pooling flag for validate.py opt in
Ross Wightman committed
September 23, 2021
R
Batch validate a list of files if model is a text file with model per line
Ross Wightman committed
April 17, 2021
R
Add _in22k to bulk validate filter
Ross Wightman committed
April 1, 2021
R
Merge remote-tracking branch 'origin/benchmark-fixes-vit_hybrids' into pit_and_vit_update
Ross Wightman committed
March 17, 2021
R
Support for huggingface hub via create_model and default_cfgs.
Ross Wightman committed
February 24, 2021