Download SeedVR pretrained checkpoints
mainUse huggingface_hub to download the model weights. The following example demonstrates how to download the SeedVR2-3B model into a ckpts/ directory.
from huggingface_hub import snapshot_download
save_dir = "ckpts/"
repo_id = "ByteDance-Seed/SeedVR2-3B"
cache_dir = save_dir + "/cache"
snapshot_download(cache_dir=cache_dir,
local_dir=save_dir,
repo_id=repo_id,
local_dir_use_symlinks=False,
resume_download=True,
allow_patterns=["*.json", "*.safetensors", "*.pth", "*.bin", "*.py", "*.md", "*.txt"],
)