EnyaWoooo commited on
Commit
f9945e2
·
verified ·
1 Parent(s): 97f590e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +72 -3
README.md CHANGED
@@ -1,3 +1,72 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - medical-imaging
5
+ - ct-generation
6
+ - flow-matching
7
+ - diffusion
8
+ - text-to-3d
9
+ - auto-regressive
10
+ ---
11
+
12
+ # CTFlow: Video-Inspired Latent Flow Matching for 3D CT Synthesis
13
+
14
+ **ICCV 2025 Workshop on Vision-Language Models for 3D Understanding (VLM3D)**
15
+
16
+ [[Paper]](https://openaccess.thecvf.com/content/ICCV2025W/VLM3D/papers/Wang_CTFlow_Video-Inspired_Latent_Flow_Matching_for_3D_CT_Synthesis_ICCVW_2025_paper.pdf) | [[GitHub]](https://github.com/WongJiayi/CTFlow)
17
+
18
+ ---
19
+
20
+ ## Overview
21
+
22
+ CTFlow is a **0.5B latent flow matching transformer** for generating entire 3D CT volumes conditioned on clinical reports.
23
+
24
+ Key ideas:
25
+ - Uses the **FLUX A-VAE** as the latent space encoder/decoder
26
+ - Encodes clinical reports with the **CT-CLIP text encoder**
27
+ - Generates CT volumes **auto-regressively block-by-block**, keeping memory tractable while maintaining temporal coherence across slices
28
+ - Trained on **CT-RATE**, a large-scale dataset of 3D CT volumes paired with clinical reports
29
+
30
+ ---
31
+
32
+ ## Checkpoint
33
+
34
+ This repository contains the pretrained **STDiT-L2** checkpoint (512M parameters, trained for 680,000 steps):
35
+
36
+ ```
37
+ checkpoint-680000/
38
+ └── denoiser_ema/ ← use this for inference
39
+ ```
40
+
41
+ ---
42
+
43
+ ## Usage
44
+
45
+ See the [GitHub repository](https://github.com/WongJiayi/CTFlow) for full installation instructions, training configs, and inference scripts.
46
+
47
+ **Quick inference:**
48
+
49
+ ```bash
50
+ git clone https://github.com/WongJiayi/CTFlow
51
+ cd CTFlow
52
+
53
+ python auto_regressive_generate/main.py \
54
+ --config /path/to/config.yaml \
55
+ --ckpt /path/to/checkpoint-680000/denoiser_ema \
56
+ --embedding /path/to/ct_embedding.pt \
57
+ --output output_frames/ \
58
+ --type full-body
59
+ ```
60
+
61
+ ---
62
+
63
+ ## Citation
64
+
65
+ ```bibtex
66
+ @InProceedings{Wang_2025_ICCVW,
67
+ author = {Wang, Jiayi and Reynaud, Hadrien and Erick, Franciskus Xaverius and Kainz, Bernhard},
68
+ title = {CTFlow: Video-Inspired Latent Flow Matching for 3D CT Synthesis},
69
+ booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops},
70
+ year = {2025},
71
+ }
72
+ ```