How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ramy21/MRI_BRAIN_SCAN2", dtype=torch.bfloat16, device_map="cuda")

prompt = "BTMS"
image = pipe(prompt).images[0]

DreamBooth trained by AutoTrain

Text encoder was trained.

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ramy21/MRI_BRAIN_SCAN2

Finetuned
(586)
this model