Commit 59945151 authored by mashun1's avatar mashun1
Browse files

Update README.md

parent cec52dc5
...@@ -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`中的代码
![alt text](readme_imgs/image-3.png) ![alt text](readme_imgs/image-3.png)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment