File size: 1,476 Bytes
ae29108 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | ---
license: apache-2.0
tags:
- text-to-video
tasks:
- text-to-video-synthesis
---
# GeoRoute的官方代码
GeoRoute 是我们论文中的文本到视频生成方法。此页面提供第 11,000 步推理权重。训练、推理和 GeoVideoBench 测评代码见 [GeoRoute 官方代码仓库](https://gitee.com/jianzhiliu/geo-route)。
## 模型权重
- 文件:`georoute-split-grad-step11000.ckpt`(约 175 MB)
- 推理时搭配 Wan2.1-T2V-1.3B、TRELLIS 和 CLIP 基础模型。运行脚本会自动下载所需模型和 GeoRoute 权重,并对 GeoRoute 权重执行 SHA-256 校验。
## 快速开始
环境需要 Linux x86_64、Python 3.10、CUDA 12.4 Toolkit、支持 BF16 的 NVIDIA GPU、Git、curl、C++ 编译工具和 FFmpeg。手动 pip 安装命令见 [代码仓库 README](https://gitee.com/jianzhiliu/geo-route/blob/master/README.md)。
```bash
git clone --depth 1 https://gitee.com/jianzhiliu/geo-route.git
cd geo-route
./run.sh demo
```
默认示例使用男人弹吉他的提示词,生成 MP4 并运行 GeoVideoBench。
## 单独运行
```bash
# 推理,提示词文件每行一条
./run.sh infer configs/demo-prompts.txt outputs/infer
# GeoVideoBench,输入目录包含 MP4
./run.sh benchmark outputs/infer/test_outputs outputs/geovideobench
# 训练,OpenVidHD 目录包含 1.csv 和视频子目录 1/
GPUS=1 ./run.sh train /path/to/openvidHD outputs/train
```
测评会输出 `per_video.csv`、`per_video.jsonl` 和 `summary.json`。
|