".github/vscode:/vscode.git/clone" did not exist on "2a79a9ff6fda10171329ed0d105dd97c82631f11"
run_matrix_game2_templerun.sh 545 Bytes
Newer Older
xuwx1's avatar
xuwx1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# set path and first
lightx2v_path=path to Lightx2v
model_path=path to Skywork/Matrix-Game-2.0

export CUDA_VISIBLE_DEVICES=0

# set environment variables
source ${lightx2v_path}/scripts/base/base.sh

python -m lightx2v.infer \
--model_cls wan2.1_sf_mtxg2 \
--task i2v \
--model_path $model_path \
--config_json ${lightx2v_path}/configs/matrix_game2/matrix_game2_templerun.json \
--prompt '' \
--image_path templerun/0005.png \
--save_result_path ${lightx2v_path}/save_results/output_lightx2v_matrix_game2_templerun.mp4 \
--seed 42