Image Feature Extraction
Transformers
Safetensors
ironvit
feature-extraction
vision
vision-transformer
multi-teacher-distillation
image-classification
semantic-segmentation
depth-estimation
custom_code
Instructions to use IRONVIT/IronViT-Softmax-400M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IRONVIT/IronViT-Softmax-400M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="IRONVIT/IronViT-Softmax-400M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("IRONVIT/IronViT-Softmax-400M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from IRONVIT/IronViT-Softmax-400M: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/IRONVIT/IronViT-Softmax-400M/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://IRONVIT/IronViT-Softmax-400M/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/IRONVIT/IronViT-Softmax-400M/resolve/main/preprocessor_config.json
587 Bytes
| { | |
| "image_processor_type": "IronViTImageProcessor", | |
| "processor_class": "IronViTImageProcessor", | |
| "auto_map": { | |
| "AutoImageProcessor": "image_processing_ironvit.IronViTImageProcessor" | |
| }, | |
| "do_resize": true, | |
| "do_rescale": true, | |
| "do_normalize": true, | |
| "rescale_factor": 0.00392156862745098, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "resample": 3, | |
| "patch_size": 16, | |
| "temporal_patch_size": 2, | |
| "spatial_merge_size": 2, | |
| "in_channels": 3, | |
| "size": { | |
| "height": 384, | |
| "width": 384 | |
| }, | |
| "max_patches": 576 | |
| } |