Skip to content

junhahyung/STGuidance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spatiotemporal Skip Guidance for Enhanced Video Diffusion Sampling

Paper

Project Page

Todos

  • Update README
  • Update STG with HunyuanVideo, CogVideoX, Open-Sora, SVD

Acknowledgements

This project is built upon the following works:

Start Guide

  1. Mochi

    • For installation and requirements, refer to the official repository.

    • Update demos/config.py with your desired settings and simply run:

      python ./demos/cli.py
  2. LTX-Video

    Using CFG (Default Model):

    python inference.py --ckpt_dir './weights' --prompt "A man ..."

    To utilize STG, use the following command:

    python inference.py --ckpt_dir './weights' --prompt "A man ..." --stg_mode stg-a --stg_scale 1.0 --stg_block_idx 19 --do_rescaling True

    Key Parameters:

    • stg_mode: Choose between stg-a or stg-r.
    • stg_scale: Recommended values are ≤2.0.
    • stg_block_idx: Specify the block index for applying STG.
    • do_rescaling: Set to True to enable rescaling.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages