Spaces:
Sleeping
Sleeping
Uploaded models
Browse files
final_model/config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Acne and Rosacea Photos",
|
13 |
+
"1": "Actinic Keratosis Basal Cell Carcinoma and other Malignant Lesions",
|
14 |
+
"2": "Atopic Dermatitis Photos",
|
15 |
+
"3": "Bullous Disease Photos",
|
16 |
+
"4": "Cellulitis Impetigo and other Bacterial Infections",
|
17 |
+
"5": "Eczema Photos",
|
18 |
+
"6": "Exanthems and Drug Eruptions",
|
19 |
+
"7": "Hair Loss Photos Alopecia and other Hair Diseases",
|
20 |
+
"8": "Herpes HPV and other STDs Photos",
|
21 |
+
"9": "Light Diseases and Disorders of Pigmentation",
|
22 |
+
"10": "Lupus and other Connective Tissue diseases",
|
23 |
+
"11": "Melanoma Skin Cancer Nevi and Moles",
|
24 |
+
"12": "Nail Fungus and other Nail Disease",
|
25 |
+
"13": "Poison Ivy Photos and other Contact Dermatitis",
|
26 |
+
"14": "Psoriasis pictures Lichen Planus and related diseases",
|
27 |
+
"15": "Scabies Lyme Disease and other Infestations and Bites",
|
28 |
+
"16": "Seborrheic Keratoses and other Benign Tumors",
|
29 |
+
"17": "Systemic Disease",
|
30 |
+
"18": "Tinea Ringworm Candidiasis and other Fungal Infections",
|
31 |
+
"19": "Urticaria Hives",
|
32 |
+
"20": "Vascular Tumors",
|
33 |
+
"21": "Vasculitis Photos",
|
34 |
+
"22": "Warts Molluscum and other Viral Infections"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"Acne and Rosacea Photos": 0,
|
41 |
+
"Actinic Keratosis Basal Cell Carcinoma and other Malignant Lesions": 1,
|
42 |
+
"Atopic Dermatitis Photos": 2,
|
43 |
+
"Bullous Disease Photos": 3,
|
44 |
+
"Cellulitis Impetigo and other Bacterial Infections": 4,
|
45 |
+
"Eczema Photos": 5,
|
46 |
+
"Exanthems and Drug Eruptions": 6,
|
47 |
+
"Hair Loss Photos Alopecia and other Hair Diseases": 7,
|
48 |
+
"Herpes HPV and other STDs Photos": 8,
|
49 |
+
"Light Diseases and Disorders of Pigmentation": 9,
|
50 |
+
"Lupus and other Connective Tissue diseases": 10,
|
51 |
+
"Melanoma Skin Cancer Nevi and Moles": 11,
|
52 |
+
"Nail Fungus and other Nail Disease": 12,
|
53 |
+
"Poison Ivy Photos and other Contact Dermatitis": 13,
|
54 |
+
"Psoriasis pictures Lichen Planus and related diseases": 14,
|
55 |
+
"Scabies Lyme Disease and other Infestations and Bites": 15,
|
56 |
+
"Seborrheic Keratoses and other Benign Tumors": 16,
|
57 |
+
"Systemic Disease": 17,
|
58 |
+
"Tinea Ringworm Candidiasis and other Fungal Infections": 18,
|
59 |
+
"Urticaria Hives": 19,
|
60 |
+
"Vascular Tumors": 20,
|
61 |
+
"Vasculitis Photos": 21,
|
62 |
+
"Warts Molluscum and other Viral Infections": 22
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-12,
|
65 |
+
"model_type": "vit",
|
66 |
+
"num_attention_heads": 12,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"patch_size": 16,
|
70 |
+
"qkv_bias": true,
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.49.0"
|
73 |
+
}
|
final_model/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bd7406941b26fdd10fe339dc76fef172a5c4e0c44c7fcf0d3f03166b0af280a
|
3 |
+
size 343288572
|
final_model/preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": null,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
final_model/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70e2b0c3c4325c6b720d446d2b3dca9bc2e02592e21ffb96e02802f504a0c9c5
|
3 |
+
size 5713
|