Instructions to use 1aurent/vit_small_patch14_224.dinobloom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use 1aurent/vit_small_patch14_224.dinobloom with timm:
import timm model = timm.create_model("hf-hub:1aurent/vit_small_patch14_224.dinobloom", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +6 -3
config.json
CHANGED
|
@@ -3,16 +3,19 @@
|
|
| 3 |
"num_classes": 0,
|
| 4 |
"num_features": 384,
|
| 5 |
"global_pool": "token",
|
|
|
|
|
|
|
|
|
|
| 6 |
"pretrained_cfg": {
|
| 7 |
"tag": "lvd142m",
|
| 8 |
"custom_load": false,
|
| 9 |
"input_size": [
|
| 10 |
3,
|
| 11 |
-
|
| 12 |
-
|
| 13 |
],
|
| 14 |
"fixed_input_size": true,
|
| 15 |
-
"interpolation": "
|
| 16 |
"crop_pct": 1.0,
|
| 17 |
"crop_mode": "center",
|
| 18 |
"mean": [
|
|
|
|
| 3 |
"num_classes": 0,
|
| 4 |
"num_features": 384,
|
| 5 |
"global_pool": "token",
|
| 6 |
+
"model_args": {
|
| 7 |
+
"img_size": 224
|
| 8 |
+
},
|
| 9 |
"pretrained_cfg": {
|
| 10 |
"tag": "lvd142m",
|
| 11 |
"custom_load": false,
|
| 12 |
"input_size": [
|
| 13 |
3,
|
| 14 |
+
224,
|
| 15 |
+
224
|
| 16 |
],
|
| 17 |
"fixed_input_size": true,
|
| 18 |
+
"interpolation": "bilinear",
|
| 19 |
"crop_pct": 1.0,
|
| 20 |
"crop_mode": "center",
|
| 21 |
"mean": [
|