File size: 2,924 Bytes
8722d3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
  "_name_or_path": "facebook/dinov2-base",
  "apply_layernorm": true,
  "architectures": [
    "Dinov2ForImageClassification"
  ],
  "attention_probs_dropout_prob": 0.0,
  "drop_path_rate": 0.0,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.0,
  "hidden_size": 768,
  "id2label": {
    "0": "Basal Cell Carcinoma",
    "1": "Darier_s Disease",
    "2": "Epidermolysis Bullosa Pruriginosa",
    "3": "Hailey-Hailey Disease",
    "4": "Herpes Simplex",
    "5": "Impetigo",
    "6": "Larva Migrans",
    "7": "Leprosy Borderline",
    "8": "Leprosy Lepromatous",
    "9": "Leprosy Tuberculoid",
    "10": "Lichen Planus",
    "11": "Lupus Erythematosus Chronicus Discoides",
    "12": "Melanoma",
    "13": "Molluscum Contagiosum",
    "14": "Mycosis Fungoides",
    "15": "Neurofibromatosis",
    "16": "Papilomatosis Confluentes And Reticulate",
    "17": "Pediculosis Capitis",
    "18": "Pityriasis Rosea",
    "19": "Porokeratosis Actinic",
    "20": "Psoriasis",
    "21": "Tinea Corporis",
    "22": "Tinea Nigra",
    "23": "Tungiasis",
    "24": "actinic keratosis",
    "25": "dermatofibroma",
    "26": "nevus",
    "27": "pigmented benign keratosis",
    "28": "seborrheic keratosis",
    "29": "squamous cell carcinoma",
    "30": "vascular lesion"
  },
  "image_size": 518,
  "initializer_range": 0.02,
  "label2id": {
    "Basal Cell Carcinoma": 0,
    "Darier_s Disease": 1,
    "Epidermolysis Bullosa Pruriginosa": 2,
    "Hailey-Hailey Disease": 3,
    "Herpes Simplex": 4,
    "Impetigo": 5,
    "Larva Migrans": 6,
    "Leprosy Borderline": 7,
    "Leprosy Lepromatous": 8,
    "Leprosy Tuberculoid": 9,
    "Lichen Planus": 10,
    "Lupus Erythematosus Chronicus Discoides": 11,
    "Melanoma": 12,
    "Molluscum Contagiosum": 13,
    "Mycosis Fungoides": 14,
    "Neurofibromatosis": 15,
    "Papilomatosis Confluentes And Reticulate": 16,
    "Pediculosis Capitis": 17,
    "Pityriasis Rosea": 18,
    "Porokeratosis Actinic": 19,
    "Psoriasis": 20,
    "Tinea Corporis": 21,
    "Tinea Nigra": 22,
    "Tungiasis": 23,
    "actinic keratosis": 24,
    "dermatofibroma": 25,
    "nevus": 26,
    "pigmented benign keratosis": 27,
    "seborrheic keratosis": 28,
    "squamous cell carcinoma": 29,
    "vascular lesion": 30
  },
  "layer_norm_eps": 1e-06,
  "layerscale_value": 1.0,
  "mlp_ratio": 4,
  "model_type": "dinov2",
  "num_attention_heads": 12,
  "num_channels": 3,
  "num_hidden_layers": 12,
  "out_features": [
    "stage12"
  ],
  "out_indices": [
    12
  ],
  "patch_size": 14,
  "problem_type": "single_label_classification",
  "qkv_bias": true,
  "reshape_hidden_states": true,
  "stage_names": [
    "stem",
    "stage1",
    "stage2",
    "stage3",
    "stage4",
    "stage5",
    "stage6",
    "stage7",
    "stage8",
    "stage9",
    "stage10",
    "stage11",
    "stage12"
  ],
  "torch_dtype": "float32",
  "transformers_version": "4.46.2",
  "use_swiglu_ffn": false
}