Update `preprocessor_config.json` and `config.json`
#2
by
alvarobartt
HF staff
- opened
- config.json +1 -0
- preprocessor_config.json +15 -0
config.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
{
|
2 |
"architecture": "vit_giant_patch14_reg4_dinov2",
|
|
|
3 |
"num_classes": 0,
|
4 |
"num_features": 1536,
|
5 |
"global_pool": "token",
|
|
|
1 |
{
|
2 |
"architecture": "vit_giant_patch14_reg4_dinov2",
|
3 |
+
"model_type": "dinov2",
|
4 |
"num_classes": 0,
|
5 |
"num_features": 1536,
|
6 |
"global_pool": "token",
|
preprocessor_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"image_mean": [
|
5 |
+
0.707223,
|
6 |
+
0.578729,
|
7 |
+
0.703617
|
8 |
+
],
|
9 |
+
"image_std": [
|
10 |
+
0.211883,
|
11 |
+
0.230117,
|
12 |
+
0.177517
|
13 |
+
],
|
14 |
+
"size": 224
|
15 |
+
}
|