Instructions to use parlange/deit-autoscan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use parlange/deit-autoscan with timm:
import timm model = timm.create_model("hf-hub:parlange/deit-autoscan", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from parlange/deit-autoscan: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/parlange/deit-autoscan/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://parlange/deit-autoscan/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/parlange/deit-autoscan/resolve/main/preprocessor_config.json
213 Bytes
| { | |
| "do_resize": true, | |
| "size": 224, | |
| "resample": 2, | |
| "do_center_crop": true, | |
| "crop_size": 224, | |
| "do_normalize": true, | |
| "image_mean": [0.485, 0.456, 0.406], | |
| "image_std": [0.229, 0.224, 0.225] | |
| } | |