scripts/generate_val_sdxl_lora.sh
#!/bin/bash
source .venv/bin/activate

which python
python -V
nvidia-smi

for step in 1 2
do
    for angle in "-20_70" "0_90"
    do
        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00010-2650-dog6_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00002-000${step}-dog6-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog6 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00006-7aff-dog5_SVDDiff \
            --exp_dir experiments/sdxl_ddpo/00003-000${step}-dog5-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog5 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00006-25a3-red_cartoon_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00004-000${step}-red_cartoon-s1k-a${angle}-step${step}of2 \
            --concept "sks cartoon" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (red_cartoon $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00007-8d36-grey_sloth_plushie_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00005-000${step}-grey_sloth_plushie-s1k-a${angle}-step${step}of2 \
            --concept "sks stuffed animal" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (grey_sloth_plushie $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00007-9452-backpack_dog_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00006-000${step}-backpack_dog-s1k-a${angle}-step${step}of2 \
            --concept "sks backpack" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (backpack_dog $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00007-d513-dog3_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00007-000${step}-dog3-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog3 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00007-fa15-cat_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00008-000${step}-cat-s1k-a${angle}-step${step}of2 \
            --concept "sks cat" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (cat $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00008-72f9-cat2_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00009-000${step}-cat2-s1k-a${angle}-step${step}of2 \
            --concept "sks cat" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (cat2 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00008-c1ca-fancy_boot_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00010-000${step}-fancy_boot-s1k-a${angle}-step${step}of2 \
            --concept "sks boot" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (fancy_boot $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00008-dad5-backpack_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00011-000${step}-backpack-s1k-a${angle}-step${step}of2 \
            --concept "sks backpack" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (backpack $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00009-f1a2-robot_toy_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00012-000${step}-robot_toy-s1k-a${angle}-step${step}of2 \
            --concept "sks toy" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (robot_toy $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00010-6e78-dog7_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00013-000${step}-dog7-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog7 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00011-36b9-clock_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00014-000${step}-clock-s1k-a${angle}-step${step}of2 \
            --concept "sks clock" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (clock $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00012-595a-colorful_sneaker_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00015-000${step}-colorful_sneaker-s1k-a${angle}-step${step}of2 \
            --concept "sks sneaker" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (colorful_sneaker $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00013-f7e6-pink_sunglasses_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00016-000${step}-pink_sunglasses-s1k-a${angle}-step${step}of2 \
            --concept "sks glasses" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (pink_sunglasses $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00014-1005-monster_toy_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00017-000${step}-monster_toy-s1k-a${angle}-step${step}of2 \
            --concept "sks toy" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (monster_toy $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00015-1b23-bear_plushie_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00018-000${step}-bear_plushie-s1k-a${angle}-step${step}of2 \
            --concept "sks stuffed animal" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (bear_plushie $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00015-5bb3-berry_bowl_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00019-000${step}-berry_bowl-s1k-a${angle}-step${step}of2 \
            --concept "sks bowl" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (berry_bowl $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00016-062e-shiny_sneaker_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00020-000${step}-shiny_sneaker-s1k-a${angle}-step${step}of2 \
            --concept "sks sneaker" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (shiny_sneaker $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00017-0c54-teapot_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00021-000${step}-teapot-s1k-a${angle}-step${step}of2 \
            --concept "sks teapot" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (teapot $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00018-a5f8-duck_toy_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00022-000${step}-duck_toy-s1k-a${angle}-step${step}of2 \
            --concept "sks toy" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (duck_toy $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00018-a613-dog8_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00023-000${step}-dog8-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog8 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00019-8ece-dog_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00024-000${step}-dog-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00019-9f6d-dog2_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00025-000${step}-dog2-s1k-a${angle}-step${step}of2 \
            --concept "sks dog" \
            --prompt_source eval_set \
            --eval_set live_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (dog2 $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00020-07b9-can_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00026-000${step}-can-s1k-a${angle}-step${step}of2 \
            --concept "sks can" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (can $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00020-97cc-candle_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00027-000${step}-candle-s1k-a${angle}-step${step}of2 \
            --concept "sks candle" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (candle $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00021-6592-poop_emoji_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00028-000${step}-poop_emoji-s1k-a${angle}-step${step}of2 \
            --concept "sks toy" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (poop_emoji $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00021-7866-rc_car_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00029-000${step}-rc_car-s1k-a${angle}-step${step}of2 \
            --concept "sks toy" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (rc_car $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00022-4d1e-vase_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00030-000${step}-vase-s1k-a${angle}-step${step}of2 \
            --concept "sks vase" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (vase $step $angle): $(date)"

        python generate_sdxl_lora.py \
            --pretrained_model_or_path stabilityai/stable-diffusion-xl-base-1.0 \
            --svddiff_ckpt experiments/sdxl_svddiff/00023-b18c-wolf_plushie_SVDDiff/checkpoint-1600 \
            --exp_dir experiments/sdxl_ddpo/00031-000${step}-wolf_plushie-s1k-a${angle}-step${step}of2 \
            --concept "sks stuffed animal" \
            --prompt_source eval_set \
            --eval_set object_long \
            --samples_per_prompt 10 \
            --prompts_per_batch 2
        echo "Finished (wolf_plushie $step $angle $step $angle): $(date)"
    done
done

echo "Finished everything!"
