Downloads · 30 days
3
13% of all-time downloads
benetraco/brain_ddpm_64
brain_ddpm_64 is a unconditional image generation model from benetraco. Use it for the unconditional image generation task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as mit.
This model is a diffusion-based model for unconditional image generation of brain MRI FLAIR slices of size 64x64 pixels. The model was trained using the DDPM architecture, with attention mechanisms in the middle of th…
Downloads · 30 days
3
13% of all-time downloads
All-time downloads
24
Public
Parameters
114M
909 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors455 MB · 100%
From the Hugging Face model README
This model is a diffusion-based model for unconditional image generation of brain MRI FLAIR slices of size 64x64 pixels.
The model was trained using the DDPM architecture, with attention mechanisms in the middle of the U-Net.
It is trained from scratch on a dataset of brain MRI slices, specifically designed for generating synthetic brain images.
1.0e-4You can use the model directly with the diffusers library:
from diffusers import DDPMPipeline
import torch
# Load the model
pipeline = DDPMPipeline.from_pretrained("benetraco/brain_ddpm_64")
pipeline.to("cuda") # or "cpu"
# Generate an image
image = pipeline(batch_size=1).images[0]
# Display the image
image.show()