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
- Xet hash:
- bcc15ce4aca3b7c8cd6c1be045add4a2232521825caab408aa70d50a76cfbe87
- Size of remote file:
- 247 MB
- SHA256:
- 71e183d11db0c6b6282a4d9e0abb74125edc8692393e89ed8ee5571005f35cb1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.