-
Notifications
You must be signed in to change notification settings - Fork 50
/
inference.sh
23 lines (18 loc) · 1.04 KB
/
inference.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
python ./scripts/inference.py \
--images_dir=./test_imgs --n_sample=100 --edit_attribute='inversion' \
--save_dir=./experiment/inference_results ./checkpoint/ckpt.pt
# python ./scripts/inference.py \
# --images_dir=./test_imgs --n_sample=100 --edit_attribute='lip' \
# --save_dir=./experiment/inference_results ./checkpoint/ckpt.pt
# python ./scripts/inference.py \
# --images_dir=./test_imgs --n_sample=100 --edit_attribute='beard' \
# --save_dir=./experiment/inference_results ./checkpoint/ckpt.pt
# python ./scripts/inference.py \
# --images_dir=./test_imgs --n_sample=100 --edit_attribute='eyes' \
# --save_dir=./experiment/inference_results ./checkpoint/ckpt.pt
# python ./scripts/inference.py \
# --images_dir=./test_imgs --n_sample=100 --edit_attribute='smile' --edit_degree=1.0 \
# --save_dir=./experiment/inference_results ./checkpoint/ckpt.pt
# python ./scripts/inference.py \
# --images_dir=./test_imgs --n_sample=100 --edit_attribute='age' --edit_degree=3 \
# --save_dir=./experiment/inference_results ./checkpoint/ckpt.pt