Instructions to use Tharun007/vit-enhanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Tharun007/vit-enhanced with PEFT:
Task type is invalid.
- Transformers
How to use Tharun007/vit-enhanced with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Tharun007/vit-enhanced", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Tharun007/vit-enhanced: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/Tharun007/vit-enhanced/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Tharun007/vit-enhanced/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Tharun007/vit-enhanced/resolve/main/preprocessor_config.json
598 Bytes
| { | |
| "crop_size": null, | |
| "data_format": "channels_first", | |
| "default_to_square": true, | |
| "device": null, | |
| "disable_grouping": null, | |
| "do_center_crop": null, | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "ViTImageProcessorFast", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "input_data_format": null, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_tensors": null, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| } | |
| } | |