Instructions to use onkarsus13/Semantic-Control-Stable-diffusion-3-M-Mask2CT-Atlas with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use onkarsus13/Semantic-Control-Stable-diffusion-3-M-Mask2CT-Atlas with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("onkarsus13/Semantic-Control-Stable-diffusion-3-M-Mask2CT-Atlas", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature80941ff -
Update README.md
Verified signaturedd969b6 -
Update README.md
Verified signaturec159640 -
Update README.md
Verified signature4d75ac0 -
added the model
6a767d1 -
Rename readme.MD to README.md
Verified signaturee039b96 -
Update readme.MD
Verified signature5b31167 -
Create readme.MD
Verified signaturebe56231 -
initial commit
Verified signature5e18566