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
59945151
Commit
59945151
authored
Mar 22, 2024
by
mashun1
Browse files
Update README.md
parent
cec52dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
README.md
README.md
+4
-3
No files found.
README.md
View file @
59945151
...
@@ -110,9 +110,10 @@ https://huggingface.co/ali-vilab/i2vgen-xl/tree/main
...
@@ -110,9 +110,10 @@ https://huggingface.co/ali-vilab/i2vgen-xl/tree/main
### 命令行
### 命令行
python inference.py --cfg configs/i2vgen_xl_infer.yaml
CUDA_VISIBLE_DEVICES=1
python inference.py --cfg configs/i2vgen_xl_infer.yaml
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
# 指定输入和模型
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
test_list_path 表示输入图像路径及其对应的标题请参考演示文件 data/test_list_for_i2vgen.txt 中的特定格式和建议。test_model 是加载模型的路径。
test_list_path 表示输入图像路径及其对应的标题请参考演示文件 data/test_list_for_i2vgen.txt 中的特定格式和建议。test_model 是加载模型的路径。
...
@@ -121,7 +122,7 @@ test_list_path 表示输入图像路径及其对应的标题请参考演示文
...
@@ -121,7 +122,7 @@ test_list_path 表示输入图像路径及其对应的标题请参考演示文
python gradio_app.py
python gradio_app.py
注意:第一次执行该命令会下载默认文件,当默认文件下载完毕后(程序会报错)需手动注释/删除
`~/.cache/modelscope/
modelscope_modules
/i2vgen-xl/ms_wrapper.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