gevaertlab / conflux

huggingface.co
Total runs: 12
24-hour runs: 0
7-day runs: -8
30-day runs: -4
Model's Last Updated: July 29 2026
unconditional-image-generation

Introduction of conflux

Model Details of conflux

CONFLUX

CONFLUX

Conditional 3D latent generative models for medical imaging.

CONFLUX synthesizes full 3D medical volumes from structured clinical metadata: a VAE tokenizer compresses a volume into a compact latent, a single-stream rectified-flow transformer generates in that latent space, and a Flow-GRPO reinforcement-learning stage sharpens label faithfulness. This repository holds the released checkpoints, one self-contained folder per modality.

📄 Paper — coming soon 📦 Datasets •  💻 Code — coming soon

Available checkpoints
Folder Modality Resolution Conditioning Dataset
chest-ct/ Chest CT 216 × 176 × 200 18 findings + sex + age + kernel conflux-chest-ct

More modalities (e.g. brain MRI, abdominal CT) will be added as they are trained — each as a new self-contained folder.

Each modality folder contains:

<modality>/
├── vae.safetensors     3D VAE (encoder + decoder)
├── dit.safetensors     rectified-flow transformer (final, RL-post-trained)
└── config.json         architecture + latent normalization for this modality

Both weight files are needed: the transformer generates a latent , and the VAE decoder turns it into the volume.

Usage

Model classes live in the code repo . Point MODALITY at the folder you want.

import json, torch
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from models import build_vae, build_dit, flow_sample   # from github.com/mxvp/CONFLUX

REPO, MODALITY = "gevaertlab/conflux", "chest-ct"
cfg = json.load(open(hf_hub_download(REPO, f"{MODALITY}/config.json")))
vae = build_vae({"vae": cfg["vae"]}); vae.load_state_dict(load_file(hf_hub_download(REPO, f"{MODALITY}/vae.safetensors"))); vae.eval().cuda()
dit = build_dit({"dit": cfg["dit"]}); dit.load_state_dict(load_file(hf_hub_download(REPO, f"{MODALITY}/dit.safetensors"))); dit.eval().cuda()

# conditioning vector layout is in cfg["cond_layout"]; for chest-ct:
# [findings(18), sex(1), age one-hot(7), kernel one-hot(16)] = 42
cond = torch.zeros(1, cfg["dit"]["cond_dim"], device="cuda")
cond[0, 2] = 1.0                                    # e.g. Cardiomegaly (finding index 2)
sc, sh = cfg["latent"]["scale"], cfg["latent"]["shift"]
with torch.no_grad():
    z = flow_sample(dit, (1, cfg["dit"]["latent_channels"], *cfg["latent"]["spatial"]),
                    steps=50, cond=cond, device="cuda")
    vol = vae.decode(z / sc + sh)                  # (1,1,*spatial_size), model units ~ HU/1000
Intended use

Research use — synthetic medical-volume generation, augmentation, and method development. Not for clinical use. Outputs are synthetic and must not inform any patient-facing decision.

Citation

Paper and citation details coming soon .

License

CC BY-NC-SA 4.0 — non-commercial research use.

Runs of gevaertlab conflux on huggingface.co

12
Total runs
0
24-hour runs
-6
3-day runs
-8
7-day runs
-4
30-day runs

More Information About conflux huggingface.co Model

conflux huggingface.co

conflux huggingface.co is an AI model on huggingface.co that provides conflux's model effect (), which can be used instantly with this gevaertlab conflux model. huggingface.co supports a free trial of the conflux model, and also provides paid use of the conflux. Support call conflux model through api, including Node.js, Python, http.

gevaertlab conflux online free

conflux huggingface.co is an online trial and call api platform, which integrates conflux's modeling effects, including api services, and provides a free online trial of conflux, you can try conflux online for free by clicking the link below.

gevaertlab conflux online free url in huggingface.co:

https://huggingface.co/gevaertlab/conflux

conflux install

conflux is an open source model from GitHub that offers a free installation service, and any user can find conflux on GitHub to install. At the same time, huggingface.co provides the effect of conflux install, users can directly use conflux installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

conflux install url in huggingface.co:

https://huggingface.co/gevaertlab/conflux

Url of conflux

Provider of conflux huggingface.co

gevaertlab
ORGANIZATIONS

Other API from gevaertlab

huggingface.co

Total runs: 11
Run Growth: 6
Growth Rate: 46.15%
Updated:July 29 2026