Instructions to use JorgeAV/fastvit_t8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JorgeAV/fastvit_t8 with Transformers:
# Load model directly from transformers import FastViTForImageClassification model = FastViTForImageClassification.from_pretrained("JorgeAV/fastvit_t8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload preprocessor_config.json
Browse files- preprocessor_config.json +3 -3
preprocessor_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"crop_size": {
|
| 3 |
-
"height":
|
| 4 |
-
"width":
|
| 5 |
},
|
| 6 |
"do_center_crop": true,
|
| 7 |
"do_convert_rgb": true,
|
|
@@ -22,6 +22,6 @@
|
|
| 22 |
"resample": 3,
|
| 23 |
"rescale_factor": 0.00392156862745098,
|
| 24 |
"size": {
|
| 25 |
-
"shortest_edge":
|
| 26 |
}
|
| 27 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"crop_size": {
|
| 3 |
+
"height": 256,
|
| 4 |
+
"width": 256
|
| 5 |
},
|
| 6 |
"do_center_crop": true,
|
| 7 |
"do_convert_rgb": true,
|
|
|
|
| 22 |
"resample": 3,
|
| 23 |
"rescale_factor": 0.00392156862745098,
|
| 24 |
"size": {
|
| 25 |
+
"shortest_edge": 284
|
| 26 |
}
|
| 27 |
}
|