Instructions to use hcarrion/glomangioma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hcarrion/glomangioma with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("hcarrion/glomangioma") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
cgDDI: Controllable Generation of Diverse Dermatological Imagery
This repository contains a disease-conditioned LoRA checkpoint from cgDDI (Controllable Generation of Diverse Dermatological Imagery), a hybrid framework designed for fair and efficient malignancy classification.
For more details, please refer to the paper: Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification.
Resources
- Repository: GitHub - ControllableGenDDI
- Dataset: 🤗 hcarrion/ControllableGenDDI Dataset
Method Description
cgDDI is a hybrid framework designed to address the systematic lack of expertly annotated images in dermatology, especially for underrepresented skin tones and rare diseases. It operates by:
- Synthesizing realistic healthy skin samples without disturbing other input properties.
- Mapping single-sample rare lesions onto novel skin-tones and locations non-parametrically.
- Allowing for efficient parametric generation with as few as 10 training samples via Textual Inversion and LoRA adapters.
For more details on the training and generation pipeline, please refer to the official GitHub repository.
Citation
@inproceedings{carrion2026cgddi,
title = {Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification},
author = {Carri{\'o}n, H{\'e}ctor and Norouzi, Narges},
booktitle = {Medical Image Computing and Computer-Assisted Intervention (MICCAI)},
year = {2026},
publisher = {Springer},
series = {Lecture Notes in Computer Science}
}
- Downloads last month
- -