Something went wrong error while trying to start training
See original GitHub issueusage: train_dreambooth.py [-h] --pretrained_model_name_or_path
PRETRAINED_MODEL_NAME_OR_PATH [--revision REVISION]
[--tokenizer_name TOKENIZER_NAME]
--instance_data_dir INSTANCE_DATA_DIR
[--class_data_dir CLASS_DATA_DIR] --instance_prompt
INSTANCE_PROMPT [--class_prompt CLASS_PROMPT]
[--with_prior_preservation]
[--prior_loss_weight PRIOR_LOSS_WEIGHT]
[--num_class_images NUM_CLASS_IMAGES]
[--output_dir OUTPUT_DIR] [--seed SEED]
[--resolution RESOLUTION] [--center_crop]
[--train_text_encoder]
[--train_batch_size TRAIN_BATCH_SIZE]
[--sample_batch_size SAMPLE_BATCH_SIZE]
[--num_train_epochs NUM_TRAIN_EPOCHS]
[--max_train_steps MAX_TRAIN_STEPS]
[--save_steps SAVE_STEPS]
[--gradient_accumulation_steps GRADIENT_ACCUMULATION_STEPS]
[--gradient_checkpointing]
[--learning_rate LEARNING_RATE] [--scale_lr]
[--lr_scheduler LR_SCHEDULER]
[--lr_warmup_steps LR_WARMUP_STEPS]
[--use_8bit_adam] [--adam_beta1 ADAM_BETA1]
[--adam_beta2 ADAM_BETA2]
[--adam_weight_decay ADAM_WEIGHT_DECAY]
[--adam_epsilon ADAM_EPSILON]
[--max_grad_norm MAX_GRAD_NORM] [--push_to_hub]
[--hub_token HUB_TOKEN]
[--hub_model_id HUB_MODEL_ID]
[--logging_dir LOGGING_DIR]
[--mixed_precision {no,fp16,bf16}]
[--local_rank LOCAL_RANK]
train_dreambooth.py: error: unrecognized arguments: --image_captions_filename --save_starting_step=3000 --stop_text_encoder_training=10 --save_n_steps=3000 --Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/gtest
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--save_starting_step=3000', '--stop_text_encoder_training=10', '--save_n_steps=3000', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/gtest', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/gtest/instance_images', '--output_dir=/content/models/gtest', '--instance_prompt=', '--seed=682980', '--resolution=512', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--use_8bit_adam', '--learning_rate=2e-6', '--lr_scheduler=polynomial', '--lr_warmup_steps=0', '--max_train_steps=15000']' returned non-zero exit status 2.
Something went wrong
Error while running start training cell, please help
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
"Something went wrong" error when you try to start an Office app
When trying to start an Microsoft 365 app, you might get this error. Here are some things you can try to fix the...
Read more >Fix Nike Training Oops - Something Went Wrong Error in ...
Let's start in today's tutorial you will learn how to Fix Nike Training Oops - Something Went Wrong Error in Android & Ios...
Read more >When clicking on my classes,it says 'something went wrong ...
First, I'd like to suggest checking if the version of the Classroom app is up to date. If it's already updated, try to...
Read more >Troubleshoot startup errors on Xbox
Troubleshoot errors from the “Something went wrong” startup screen on Xbox.
Read more >Why am I seeing a "Something went wrong" error?
If you encounter the error "Something went wrong. Please try again," this means that Grasshopper was unable to complete the action you were...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TheLastBen It works now, thanks !
Thanks for everything, bro. You’ve done a great job! Your modifications to HuggingFace/Shivam Diffusers are amazing!