Rayleihaodong's picture
Add files using upload-large-folder tool
6ec5126 verified
Raw
History Blame Contribute Delete
750 Bytes
#!/bin/sh
cd /mnt/petrelfs/leihaodong/sjdtree
isp='random'
method='lantern'
num_init_new_token=16
benchmark_way='order'
prompt="T2ICompBenchVal"
num_images=2400
slice='485-2400'
output_path=/mnt/petrelfs/leihaodong/ICLR25/exp/Emu3/${prompt}/lantern
tokenizer_path=/mnt/petrelfs/leihaodong/local_model/chameleon/tokenizer
mkdir -p ${output_path}
srun \
-N 1 \
--ntasks-per-node 1 \
python main_emu3.py \
--tokenizer_path=$tokenizer_path \
--output_path=$output_path \
--isp=$isp \
--method=$method \
--num_init_new_token=$num_init_new_token \
--benchmark_way=$benchmark_way \
--prompt=$prompt \
--num_images=$num_images \
--slice=$slice \
--static_tree \
--target_size=720 \
--tree_choices=Line_16 > ${output_path}.log 2>&1