Downloads ยท 30 days
0
sebasmos/latent-sr-weights
latent-sr-weights is a image-to-image model from sebasmos. Use it when you need one image transformed into another. The card lists the license as mit.
Trained diffusion model checkpoints from the paper:
Downloads ยท 30 days
0
Access
Public
Updated Jul 8, 2026
Repo size
25.2 GB
Likes
0
Public
Click a slice to open those files.
.ckpt25.2 GB ยท 100%
From the Hugging Face model README
Trained diffusion model checkpoints from the paper:
"Domain-Specific Latent Representations Improve the Fidelity of Diffusion-Based Medical Image Super-Resolution"
Sebastian Cajas, Ashaba Judith, Rahul Gorijavolu, Sahil Kapadia, Hillary Clinton Kasimbazi, Leo Kinyera, Emmanuel Paul Kwesiga, Sri Sri Jaithra Varma Manthena, Luis Filipe Nakayama, Ninsiima Doreen, Leo Anthony Celi.
arXiv:2604.12152 (2026) โ under review at Nature Scientific Reports.๐ Paper: https://arxiv.org/abs/2604.12152
๐ป Code: https://github.com/sebasmos/latent-sr
These are the trained xโ-prediction latent diffusion model (LDM) weights for 4ร medical image super-resolution. Each checkpoint contains the diffusion UNet only โ the encoder/decoder VAE is not bundled here and is loaded separately at inference time (MedVAE, SD-VAE, and KL-f4 base weights are obtained from their original sources). This repository therefore contains only trained diffusion checkpoints, not pretrained base VAEs.
All models were trained with:
This repository holds 21 trained diffusion checkpoints: 7 latent geometries ร 3 datasets (BraTS 2023 brain MRI, MIMIC-CXR chest X-ray, MRNet knee MRI).
Note on metrics: the paper's super-resolution results were recomputed against true high-resolution references. To avoid publishing stale or uncertain per-checkpoint PSNR values, they are not tabulated here โ see the paper for the authoritative, reference-based numbers. Each checkpoint below is described by its VAE type, latent geometry, dataset, and experimental role.
| File | VAE (latent) | Dataset | Role |
|---|---|---|---|
medvae-4-3_brats.ckpt | MedVAE 4_3 (3ร64ร64) | BraTS 2023 brain MRI | Paper main result (domain-specific) |
medvae-4-3_cxr.ckpt | MedVAE 4_3 (3ร64ร64) | MIMIC-CXR chest X-ray | Paper main result (domain-specific) |
medvae-4-3_mrnet.ckpt | MedVAE 4_3 (3ร64ร64) | MRNet knee MRI | Paper main result (domain-specific) |
sdvae_brats.ckpt | SD-VAE (4ร32ร32) | BraTS 2023 | Baseline (natural-image SD-VAE) |
sdvae_cxr.ckpt | SD-VAE (4ร32ร32) | MIMIC-CXR | Baseline (natural-image SD-VAE) |
sdvae_mrnet.ckpt | SD-VAE (4ร32ร32) | MRNet | Baseline (natural-image SD-VAE) |
klf4_brats.ckpt | KL-f4 (3ร64ร64) | BraTS 2023 | Natural-image control (matched geometry) |
klf4_cxr.ckpt | KL-f4 (3ร64ร64) | MIMIC-CXR | Natural-image control (matched geometry) |
klf4_mrnet.ckpt | KL-f4 (3ร64ร64) | MRNet | Natural-image control (matched geometry) |
medvae-4-1_brats.ckpt | MedVAE 4_1 (1ร64ร64) | BraTS | Capacity control (1-channel) |
medvae-4-1_cxr.ckpt | MedVAE 4_1 (1ร64ร64) | MIMIC-CXR | Capacity control (1-channel) |
medvae-4-1_mrnet.ckpt | MedVAE 4_1 (1ร64ร64) | MRNet | Capacity control (1-channel) |
medvae-4-4_brats.ckpt | MedVAE 4_4 (4ร64ร64) | BraTS | Higher-capacity anchor (4-channel) |
medvae-4-4_cxr.ckpt | MedVAE 4_4 (4ร64ร64) | MIMIC-CXR | Higher-capacity anchor (4-channel) |
medvae-4-4_mrnet.ckpt | MedVAE 4_4 (4ร64ร64) | MRNet | Higher-capacity anchor (4-channel) |
medvae-8-1_brats.ckpt | MedVAE 8_1 (1ร32ร32) | BraTS | Capacity control (8ร downsample) |
medvae-8-1_cxr.ckpt | MedVAE 8_1 (1ร32ร32) | MIMIC-CXR | Capacity control (8ร downsample) |
medvae-8-1_mrnet.ckpt | MedVAE 8_1 (1ร32ร32) | MRNet | Capacity control (8ร downsample) |
medvae-8-4_brats.ckpt | MedVAE 8_4 (4ร32ร32) | BraTS | Domain-matched control (8ร downsample) |
medvae-8-4_cxr.ckpt | MedVAE 8_4 (4ร32ร32) | MIMIC-CXR | Domain-matched control (8ร downsample) |
medvae-8-4_mrnet.ckpt | MedVAE 8_4 (4ร32ร32) | MRNet | Domain-matched control (8ร downsample) |
Latent geometries. medvae-4-3 (3ร64ร64) is the domain-specific main result. klf4
(KL-f4, 3ร64ร64) is the natural-image VAE at the same latent geometry as the main result โ
the matched-geometry control isolating domain vs. geometry. sdvae (SD-VAE, 4ร32ร32) is the
natural-image baseline. The remaining medvae-4-1/4-4/8-1/8-4 checkpoints vary channel count
(1โ4) and downsampling factor (4รโ8ร) as capacity/geometry controls, with medvae-4-4
(4ร64ร64) serving as the higher-capacity anchor.
The base VAE encoders/decoders (MedVAE, SD-VAE, KL-f4) are not stored in this repo and are loaded separately at inference โ see the code repository.
from huggingface_hub import hf_hub_download
import torch
# Download the main MedVAE BraTS checkpoint
ckpt_path = hf_hub_download(
repo_id="sebasmos/latent-sr-weights",
filename="medvae-4-3_brats.ckpt"
)
state = torch.load(ckpt_path, map_location="cpu")
See the code repository for the full inference pipeline.
@article{cajas2026domain,
title = {Domain-Specific Latent Representations Improve the Fidelity of Diffusion-Based Medical Image Super-Resolution},
author = {{Sebastian Cajas} and {Ashaba Judith} and {Rahul Gorijavolu} and {Sahil Kapadia} and {Hillary Clinton Kasimbazi} and {Leo Kinyera} and {Emmanuel Paul Kwesiga} and {Sri Sri Jaithra Varma Manthena} and {Luis Filipe Nakayama} and {Ninsiima Doreen} and {Leo Anthony Celi}},
journal = {arXiv preprint arXiv:2604.12152},
year = {2026},
url = {https://arxiv.org/abs/2604.12152}
}
Code: https://github.com/sebasmos/latent-sr ยท Paper: https://arxiv.org/abs/2604.12152
MIT License. The pretrained VAE weights (MedVAE, SD-VAE) are subject to their respective licenses.