Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
textual_inversion
Instructions to use hcarrion/atopic_dermatitis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hcarrion/atopic_dermatitis with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_textual_inversion("hcarrion/atopic_dermatitis") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Improve model card, add paper and GitHub links
Browse filesThis PR improves the model card for this cgDDI checkpoint by:
- Linking it to the MICCAI 2026 paper: [Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification](https://huggingface.co/papers/2607.12987).
- Adding a link to the official GitHub repository: https://github.com/hectorcarrion/ControllableGenDDI.
- Defining `library_name: diffusers` and `pipeline_tag: text-to-image` in the YAML metadata to improve model discoverability.
- Describing the cgDDI framework and how this specific disease-conditioned adapter (atopic dermatitis) can be used.
README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
-
|
| 2 |
---
|
| 3 |
-
license: creativeml-openrail-m
|
| 4 |
base_model: stabilityai/stable-diffusion-2-1-base
|
|
|
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
- stable-diffusion
|
| 7 |
- stable-diffusion-diffusers
|
|
@@ -10,8 +11,37 @@ tags:
|
|
| 10 |
- textual_inversion
|
| 11 |
inference: true
|
| 12 |
---
|
| 13 |
-
|
| 14 |
-
# Textual inversion text2image fine-tuning - hcarrion/atopic_dermatitis
|
| 15 |
-
These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1-base. You can find some example images in the following.
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model: stabilityai/stable-diffusion-2-1-base
|
| 3 |
+
license: creativeml-openrail-m
|
| 4 |
+
library_name: diffusers
|
| 5 |
+
pipeline_tag: text-to-image
|
| 6 |
tags:
|
| 7 |
- stable-diffusion
|
| 8 |
- stable-diffusion-diffusers
|
|
|
|
| 11 |
- textual_inversion
|
| 12 |
inference: true
|
| 13 |
---
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
# cgDDI: Textual Inversion for Atopic Dermatitis
|
| 16 |
+
|
| 17 |
+
This repository contains the textual inversion adaptation weights for `atopic_dermatitis` (eczema), built on top of [stabilityai/stable-diffusion-2-1-base](https://huggingface.co/stabilityai/stable-diffusion-2-1-base).
|
| 18 |
+
|
| 19 |
+
These weights were developed as part of the paper:
|
| 20 |
+
**Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification (MICCAI 2026)**.
|
| 21 |
+
|
| 22 |
+
* **Paper:** [Hugging Face Paper Page](https://huggingface.co/papers/2607.12987)
|
| 23 |
+
* **Repository:** [GitHub - ControllableGenDDI](https://github.com/hectorcarrion/ControllableGenDDI)
|
| 24 |
+
* **Dataset:** [hcarrion/ControllableGenDDI Dataset](https://huggingface.co/datasets/hcarrion/ControllableGenDDI)
|
| 25 |
+
|
| 26 |
+
## About cgDDI
|
| 27 |
+
cgDDI (**C**ontrollable **G**eneration of **D**iverse **D**ermatological **I**magery) is a hybrid framework designed to address the equitable performance bottleneck in dermatological AI. It enables:
|
| 28 |
+
1. Synthesis of realistic healthy skin samples.
|
| 29 |
+
2. Non-parametric mapping of rare lesions onto novel skin-tones and locations.
|
| 30 |
+
3. Efficient parametric generation of diverse dermatological imagery using textual inversion.
|
| 31 |
+
|
| 32 |
+
This specific checkpoint can be used to generate synthetic images of **atopic dermatitis** for fair and robust machine learning model training.
|
| 33 |
+
|
| 34 |
+
## Citation
|
| 35 |
+
|
| 36 |
+
If you find cgDDI helpful in your research, please cite:
|
| 37 |
|
| 38 |
+
```bibtex
|
| 39 |
+
@inproceedings{carrion2026cgddi,
|
| 40 |
+
title = {Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification},
|
| 41 |
+
author = {Carri{\'o}n, H{\'e}ctor and Norouzi, Narges},
|
| 42 |
+
booktitle = {Medical Image Computing and Computer-Assisted Intervention (MICCAI)},
|
| 43 |
+
year = {2026},
|
| 44 |
+
publisher = {Springer},
|
| 45 |
+
series = {Lecture Notes in Computer Science}
|
| 46 |
+
}
|
| 47 |
+
```
|