Upload Dinov2ForImageClassification
Browse files- config.json +67 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "C:\\Users\\surya\\Codes\\building-text\\data\\models\\dino\\checkpoint-1500",
|
| 3 |
+
"apply_layernorm": true,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"Dinov2ForImageClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_probs_dropout_prob": 0.0,
|
| 8 |
+
"drop_path_rate": 0.0,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.0,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "LABEL_0",
|
| 14 |
+
"1": "LABEL_1",
|
| 15 |
+
"2": "LABEL_2",
|
| 16 |
+
"3": "LABEL_3",
|
| 17 |
+
"4": "LABEL_4",
|
| 18 |
+
"5": "LABEL_5",
|
| 19 |
+
"6": "LABEL_6"
|
| 20 |
+
},
|
| 21 |
+
"image_size": 518,
|
| 22 |
+
"initializer_range": 0.02,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"LABEL_0": 0,
|
| 25 |
+
"LABEL_1": 1,
|
| 26 |
+
"LABEL_2": 2,
|
| 27 |
+
"LABEL_3": 3,
|
| 28 |
+
"LABEL_4": 4,
|
| 29 |
+
"LABEL_5": 5,
|
| 30 |
+
"LABEL_6": 6
|
| 31 |
+
},
|
| 32 |
+
"layer_norm_eps": 1e-06,
|
| 33 |
+
"layerscale_value": 1.0,
|
| 34 |
+
"mlp_ratio": 4,
|
| 35 |
+
"model_type": "dinov2",
|
| 36 |
+
"num_attention_heads": 12,
|
| 37 |
+
"num_channels": 3,
|
| 38 |
+
"num_hidden_layers": 12,
|
| 39 |
+
"out_features": [
|
| 40 |
+
"stage12"
|
| 41 |
+
],
|
| 42 |
+
"out_indices": [
|
| 43 |
+
12
|
| 44 |
+
],
|
| 45 |
+
"patch_size": 14,
|
| 46 |
+
"problem_type": "single_label_classification",
|
| 47 |
+
"qkv_bias": true,
|
| 48 |
+
"reshape_hidden_states": true,
|
| 49 |
+
"stage_names": [
|
| 50 |
+
"stem",
|
| 51 |
+
"stage1",
|
| 52 |
+
"stage2",
|
| 53 |
+
"stage3",
|
| 54 |
+
"stage4",
|
| 55 |
+
"stage5",
|
| 56 |
+
"stage6",
|
| 57 |
+
"stage7",
|
| 58 |
+
"stage8",
|
| 59 |
+
"stage9",
|
| 60 |
+
"stage10",
|
| 61 |
+
"stage11",
|
| 62 |
+
"stage12"
|
| 63 |
+
],
|
| 64 |
+
"torch_dtype": "float32",
|
| 65 |
+
"transformers_version": "4.36.0.dev0",
|
| 66 |
+
"use_swiglu_ffn": false
|
| 67 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9931144632761df0d3f2453b87b4de9d983bd067b2e2759a7de4bae6929158b
|
| 3 |
+
size 346390668
|