HKUST-LongGroup/Coarse-guided-Gen
关于
[arXiv 2026] Official PyTorch Repository for "Adaptive Weighted h-Transform Sampling for Coarse-Guided Visual Generation"
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Adaptive Weighted h-Transform Sampling for Coarse-Guided Visual Generation
Yanghao Wang* · Ziqi Jiang* · Zhen Wang · Long Chen†
* Equal contribution
Image Restoration
Image Editing
Camera-controlled Video Generation


Achieve various conditional visual generation guided by a coarse sample with 1 line of code.
0. Table of Contents
1. Environment preparation
pip install -r requirements.txt
2. Quick start
Coarse image guided generation
We take the image super-resolution task and generate the images for the given eight example images.
cd ImageGen
wget -P ./models/ https://github.com/HKUST-LongGroup/Coarse-guided-Gen/releases/download/datasets/ffhq_10m.pt
bash quick_run.sh
The result will be stored in the ''ImageGen/outputs/'' path.
Coarse video guided generation
We generate the video for the given example video.
cd VideoGen
bash quik_run.sh
The result will be stored in the ''VideoGen/outputs/'' path.
3. Full run (complete datasets and evaluation)
Coarse image guided generation
cd ImageGen
Prepare the complete datasets.
wget -P ./data/ https://github.com/HKUST-LongGroup/Coarse-guided-Gen/releases/download/datasets/ffhq_256.zip
unzip -j ./data/ffhq_256.zip -d ./data/ffhq_256
Full experiments including the evaluation.
bash full_run.sh
The result will be stored in the ''ImageGen/outputs/'' path.
You can change the hyperparameter $\alpha$ in the 3rd line of ''full_run.sh''.
Coarse video guided generation
cd VideoGen
Prepare the complete datasets.
wget -P ./data/ https://github.com/HKUST-LongGroup/Coarse-guided-Gen/releases/download/datasets/datasets_cog.zip
unzip -j ./data/datasets_cog.zip -d ./data/datasets_cog
wget -P ./data/ https://github.com/HKUST-LongGroup/Coarse-guided-Gen/releases/download/datasets/datasets_wan.zip
unzip -j ./data/datasets_wan.zip -d ./data/datasets_wan
Full experiments including the evaluation.
bash full_run.sh
The result will be stored in the ''VideoGen/outputs/'' path.
You can change the hyperparameters $\alpha_1$ and $\alpha_2$ in ''full_run.sh''.
TODO 🛠️
- Image restoration run code
- Camera-controlled video generation run code
- Quick start examples
- Complete datasets release
- Evaluation code
- Coarse videos construction code
- Image editing code
Acknowledgments
The codebases are built on top of DPS and TTM. Thanks very much.
BibTex
@article{wang2026coarse,
title={Coarse-Guided Visual Generation via Weighted h-Transform Sampling},
author={Wang, Yanghao and Jiang, Ziqi and Wang, Zhen and Chen, Long},
journal={arXiv preprint arXiv:2603.12057},
year={2026}
}
探索相关项目
加载中…