Commit
·
3ac251c
1
Parent(s):
f59d92e
Training in progress, epoch 0
Browse files- config.json +115 -0
- preprocessor_config.json +27 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/dinov2-base",
|
| 3 |
+
"_out_features": [
|
| 4 |
+
"stage12"
|
| 5 |
+
],
|
| 6 |
+
"_out_indices": [
|
| 7 |
+
12
|
| 8 |
+
],
|
| 9 |
+
"apply_layernorm": true,
|
| 10 |
+
"architectures": [
|
| 11 |
+
"Dinov2ForImageClassification"
|
| 12 |
+
],
|
| 13 |
+
"attention_probs_dropout_prob": 0.0,
|
| 14 |
+
"drop_path_rate": 0.0,
|
| 15 |
+
"hidden_act": "gelu",
|
| 16 |
+
"hidden_dropout_prob": 0.0,
|
| 17 |
+
"hidden_size": 768,
|
| 18 |
+
"id2label": {
|
| 19 |
+
"0": "Basal Cell Carcinoma",
|
| 20 |
+
"1": "Darier_s Disease",
|
| 21 |
+
"2": "Epidermolysis Bullosa Pruriginosa",
|
| 22 |
+
"3": "Hailey-Hailey Disease",
|
| 23 |
+
"4": "Herpes Simplex",
|
| 24 |
+
"5": "Impetigo",
|
| 25 |
+
"6": "Larva Migrans",
|
| 26 |
+
"7": "Leprosy Borderline",
|
| 27 |
+
"8": "Leprosy Lepromatous",
|
| 28 |
+
"9": "Leprosy Tuberculoid",
|
| 29 |
+
"10": "Lichen Planus",
|
| 30 |
+
"11": "Lupus Erythematosus Chronicus Discoides",
|
| 31 |
+
"12": "Melanoma",
|
| 32 |
+
"13": "Molluscum Contagiosum",
|
| 33 |
+
"14": "Mycosis Fungoides",
|
| 34 |
+
"15": "Neurofibromatosis",
|
| 35 |
+
"16": "Papilomatosis Confluentes And Reticulate",
|
| 36 |
+
"17": "Pediculosis Capitis",
|
| 37 |
+
"18": "Pityriasis Rosea",
|
| 38 |
+
"19": "Porokeratosis Actinic",
|
| 39 |
+
"20": "Psoriasis",
|
| 40 |
+
"21": "Tinea Corporis",
|
| 41 |
+
"22": "Tinea Nigra",
|
| 42 |
+
"23": "Tungiasis",
|
| 43 |
+
"24": "actinic keratosis",
|
| 44 |
+
"25": "dermatofibroma",
|
| 45 |
+
"26": "nevus",
|
| 46 |
+
"27": "pigmented benign keratosis",
|
| 47 |
+
"28": "seborrheic keratosis",
|
| 48 |
+
"29": "squamous cell carcinoma",
|
| 49 |
+
"30": "vascular lesion"
|
| 50 |
+
},
|
| 51 |
+
"image_size": 518,
|
| 52 |
+
"initializer_range": 0.02,
|
| 53 |
+
"label2id": {
|
| 54 |
+
"Basal Cell Carcinoma": 0,
|
| 55 |
+
"Darier_s Disease": 1,
|
| 56 |
+
"Epidermolysis Bullosa Pruriginosa": 2,
|
| 57 |
+
"Hailey-Hailey Disease": 3,
|
| 58 |
+
"Herpes Simplex": 4,
|
| 59 |
+
"Impetigo": 5,
|
| 60 |
+
"Larva Migrans": 6,
|
| 61 |
+
"Leprosy Borderline": 7,
|
| 62 |
+
"Leprosy Lepromatous": 8,
|
| 63 |
+
"Leprosy Tuberculoid": 9,
|
| 64 |
+
"Lichen Planus": 10,
|
| 65 |
+
"Lupus Erythematosus Chronicus Discoides": 11,
|
| 66 |
+
"Melanoma": 12,
|
| 67 |
+
"Molluscum Contagiosum": 13,
|
| 68 |
+
"Mycosis Fungoides": 14,
|
| 69 |
+
"Neurofibromatosis": 15,
|
| 70 |
+
"Papilomatosis Confluentes And Reticulate": 16,
|
| 71 |
+
"Pediculosis Capitis": 17,
|
| 72 |
+
"Pityriasis Rosea": 18,
|
| 73 |
+
"Porokeratosis Actinic": 19,
|
| 74 |
+
"Psoriasis": 20,
|
| 75 |
+
"Tinea Corporis": 21,
|
| 76 |
+
"Tinea Nigra": 22,
|
| 77 |
+
"Tungiasis": 23,
|
| 78 |
+
"actinic keratosis": 24,
|
| 79 |
+
"dermatofibroma": 25,
|
| 80 |
+
"nevus": 26,
|
| 81 |
+
"pigmented benign keratosis": 27,
|
| 82 |
+
"seborrheic keratosis": 28,
|
| 83 |
+
"squamous cell carcinoma": 29,
|
| 84 |
+
"vascular lesion": 30
|
| 85 |
+
},
|
| 86 |
+
"layer_norm_eps": 1e-06,
|
| 87 |
+
"layerscale_value": 1.0,
|
| 88 |
+
"mlp_ratio": 4,
|
| 89 |
+
"model_type": "dinov2",
|
| 90 |
+
"num_attention_heads": 12,
|
| 91 |
+
"num_channels": 3,
|
| 92 |
+
"num_hidden_layers": 12,
|
| 93 |
+
"patch_size": 14,
|
| 94 |
+
"problem_type": "single_label_classification",
|
| 95 |
+
"qkv_bias": true,
|
| 96 |
+
"reshape_hidden_states": true,
|
| 97 |
+
"stage_names": [
|
| 98 |
+
"stem",
|
| 99 |
+
"stage1",
|
| 100 |
+
"stage2",
|
| 101 |
+
"stage3",
|
| 102 |
+
"stage4",
|
| 103 |
+
"stage5",
|
| 104 |
+
"stage6",
|
| 105 |
+
"stage7",
|
| 106 |
+
"stage8",
|
| 107 |
+
"stage9",
|
| 108 |
+
"stage10",
|
| 109 |
+
"stage11",
|
| 110 |
+
"stage12"
|
| 111 |
+
],
|
| 112 |
+
"torch_dtype": "float32",
|
| 113 |
+
"transformers_version": "4.33.2",
|
| 114 |
+
"use_swiglu_ffn": false
|
| 115 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.485,
|
| 13 |
+
0.456,
|
| 14 |
+
0.406
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "BitImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.229,
|
| 19 |
+
0.224,
|
| 20 |
+
0.225
|
| 21 |
+
],
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"shortest_edge": 256
|
| 26 |
+
}
|
| 27 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5133fdc78fc09be26c7e955217c0427be9536945a3af9b4c764adf0d08f63a2
|
| 3 |
+
size 346588561
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b2b484fa89a3cead3687159d82cc4592d990c2cb1f158afbd72898da2c04491
|
| 3 |
+
size 4091
|