File size: 1,211 Bytes
8c212a5 |
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 29 30 31 32 33 34 35 36 37 |
#!/bin/bash
# ===== Configuration =====
pool="stylegan2_afhqdog512-16"
# -------------------------
eps=0.15
shift_leap=5
batch_size=20
# =========================
# Define shift steps
declare -a SHIFT_STEPS=(120)
# Define experiment directories list
declare -a EXPERIMENTS=(
"experiments/complete/ContraCLIP_stylegan2_afhqdog512-W+-K4-D64-lss_beta_0.5-eps0.1_0.2-nonlinear_css_beta_0.5-contrastive_0.07-20000-dogs"
)
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
|