scripts/generate_val_svd.sh
#!/bin/bash
set -ex

source .venv/bin/activate
which python
python -V

nvidia-smi

echo "Started: $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00001-598d-backpack_dog_SVDDiff \
#     --concept "sks backpack" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (backpack_dog): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00001-700f-backpack_SVDDiff \
#     --concept "sks backpack" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (backpack): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00001-4242-bear_plushie_SVDDiff \
#     --concept "sks stuffed animal" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (bear_plushie): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00001-b4c6-berry_bowl_SVDDiff \
#     --concept "sks bowl" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (berry_bowl): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00002-3ba5-can_SVDDiff \
#     --concept "sks can" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (can): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00003-886c-cat_SVDDiff \
#     --concept "sks cat" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (cat): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00003-2397-candle_SVDDiff \
#     --concept "sks candle" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (candle): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00004-1d82-cat2_SVDDiff \
#     --concept "sks cat" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (cat2): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00005-c1a8-clock_SVDDiff \
#     --concept "sks clock" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (clock): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00005-e73a-colorful_sneaker_SVDDiff \
#     --concept "sks sneaker" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (colorful_sneaker): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00006-0f0b-dog3_SVDDiff \
#     --concept "sks dog" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (dog3): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00006-8bd8-dog_SVDDiff \
#     --concept "sks dog" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (dog): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00006-a92d-dog2_SVDDiff \
#     --concept "sks dog" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (dog2): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00007-3f2e-fancy_boot_SVDDiff \
#     --concept "sks boot" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (fancy_boot): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00007-4d17-duck_toy_SVDDiff \
#     --concept "sks toy" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (duck_toy): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00007-85f6-grey_sloth_plushie_SVDDiff \
#     --concept "sks stuffed animal" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (grey_sloth_plushie): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00007-6832-dog8_SVDDiff \
#     --concept "sks dog" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (dog8): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00007-8685-dog7_SVDDiff \
#     --concept "sks dog" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (dog7): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00008-379a-dog5_SVDDiff \
#     --concept "sks dog" \
#     --prompt_source eval_set \
#     --eval_set medium_live_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (dog5): $(date)"

python generate_svd.py \
    --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
    --base_svd_ckpt experiments/svddiff/00008-ad9b-dog6_SVDDiff/checkpoint-1600 \
    --exp_dir experiments/svddiff_ddpo/00001-5с1с-dog6-s500-p10k \
    --concept "sks dog" \
    --prompt_source eval_set \
    --eval_set medium_live_all \
    --samples_per_prompt 10 \
    --prompts_per_batch 8 --override
echo "Finished (dog6): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00009-89a2-monster_toy_SVDDiff \
#     --concept "sks toy" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (monster_toy): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00010-6be8-poop_emoji_SVDDiff \
#     --concept "sks toy" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (poop_emoji): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00010-6c09-rc_car_SVDDiff \
#     --concept "sks toy" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (rc_car): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00010-c096-red_cartoon_SVDDiff \
#     --concept "sks cartoon" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (red_cartoon): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00010-de57-pink_sunglasses_SVDDiff \
#     --concept "sks glasses" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (pink_sunglasses): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00011-49d5-shiny_sneaker_SVDDiff \
#     --concept "sks sneaker" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (shiny_sneaker): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00011-56ae-robot_toy_SVDDiff \
#     --concept "sks toy" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (robot_toy): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00012-7f41-teapot_SVDDiff \
#     --concept "sks teapot" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (teapot): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00013-d48d-vase_SVDDiff \
#     --concept "sks vase" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (vase): $(date)"

# python generate_svd.py \
#     --pretrained_model_or_path stabilityai/stable-diffusion-2-base \
#     --exp_dir experiments/svddiff/00014-96c5-wolf_plushie_SVDDiff \
#     --concept "sks stuffed animal" \
#     --prompt_source eval_set \
#     --eval_set medium_object_all \
#     --samples_per_prompt 10 \
#     --prompts_per_batch 8 --override
# echo "Finished (wolf_plushie): $(date)"
