Instructions to use Pro-Coder/skin-condition-unified-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pro-Coder/skin-condition-unified-v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Pro-Coder/skin-condition-unified-v3") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Pro-Coder/skin-condition-unified-v3") model = AutoModelForImageClassification.from_pretrained("Pro-Coder/skin-condition-unified-v3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Pro-Coder/skin-condition-unified-v3: direct link, hf CLI and curl.
- Browser
- Download file 3.09 kB
-
https://huggingface.co/Pro-Coder/skin-condition-unified-v3/resolve/main/config.json
- Command line
-
hf download hf://Pro-Coder/skin-condition-unified-v3/config.json
-
curl -L -o config.json https://huggingface.co/Pro-Coder/skin-condition-unified-v3/resolve/main/config.json
3.09 kB
| { | |
| "architectures": [ | |
| "ConvNextForImageClassification" | |
| ], | |
| "depths": [ | |
| 3, | |
| 3, | |
| 27, | |
| 3 | |
| ], | |
| "drop_path_rate": 0.2, | |
| "dtype": "float32", | |
| "hidden_act": "gelu", | |
| "hidden_sizes": [ | |
| 128, | |
| 256, | |
| 512, | |
| 1024 | |
| ], | |
| "id2label": { | |
| "0": "Acne and Rosacea Photos", | |
| "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": "Vascular Tumors", | |
| "19": "Vasculitis Photos", | |
| "20": "Warts Molluscum and other Viral Infections", | |
| "21": "Melanoma (dermatoscopic, HAM10000)", | |
| "22": "Melanocytic Nevi (dermatoscopic, HAM10000)", | |
| "23": "Actinic Keratosis (dermatoscopic, HAM10000)", | |
| "24": "Basal Cell Carcinoma (dermatoscopic, HAM10000)" | |
| }, | |
| "image_size": 224, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "Acne and Rosacea Photos": 0, | |
| "Actinic Keratosis (dermatoscopic, HAM10000)": 23, | |
| "Atopic Dermatitis Photos": 1, | |
| "Basal Cell Carcinoma (dermatoscopic, HAM10000)": 24, | |
| "Bullous Disease Photos": 2, | |
| "Cellulitis Impetigo and other Bacterial Infections": 3, | |
| "Eczema Photos": 4, | |
| "Exanthems and Drug Eruptions": 5, | |
| "Hair Loss Photos Alopecia and other Hair Diseases": 6, | |
| "Herpes HPV and other STDs Photos": 7, | |
| "Light Diseases and Disorders of Pigmentation": 8, | |
| "Lupus and other Connective Tissue diseases": 9, | |
| "Melanocytic Nevi (dermatoscopic, HAM10000)": 22, | |
| "Melanoma (dermatoscopic, HAM10000)": 21, | |
| "Nail Fungus and other Nail Disease": 10, | |
| "Poison Ivy Photos and other Contact Dermatitis": 11, | |
| "Psoriasis pictures Lichen Planus and related diseases": 12, | |
| "Scabies Lyme Disease and other Infestations and Bites": 13, | |
| "Seborrheic Keratoses and other Benign Tumors": 14, | |
| "Systemic Disease": 15, | |
| "Tinea Ringworm Candidiasis and other Fungal Infections": 16, | |
| "Urticaria Hives": 17, | |
| "Vascular Tumors": 18, | |
| "Vasculitis Photos": 19, | |
| "Warts Molluscum and other Viral Infections": 20 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "layer_scale_init_value": 1e-06, | |
| "model_type": "convnext", | |
| "num_channels": 3, | |
| "num_stages": 4, | |
| "out_features": [ | |
| "stage4" | |
| ], | |
| "out_indices": [ | |
| 4 | |
| ], | |
| "patch_size": 4, | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "transformers_version": "5.23.0", | |
| "use_cache": false | |
| } | |