百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

STAR

> 编程语言
开源

[ICCV 2025] STAR: 利用文本到视频模型进行空间-时间增强,实现真实世界视频超分辨率

1.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

[ICCV 2025] STAR: 利用文本到视频模型进行空间-时间增强,实现真实世界视频超分辨率

Updates

  • 2025.07.01 Training codes of I2VGen-XL version have been released.

  • 2025.06.26 STAR is accepted by ICCV 2025!

  • 2025.01.19 The STAR demo is now available on Google Colab. Feel free to give it a try!

  • 2025.01.09 The online demo of STAR on Hugging Face is now live! Please note that due to the duration limitation of ZeroGPU, the running time may exceed the allocated GPU duration. If you'd like to try it, you can duplicate the demo and assign a paid GPU.

  • 2025.01.07 The pretrained STAR model (I2VGen-XL and CogVideoX-5B versions) and inference code have been released.

TODO

  • Training codes
  • Inference codes
  • Online demo

Method Overview

Results Display

More visual results can be found in our Project Page and Video Demo.

⚙️ Dependencies and Installation

VRAM requirement: Upscaling the provided toy example by 4x, with 72 frames, a width of 426, and a height of 240, requires around 39GB of VRAM using the default settings. If you encounter an OOM problem, you can set a smaller frame_length in inference_sr.sh. We recommend using a GPU with at least 24GB of VRAM to run this project.

## git clone this repository
git clone https://github.com/NJU-PCALab/STAR.git
cd STAR

## create an environment
conda create -n star python=3.10
conda activate star
pip install -r requirements.txt
sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6  -y

Inference

Model Weight

Base Model Type URL I2VGen-XL Light Degradation :link: I2VGen-XL Heavy Degradation :link: CogVideoX-5B Heavy Degradation :link:

1. I2VGen-XL-based

Step 1: Download the pretrained model STAR from HuggingFace.

We provide two versions for I2VGen-XL-based model, heavy_deg.pt for heavy degraded videos and light_deg.pt for light degraded videos (e.g., the low-resolution video downloaded from video websites).

You can put the weight into pretrained_weight/.

Step 2: Prepare testing data

You can put the testing videos in the input/video/.

As for the prompt, there are three options: 1. No prompt. 2. Automatically generate a prompt (e.g., using Pllava). 3. Manually write the prompt. You can put the txt file in the input/text/.

Step 3: Change the path

You need to change the paths in video_super_resolution/scripts/inference_sr.sh to your local corresponding paths, including video_folder_path, txt_file_path, model_path, and save_dir.

Step 4: Running inference command

bash video_super_resolution/scripts/inference_sr.sh

2. CogVideoX-based

Refer to these instructions for inference with the CogVideX-5B-based model.

Please note that the CogVideX-5B-based model supports only 720x480 input.

Training

Step 1: Download the pretrained VEnhancer.

Step 2: Prepare training data, structured as follows:

/dataset/
    ├── gt/        # Ground-truth high-quality videos
    │   ├── video1.mp4
    │   ├── video2.mp4
    │   └── ...
    ├── lq/        # Low-quality input videos
    │   ├── video1.mp4
    │   ├── video2.mp4
    │   └── ...
    └── text/      # Text prompts corresponding to each video
        ├── video1.txt
        ├── video2.txt
        └── ...

Follow this instruction to generate training data.

Step 3: Training for STAR (I2VGen-XL-based)

bash video_super_resolution/scripts/train_sr.sh

--pretrained_model_path: path to the pretrained VEnhancer.

--checkpointing_steps: save a model checkpoint every N training steps.

--num_frames: length of each training video.

❤️ Acknowledgments

This project is based on I2VGen-XL, VEnhancer, CogVideoX and OpenVid-1M. Thanks for their awesome works.

Citations

If our project helps your research or work, please consider citing our paper:

@misc{xie2025starspatialtemporalaugmentationtexttovideo,
      title={STAR: Spatial-Temporal Augmentation with Text-to-Video Models for Real-World Video Super-Resolution}, 
      author={Rui Xie and Yinhong Liu and Penghao Zhou and Chen Zhao and Jun Zhou and Kai Zhang and Zhenyu Zhang and Jian Yang and Zhenheng Yang and Ying Tai},
      year={2025},
      eprint={2501.02976},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2501.02976}, 
}

Contact

If you have any inquiries, please don't hesitate to reach out via email at [email protected]

License

I2VGen-XL-based models are distributed under the terms of the MIT License.

CogVideoX-5B-based model is distributed under the terms of the CogVideoX License.

GitHub Issues· 33 开放

在 GitHub 查看全部
  • #52

    Verify evals on Papers with Code

    更新于 2026年9月14日
  • #51

    output is a black video

    更新于 2026年9月2日
  • #49

    增强后的视频存在白边

    更新于 2026年5月12日
  • #34

    Code for the degradation pipeline

    更新于 2026年4月11日
  • #48

    OpenVid-1M 200K training subset list/sampling protocol and OpenVid30 test split details

    更新于 2026年3月16日
  • #50

    text prompt generation

    更新于 2026年3月4日
  • #47

    1920x1080 video OOM

    更新于 2026年2月4日
  • #39

    Output is Better as a Blend Overlay over the Original

    更新于 2026年1月20日
  • #46

    inference is too slow

    更新于 2025年10月23日
  • #45

    2x upscaling quality issues?

    更新于 2025年10月9日

核心特点

  • •2025.07.01 Training codes of I2VGen-XL version have been released.
  • •2025.06.26 STAR is accepted by ICCV 2025!
  • •2025.01.19 The STAR demo is now available on Google Colab. Feel free to give it a try!
  • •2025.01.07 The pretrained STAR model (I2VGen-XL and CogVideoX-5B versions) and inference code have been released.
  • •[x] Training codes
  • •[x] Inference codes
  • •[x] Online demo

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言