generate_test_sample.sh 789 Bytes
Newer Older
mashun1's avatar
mashun1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash

model_root="/home/vtryon/catvton_v0/checkpoints/32000_openpose_bak"
data_record_path="/home/vtryon/catvton_v0/datasets/test/test_data.jsonl"
vae_subfolder="vae"
output_dir="../test_outputs"
height=512
width=384
extra_condition_key="openpose"
batch_size=16
weight_dtype="fp16"
num_inference_steps=50
guidance_scale=0
data_nums=8

accelerate launch --main_process_port=12321 generate_test_sample.py \
--model_root=${model_root} \
--data_record_path=${data_record_path} \
--vae_subfolder=${vae_subfolder} \
--output_dir=${output_dir} \
--height=${height} \
--width=${width} \
--extra_condition_key=${extra_condition_key} \
--batch_size=${batch_size} \
--weight_dtype=${weight_dtype} \
--num_inference_steps=${num_inference_steps} \
--guidance_scale=${guidance_scale} \
--repaint