Create config.json (#1)
Browse files- Create config.json (e35a5c292fcace1768ca25776a99f1946dd6464d)
- config.json +29 -0
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": {
|
| 3 |
+
"variant": "vit_small_patch16_384.augreg_in21k_ft_in1k",
|
| 4 |
+
"input_size": 384,
|
| 5 |
+
"patch_size": 16,
|
| 6 |
+
"freeze_backbone": false,
|
| 7 |
+
"hidden_dropout_prob": 0.0,
|
| 8 |
+
"hidden_size": 384,
|
| 9 |
+
"num_attention_heads": 6,
|
| 10 |
+
"num_hidden_layers": 12,
|
| 11 |
+
"attention_probs_dropout_prob": 0.0,
|
| 12 |
+
"layer_norm_eps": 1e-6,
|
| 13 |
+
"num_classes": 1,
|
| 14 |
+
"head": {
|
| 15 |
+
"in_features": 384,
|
| 16 |
+
"out_features": 1,
|
| 17 |
+
"bias": true
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"preprocessing": {
|
| 21 |
+
"norm_mean": [0.48145466, 0.4578275, 0.40821073],
|
| 22 |
+
"norm_std": [0.26862954, 0.26130258, 0.27577711],
|
| 23 |
+
"resize_size": 440,
|
| 24 |
+
"crop_size": 384
|
| 25 |
+
},
|
| 26 |
+
"device": "cuda",
|
| 27 |
+
"dtype": "float32",
|
| 28 |
+
"checkpoint_path": "pretrained_weights/model_v11_ViT_384_base_ckpt.pt"
|
| 29 |
+
}
|