skin-conditions / config.json
youngp5's picture
Upload folder using huggingface_hub
7feb01e
raw
history blame
2.76 kB
{
"_name_or_path": "google/vit-base-patch16-224-in21k",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "Acne and Rosacea Photos",
"1": "Actinic Keratosis Basal Cell Carcinoma and other Malignant Lesions",
"10": "Lupus and other Connective Tissue diseases",
"11": "Nail Fungus and other Nail Disease",
"12": "Poison Ivy Photos and other Contact Dermatitis",
"13": "Psoriasis pictures Lichen Planus and related diseases",
"14": "Scabies Lyme Disease and other Infestations and Bites",
"15": "Seborrheic Keratoses and other Benign Tumors",
"16": "Systemic Disease",
"17": "Tinea Ringworm Candidiasis and other Fungal Infections",
"18": "Urticaria Hives",
"19": "Vasculitis Photos",
"2": "Atopic Dermatitis Photos",
"20": "Warts Molluscum and other Viral Infections",
"3": "Bullous Disease Photos",
"4": "Cellulitis Impetigo and other Bacterial Infections",
"5": "Eczema Photos",
"6": "Exanthems and Drug Eruptions",
"7": "Hair Loss Photos Alopecia and other Hair Diseases",
"8": "Herpes HPV and other STDs Photos",
"9": "Light Diseases and Disorders of Pigmentation"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Acne and Rosacea Photos": "0",
"Actinic Keratosis Basal Cell Carcinoma and other Malignant Lesions": "1",
"Atopic Dermatitis Photos": "2",
"Bullous Disease Photos": "3",
"Cellulitis Impetigo and other Bacterial Infections": "4",
"Eczema Photos": "5",
"Exanthems and Drug Eruptions": "6",
"Hair Loss Photos Alopecia and other Hair Diseases": "7",
"Herpes HPV and other STDs Photos": "8",
"Light Diseases and Disorders of Pigmentation": "9",
"Lupus and other Connective Tissue diseases": "10",
"Nail Fungus and other Nail Disease": "11",
"Poison Ivy Photos and other Contact Dermatitis": "12",
"Psoriasis pictures Lichen Planus and related diseases": "13",
"Scabies Lyme Disease and other Infestations and Bites": "14",
"Seborrheic Keratoses and other Benign Tumors": "15",
"Systemic Disease": "16",
"Tinea Ringworm Candidiasis and other Fungal Infections": "17",
"Urticaria Hives": "18",
"Vasculitis Photos": "19",
"Warts Molluscum and other Viral Infections": "20"
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 16,
"problem_type": "single_label_classification",
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.30.2"
}