CoolFace
Modelpublic

jiayangshi/synchrotron_pixel_diffusion

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes2kdownloads
Model Card

Pixel Diffusion UNet โ€“ Real-world Synchrotron Dataset (DM4CT)

This repository contains the pretrained pixel-space diffusion UNet presented in the paper DM4CT: Benchmarking Diffusion Models for Computed Tomography Reconstruction.

๐Ÿ”— Project Page: https://dm4ct.github.io/DM4CT/ ๐Ÿ”— Arxiv: https://arxiv.org/abs/2602.18589 ๐Ÿ”— Codebase: https://github.com/DM4CT/DM4CT


๐Ÿ”ฌ Model Overview

This model learns a prior over CT reconstruction images using a denoising diffusion probabilistic model (DDPM). It operates directly in pixel space (not latent space).

  • โ€”Architecture: 2D UNet (Diffusers UNet2DModel)
  • โ€”Input resolution: 768 ร— 768
  • โ€”Channels: 1 (grayscale CT slice)
  • โ€”Training objective: ฮต-prediction (standard DDPM formulation)
  • โ€”Noise schedule: Linear beta schedule
  • โ€”Training dataset: Real-world Synchrotron Dataset of rocks
  • โ€”Intensity normalization: Rescaled to (-1, 1)

This model is intended to be combined with data-consistency correction for CT reconstruction.


๐Ÿ“Š Dataset: Real-world Synchrotron Dataset

Source: Zenodo

Preprocessing steps:

  • โ€”Train/test split
  • โ€”Rescale reconstructed slices to (-1, 1)
  • โ€”No geometry information is embedded in the model

The model learns an unconditional image prior over CT slices.


๐Ÿง  Training Details

  • โ€”Optimizer: AdamW
  • โ€”Learning rate: 1e-4
  • โ€”Hardware: NVIDIA A100 GPU
  • โ€”Training script: train_pixel.py

๐Ÿš€ Usage

You can use this model with the diffusers library as follows:

python
from diffusers import DDPMPipeline

# Load the pipeline
pipeline = DDPMPipeline.from_pretrained("jiayangshi/synchrotron_pixel_diffusion")

# Access the UNet model
model = pipeline.unet
model.eval()

Citation

bibtex
@inproceedings{
shi2026dmct,
title={{DM}4{CT}: Benchmarking Diffusion Models for Computed Tomography Reconstruction},
author={Shi, Jiayang and Pelt, Dani{\"e}l M and Batenburg, K Joost},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=YE5scJekg5}
}