Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
20
29
brats_BraTS-GLI-00006-000_z00
brats_BraTS-GLI-00006-000_z01
brats_BraTS-GLI-00006-000_z02
brats_BraTS-GLI-00006-000_z03
brats_BraTS-GLI-00006-000_z04
brats_BraTS-GLI-00006-000_z05
brats_BraTS-GLI-00006-000_z06
brats_BraTS-GLI-00006-000_z07
brats_BraTS-GLI-00006-000_z08
brats_BraTS-GLI-00006-000_z09
brats_BraTS-GLI-00006-000_z10
brats_BraTS-GLI-00006-000_z11
brats_BraTS-GLI-00006-000_z12
brats_BraTS-GLI-00006-000_z13
brats_BraTS-GLI-00006-000_z14
brats_BraTS-GLI-00006-000_z15
brats_BraTS-GLI-00006-000_z16
brats_BraTS-GLI-00006-000_z17
brats_BraTS-GLI-00006-000_z18
brats_BraTS-GLI-00006-000_z19
brats_BraTS-GLI-00014-000_z00
brats_BraTS-GLI-00014-000_z01
brats_BraTS-GLI-00014-000_z02
brats_BraTS-GLI-00014-000_z03
brats_BraTS-GLI-00014-000_z04
brats_BraTS-GLI-00014-000_z05
brats_BraTS-GLI-00014-000_z06
brats_BraTS-GLI-00014-000_z07
brats_BraTS-GLI-00014-000_z08
brats_BraTS-GLI-00014-000_z09
brats_BraTS-GLI-00014-000_z10
brats_BraTS-GLI-00014-000_z11
brats_BraTS-GLI-00014-000_z12
brats_BraTS-GLI-00014-000_z13
brats_BraTS-GLI-00014-000_z14
brats_BraTS-GLI-00014-000_z15
brats_BraTS-GLI-00014-000_z16
brats_BraTS-GLI-00014-000_z17
brats_BraTS-GLI-00014-000_z18
brats_BraTS-GLI-00014-000_z19
brats_BraTS-GLI-00018-000_z00
brats_BraTS-GLI-00018-000_z01
brats_BraTS-GLI-00018-000_z02
brats_BraTS-GLI-00018-000_z03
brats_BraTS-GLI-00018-000_z04
brats_BraTS-GLI-00018-000_z05
brats_BraTS-GLI-00018-000_z06
brats_BraTS-GLI-00018-000_z07
brats_BraTS-GLI-00018-000_z08
brats_BraTS-GLI-00018-000_z09
brats_BraTS-GLI-00018-000_z10
brats_BraTS-GLI-00018-000_z11
brats_BraTS-GLI-00018-000_z12
brats_BraTS-GLI-00018-000_z13
brats_BraTS-GLI-00018-000_z14
brats_BraTS-GLI-00018-000_z15
brats_BraTS-GLI-00018-000_z16
brats_BraTS-GLI-00018-000_z17
brats_BraTS-GLI-00018-000_z18
brats_BraTS-GLI-00018-000_z19
brats_BraTS-GLI-00019-000_z00
brats_BraTS-GLI-00019-000_z01
brats_BraTS-GLI-00019-000_z02
brats_BraTS-GLI-00019-000_z03
brats_BraTS-GLI-00019-000_z04
brats_BraTS-GLI-00019-000_z05
brats_BraTS-GLI-00019-000_z06
brats_BraTS-GLI-00019-000_z07
brats_BraTS-GLI-00019-000_z08
brats_BraTS-GLI-00019-000_z09
brats_BraTS-GLI-00019-000_z10
brats_BraTS-GLI-00019-000_z11
brats_BraTS-GLI-00019-000_z12
brats_BraTS-GLI-00019-000_z13
brats_BraTS-GLI-00019-000_z14
brats_BraTS-GLI-00019-000_z15
brats_BraTS-GLI-00019-000_z16
brats_BraTS-GLI-00019-000_z17
brats_BraTS-GLI-00019-000_z18
brats_BraTS-GLI-00019-000_z19
brats_BraTS-GLI-00021-000_z00
brats_BraTS-GLI-00021-000_z01
brats_BraTS-GLI-00021-000_z02
brats_BraTS-GLI-00021-000_z03
brats_BraTS-GLI-00021-000_z04
brats_BraTS-GLI-00021-000_z05
brats_BraTS-GLI-00021-000_z06
brats_BraTS-GLI-00021-000_z07
brats_BraTS-GLI-00021-000_z08
brats_BraTS-GLI-00021-000_z09
brats_BraTS-GLI-00021-000_z10
brats_BraTS-GLI-00021-000_z11
brats_BraTS-GLI-00021-000_z12
brats_BraTS-GLI-00021-000_z13
brats_BraTS-GLI-00021-000_z14
brats_BraTS-GLI-00021-000_z15
brats_BraTS-GLI-00021-000_z16
brats_BraTS-GLI-00021-000_z17
brats_BraTS-GLI-00021-000_z18
brats_BraTS-GLI-00021-000_z19
End of preview. Expand in Data Studio

Latent-SR Embeddings: Precomputed VAE Latents for Medical Image Super-Resolution

Precomputed VAE latents used in the paper:

"Latent Geometry Shapes Fidelity in 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.
Accepted at Scientific Reports (2026). DOI: 10.1038/s41598-026-82708-y.

Preprint: https://arxiv.org/abs/2604.12152
Code: https://github.com/sebasmos/latent-sr

Dataset description

Each folder holds the encoder outputs of one VAE on one dataset: for SD-VAE a sample from the posterior (latent_dist.sample()), for KL-f4 the posterior mean, and for MedVAE the output of MVAE.encode, as in medvae_diffusion_pipeline/scripts/02_extract_medvae_embeddings.py of the code repository. They are the inputs of the diffusion UNet, so training and evaluation can run without re-encoding the images.

Each .npy file is one 2D latent of shape (C, H, W), float32. Files come in pairs per sample: hr_<i>.npy (latent of the high-resolution image) and lr_<i>.npy (latent of the low-resolution input). The HR latent has the shape listed in the index below. The LR latent encodes the 64×64 LR image, so for BraTS it is 4× smaller in each spatial dimension (for example (3, 16, 16) next to (3, 64, 64)); for MRNet, where the LR image is 256×256, it has the HR shape. Each split folder also has a filenames.txt that maps the index i to the source file name.

Folder layout

<vae>_<dataset>/
├── train_latent/       # training pairs
├── valid_latent/       # validation pairs (the split the paper reports)
└── test_latent/        # test pairs, present for some folders only (see the table)

sdvae_mrnet/ is laid out differently: phase2/train_latent/ and phase2/valid_latent/ hold the training and validation pairs, and phase1/train_latent/ holds a 100-pair training subset from an earlier run.

Pairs per split (from the files in this repo): BraTS 4,000 train, 700 valid, 720 test; MRNet 1,130 train, 120 valid.

MIMIC-CXR chest X-ray: the latents for the 7 VAEs on MIMIC-CXR will be shared via PhysioNet soon; this page will link to them.

Index

Folder VAE (latent) Dataset Splits
medvae-4-3_brats MedVAE 4_3 (3×64×64), proposed BraTS 2023 brain MRI train, valid, test
medvae-4-3_mrnet MedVAE 4_3 (3×64×64), proposed MRNet knee MRI train, valid
sdvae_brats SD-VAE (4×32×32) BraTS 2023 train, valid, test
sdvae_mrnet SD-VAE (4×32×32) MRNet phase1, phase2 (see above)
klf4_brats KL-f4 (3×64×64) BraTS 2023 train, valid
klf4_mrnet KL-f4 (3×64×64) MRNet train, valid
medvae-4-1_brats MedVAE 4_1 (1×64×64) BraTS 2023 train, valid, test
medvae-4-1_mrnet MedVAE 4_1 (1×64×64) MRNet train, valid
medvae-4-4_brats MedVAE 4_4 (4×64×64) BraTS 2023 train, valid
medvae-4-4_mrnet MedVAE 4_4 (4×64×64) MRNet train, valid
medvae-8-1_brats MedVAE 8_1 (1×32×32) BraTS 2023 train, valid
medvae-8-1_mrnet MedVAE 8_1 (1×32×32) MRNet train, valid
medvae-8-4_brats MedVAE 8_4 (4×32×32) BraTS 2023 train, valid
medvae-8-4_mrnet MedVAE 8_4 (4×32×32) MRNet train, valid

Usage

import numpy as np
from huggingface_hub import snapshot_download

# Download the MedVAE 4_3 BraTS validation latents only
local_dir = snapshot_download("sebasmos/latent-sr-embeddings", repo_type="dataset",
                              allow_patterns="medvae-4-3_brats/valid_latent/*")
hr = np.load(f"{local_dir}/medvae-4-3_brats/valid_latent/hr_0.npy")
lr = np.load(f"{local_dir}/medvae-4-3_brats/valid_latent/lr_0.npy")
print(hr.shape, lr.shape)  # (3, 64, 64) (3, 16, 16)

Data use

The *_brats/ and *_mrnet/ latents follow the terms of BraTS 2023 and MRNet respectively.

Citation

@article{cajas2026latent,
  title   = {Latent Geometry Shapes Fidelity in 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 = {Scientific Reports},
  year    = {2026},
  doi     = {10.1038/s41598-026-82708-y},
  note    = {Accepted}
}

License

MIT License for this packaging. The latents also remain subject to the terms of their source datasets (see Data use above).

Downloads last month
3,378

Models trained or fine-tuned on sebasmos/latent-sr-embeddings

Paper for sebasmos/latent-sr-embeddings