fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

Don't add brackets to the session name

Open kartikx opened this issue 7 months ago • 0 comments

In the fast dreambooth notebook it would help to mention that brackets should not be included in the session name. Otherwise this results in a failure much later into the training phase.

Here's the error:

Training the UNet...
/bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `accelerate launch /content/diffusers/examples/dreambooth/train_dreambooth.py      --external_captions            --image_captions_filename      --train_only_unet      --save_starting_step=500      --save_n_steps=0      --Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/ghibli_dataset_(1)      --pretrained_model_name_or_path="/content/stable-diffusion-v1-5"      --instance_data_dir="/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/ghibli_dataset_(1)/instance_images"      --output_dir="/content/models/ghibli_dataset_(1)"      --captions_dir="/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/ghibli_dataset_(1)/captions"      --instance_prompt=""      --seed=638057      --resolution=512      --mixed_precision=fp16      --train_batch_size=1      --gradient_accumulation_steps=1       --use_8bit_adam      --learning_rate=2e-06      --lr_scheduler="linear"      --lr_warmup_steps=0      --max_train_steps=1500'
Something went wrong

kartikx avatar May 12 '25 21:05 kartikx