qwen_image_i2i_block.sh 579 Bytes
Newer Older
1
2
3
4
5
6
#!/bin/bash

# set path and first
export lightx2v_path=
export model_path=

7
export CUDA_VISIBLE_DEVICES=0
8

9
10
# set environment variables
source ${lightx2v_path}/scripts/base/base.sh
11
12

python -m lightx2v.infer \
Watebear's avatar
Watebear committed
13
14
15
    --model_cls qwen_image \
    --task i2i \
    --model_path $model_path \
16
    --config_json ${lightx2v_path}/configs/offload/block/qwen_image_i2i_block.json \
17
18
19
20
21
    --prompt "turn the style of the photo to vintage comic book" \
    --negative_prompt " " \
    --image_path pie.png \
    --save_result_path ${lightx2v_path}/save_results/qwen_image_i2i.png \
    --seed 0