{ "_name_or_path": "microsoft/swin-base-patch4-window7-224", "architectures": [ "SwinForImageClassification" ], "attention_probs_dropout_prob": 0.0, "depths": [ 2, 2, 18, 2 ], "drop_path_rate": 0.1, "embed_dim": 128, "encoder_stride": 32, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 1024, "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": 224, "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-05, "mlp_ratio": 4.0, "model_type": "swin", "num_channels": 3, "num_heads": [ 4, 8, 16, 32 ], "num_layers": 4, "out_features": [ "stage4" ], "out_indices": [ 4 ], "patch_size": 4, "path_norm": true, "problem_type": "single_label_classification", "qkv_bias": true, "stage_names": [ "stem", "stage1", "stage2", "stage3", "stage4" ], "torch_dtype": "float32", "transformers_version": "4.33.2", "use_absolute_embeddings": false, "window_size": 7 }