Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
I2VGen-XL_pytorch
Commits
9a7c825f
Commit
9a7c825f
authored
Mar 22, 2024
by
mashun1
Browse files
Update README.md
parent
59945151
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
9a7c825f
...
...
@@ -110,17 +110,17 @@ https://huggingface.co/ali-vilab/i2vgen-xl/tree/main
### 命令行
CUDA
_VISIBLE_DEVICES=1 python inference.py --cfg configs/i2vgen_xl_infer.yaml
HIP
_VISIBLE_DEVICES=1 python inference.py --cfg configs/i2vgen_xl_infer.yaml
# 指定输入和模型
CUDA
_VISIBLE_DEVICES=1 python inference.py --cfg configs/i2vgen_xl_infer.yaml test_list_path data/test_list_for_i2vgen.txt test_model i2vgen-xl/i2vgen_xl_00854500.pth
HIP
_VISIBLE_DEVICES=1 python inference.py --cfg configs/i2vgen_xl_infer.yaml test_list_path data/test_list_for_i2vgen.txt test_model i2vgen-xl/i2vgen_xl_00854500.pth
test_list_path 表示输入图像路径及其对应的标题请参考演示文件 data/test_list_for_i2vgen.txt 中的特定格式和建议。test_model 是加载模型的路径。
### gradio页面
python gradio_app.py
HIP_VISIBLE_DEVICES=1
python gradio_app.py
注意:第一次执行该命令会下载默认文件,当默认文件下载完毕后(程序会报错)需手动注释/删除
`~/.cache/modelscope/hub/damo/i2vgen-xl/ms_wrapper.py`
中的代码
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment