forked from xuekt98/BBDM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_shell.sh
26 lines (19 loc) · 925 Bytes
/
test_shell.sh
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
#train
python main.py --config ./test_lbbdm_f16.yaml --train --sample_at_start --save_top --gpu_ids 0 \
--resume_model ./test_model/ckpt --resume_optim ./test_model/optim_ckpt
#test
# python3 main.py --config configs/Template_LBBDM_f4.yaml --sample_to_eval --gpu_ids 0 \
# --resume_model path/to/model_ckpt --resume_optim path/to/optim_ckpt
#preprocess and evaluation
## rename
#python3 preprocess_and_evaluation.py -f rename_samples -r root/dir -s source/dir -t target/dir
## copy
#python3 preprocess_and_evaluation.py -f copy_samples -r root/dir -s source/dir -t target/dir
## LPIPS
#python3 preprocess_and_evaluation.py -f LPIPS -s source/dir -t target/dir -n 1
## max_min_LPIPS
#python3 preprocess_and_evaluation.py -f max_min_LPIPS -s source/dir -t target/dir -n 1
## diversity
#python3 preprocess_and_evaluation.py -f diversity -s source/dir -n 1
## fidelity
#fidelity --gpu 0 --fid --input1 path1 --input2 path2