disentangled-image-editing-final-project
/
ContraCLIP
/scripts
/eval
/pggan_celebahq1024_attributes.sh
# ===== Configuration ===== | |
pool="pggan_celebahq1024-8" | |
# ------------------------- | |
eps=0.15 | |
shift_leap=4 | |
batch_size=10 | |
# ========================= | |
# Define shift steps | |
declare -a SHIFT_STEPS=(60) | |
# Define experiment directories list | |
declare -a EXPERIMENTS=( | |
"experiments/complete/ContraCLIP_pggan_celebahq1024-Z-K9-D64-lss_beta_0.5-eps0.1_0.2-nonlinear_css_beta_0.5-contrastive_0.07-20000-attributes" | |
"experiments/complete/ContraCLIP_pggan_celebahq1024-Z-K9-D64-lss_beta_0.5-eps0.1_0.2-nonlinear_css_beta_0.5-cossim-20000-attributes" | |
) | |
for shift_s in "${SHIFT_STEPS[@]}" | |
do | |
for exp in "${EXPERIMENTS[@]}" | |
do | |
python traverse_latent_space.py -v --gif \ | |
--exp="${exp}" \ | |
--pool=${pool} \ | |
--eps=${eps} \ | |
--shift-steps="${shift_s}" \ | |
--shift-leap=${shift_leap} \ | |
--batch-size=${batch_size} \ | |
--img-size=512 \ | |
--gif \ | |
--gif-height=256 \ | |
--strip \ | |
--strip-height=256 | |
done | |
done | |