Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
textual_inversion
Instructions to use hcarrion/hematoma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hcarrion/hematoma 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/hematoma") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Link model to cgDDI paper and codebase
#1
by nielsr HF Staff - opened
This PR updates the model card to document its relationship with the MICCAI 2026 paper Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification. It adds the proper library_name (diffusers) and pipeline_tag (text-to-image) metadata, as well as links to the paper and the official GitHub repository.
Merging - thanks for linking the paper!
hcarrion changed pull request status to merged