Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- NumlockUknowSth/Cine250K
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pipeline_tag: text-to-video
|
| 8 |
+
tags:
|
| 9 |
+
- multi-shot
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<div align="center">
|
| 13 |
+
|
| 14 |
+
<h1>CineTrans: Learning to Generate Videos with Cinematic Transitions via Masked Diffusion Models</h1>
|
| 15 |
+
|
| 16 |
+
[](https://uknowsth.github.io/CineTrans/)Β βΒ [](https://arxiv.org/abs/2508.11484)Β βΒ [](https://github.com/Vchitect/CineTrans)Β βΒ [](https://huggingface.co/datasets/NumlockUknowSth/Cine250K)Β βΒ
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
<p><a href="https://scholar.google.com/citations?hl=zh-CN&user=TbZZSVgAAAAJ">Xiaoxue Wu</a><sup>1,2*</sup>,
|
| 20 |
+
<a href="https://scholar.google.com/citations?user=0gY2o7MAAAAJ&hl=zh-CN" target="_blank">Bingjie Gao</a><sup>2,3</sup>,
|
| 21 |
+
<a href="https://scholar.google.com.hk/citations?user=gFtI-8QAAAAJ&hl=zh-CN">Yu Qiao</a><sup>2†</sup>,
|
| 22 |
+
<a href="https://wyhsirius.github.io/">Yaohui Wang</a><sup>2†</sup>,
|
| 23 |
+
<a href="https://scholar.google.com/citations?user=3fWSC8YAAAAJ">Xinyuan Chen</a><sup>2†</sup></p>
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
<span class="author-block"><sup>1</sup>Fudan University</span>
|
| 27 |
+
<span class="author-block"><sup>2</sup>Shanghai Artificial Intelligence Laboratory</span>
|
| 28 |
+
<span class="author-block"><sup>3</sup>Shanghai Jiao Tong University</span>
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
<span class="author-block"><sup>*</sup>Work done during internship at Shanghai AI Laboratory</span> <span class="author-block"><sup>†</sup>Corresponding author</span>
|
| 32 |
+
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
## π₯ Installation
|
| 37 |
+
1. Clone the Repository
|
| 38 |
+
```
|
| 39 |
+
git clone https://github.com/UknowSth/CineTrans.git
|
| 40 |
+
cd CineTrans
|
| 41 |
+
```
|
| 42 |
+
2. Set up Environment
|
| 43 |
+
```
|
| 44 |
+
conda create -n cinetrans python==3.11.9
|
| 45 |
+
conda activate cinetrans
|
| 46 |
+
|
| 47 |
+
pip install torch==2.5.1 torchvision==0.20.1 --index-url https://download.pytorch.org/whl/cu118
|
| 48 |
+
pip install -r requirements.txt
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## π€ Checkpoint
|
| 52 |
+
### CineTrans-Unet
|
| 53 |
+
Download the required [model weights](https://huggingface.co/NumlockUknowSth/CineTrans-Unet/tree/main) and place them in the `ckpt/` directory.
|
| 54 |
+
```
|
| 55 |
+
ckpt/
|
| 56 |
+
βββ stable-diffusion-v1-4/
|
| 57 |
+
β βββ scheduler/
|
| 58 |
+
β βββ text_encoder/
|
| 59 |
+
β βββ tokenizer/
|
| 60 |
+
β βββ unet/
|
| 61 |
+
β βββ vae_temporal_decoder/
|
| 62 |
+
βββ checkpoint.pt
|
| 63 |
+
βββ longclip-L.pt
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
For more inference details, please refer to the [GitHub repository](https://github.com/Vchitect/CineTrans).
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## π BiTeX
|
| 71 |
+
If you find [CineTrans](https://github.com/Vchitect/CineTrans.git) useful for your research and applications, please cite using this BibTeX:
|
| 72 |
+
```
|
| 73 |
+
@misc{wu2025cinetranslearninggeneratevideos,
|
| 74 |
+
title={CineTrans: Learning to Generate Videos with Cinematic Transitions via Masked Diffusion Models},
|
| 75 |
+
author={Xiaoxue Wu and Bingjie Gao and Yu Qiao and Yaohui Wang and Xinyuan Chen},
|
| 76 |
+
year={2025},
|
| 77 |
+
eprint={2508.11484},
|
| 78 |
+
archivePrefix={arXiv},
|
| 79 |
+
primaryClass={cs.CV},
|
| 80 |
+
url={https://arxiv.org/abs/2508.11484},
|
| 81 |
+
}
|
| 82 |
+
```
|