Jayanth2002
commited on
Commit
•
842c74f
1
Parent(s):
ae26f22
Training in progress, epoch 0
Browse files- config.json +119 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-base-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
18,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 128,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
+
"id2label": {
|
20 |
+
"0": "Basal Cell Carcinoma",
|
21 |
+
"1": "Darier_s Disease",
|
22 |
+
"2": "Epidermolysis Bullosa Pruriginosa",
|
23 |
+
"3": "Hailey-Hailey Disease",
|
24 |
+
"4": "Herpes Simplex",
|
25 |
+
"5": "Impetigo",
|
26 |
+
"6": "Larva Migrans",
|
27 |
+
"7": "Leprosy Borderline",
|
28 |
+
"8": "Leprosy Lepromatous",
|
29 |
+
"9": "Leprosy Tuberculoid",
|
30 |
+
"10": "Lichen Planus",
|
31 |
+
"11": "Lupus Erythematosus Chronicus Discoides",
|
32 |
+
"12": "Melanoma",
|
33 |
+
"13": "Molluscum Contagiosum",
|
34 |
+
"14": "Mycosis Fungoides",
|
35 |
+
"15": "Neurofibromatosis",
|
36 |
+
"16": "Papilomatosis Confluentes And Reticulate",
|
37 |
+
"17": "Pediculosis Capitis",
|
38 |
+
"18": "Pityriasis Rosea",
|
39 |
+
"19": "Porokeratosis Actinic",
|
40 |
+
"20": "Psoriasis",
|
41 |
+
"21": "Tinea Corporis",
|
42 |
+
"22": "Tinea Nigra",
|
43 |
+
"23": "Tungiasis",
|
44 |
+
"24": "actinic keratosis",
|
45 |
+
"25": "dermatofibroma",
|
46 |
+
"26": "nevus",
|
47 |
+
"27": "pigmented benign keratosis",
|
48 |
+
"28": "seborrheic keratosis",
|
49 |
+
"29": "squamous cell carcinoma",
|
50 |
+
"30": "vascular lesion"
|
51 |
+
},
|
52 |
+
"image_size": 224,
|
53 |
+
"initializer_range": 0.02,
|
54 |
+
"label2id": {
|
55 |
+
"Basal Cell Carcinoma": 0,
|
56 |
+
"Darier_s Disease": 1,
|
57 |
+
"Epidermolysis Bullosa Pruriginosa": 2,
|
58 |
+
"Hailey-Hailey Disease": 3,
|
59 |
+
"Herpes Simplex": 4,
|
60 |
+
"Impetigo": 5,
|
61 |
+
"Larva Migrans": 6,
|
62 |
+
"Leprosy Borderline": 7,
|
63 |
+
"Leprosy Lepromatous": 8,
|
64 |
+
"Leprosy Tuberculoid": 9,
|
65 |
+
"Lichen Planus": 10,
|
66 |
+
"Lupus Erythematosus Chronicus Discoides": 11,
|
67 |
+
"Melanoma": 12,
|
68 |
+
"Molluscum Contagiosum": 13,
|
69 |
+
"Mycosis Fungoides": 14,
|
70 |
+
"Neurofibromatosis": 15,
|
71 |
+
"Papilomatosis Confluentes And Reticulate": 16,
|
72 |
+
"Pediculosis Capitis": 17,
|
73 |
+
"Pityriasis Rosea": 18,
|
74 |
+
"Porokeratosis Actinic": 19,
|
75 |
+
"Psoriasis": 20,
|
76 |
+
"Tinea Corporis": 21,
|
77 |
+
"Tinea Nigra": 22,
|
78 |
+
"Tungiasis": 23,
|
79 |
+
"actinic keratosis": 24,
|
80 |
+
"dermatofibroma": 25,
|
81 |
+
"nevus": 26,
|
82 |
+
"pigmented benign keratosis": 27,
|
83 |
+
"seborrheic keratosis": 28,
|
84 |
+
"squamous cell carcinoma": 29,
|
85 |
+
"vascular lesion": 30
|
86 |
+
},
|
87 |
+
"layer_norm_eps": 1e-05,
|
88 |
+
"mlp_ratio": 4.0,
|
89 |
+
"model_type": "swin",
|
90 |
+
"num_channels": 3,
|
91 |
+
"num_heads": [
|
92 |
+
4,
|
93 |
+
8,
|
94 |
+
16,
|
95 |
+
32
|
96 |
+
],
|
97 |
+
"num_layers": 4,
|
98 |
+
"out_features": [
|
99 |
+
"stage4"
|
100 |
+
],
|
101 |
+
"out_indices": [
|
102 |
+
4
|
103 |
+
],
|
104 |
+
"patch_size": 4,
|
105 |
+
"path_norm": true,
|
106 |
+
"problem_type": "single_label_classification",
|
107 |
+
"qkv_bias": true,
|
108 |
+
"stage_names": [
|
109 |
+
"stem",
|
110 |
+
"stage1",
|
111 |
+
"stage2",
|
112 |
+
"stage3",
|
113 |
+
"stage4"
|
114 |
+
],
|
115 |
+
"torch_dtype": "float32",
|
116 |
+
"transformers_version": "4.33.2",
|
117 |
+
"use_absolute_embeddings": false,
|
118 |
+
"window_size": 7
|
119 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c12b52c6e223c1338a0e9433b573399df0fa30913b6567754e6cdffbcf445c21
|
3 |
+
size 347718673
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:755d8098f74bc708d1640546c50127f8374b4ce5ce3251330c069c50bb1ab066
|
3 |
+
size 4155
|