GOOGLE COLLAB WONT WORK!!!!
See original GitHub issuewhen training, i will ALWAYS get an error!!! i set it on BOLD
To avoid this warning pass in values for each of the problematic parameters or run accelerate config.
Traceback (most recent call last):
File “/content/diffusers/examples/dreambooth/train_dreambooth.py”, line 606, in <module>
main()
File “/content/diffusers/examples/dreambooth/train_dreambooth.py”, line 401, in main
args.pretrained_model_name_or_path, subfolder=“vae”, use_auth_token=args.use_auth_token
File “/usr/local/lib/python3.7/dist-packages/diffusers/modeling_utils.py”, line 312, in from_pretrained
**kwargs,
File “/usr/local/lib/python3.7/dist-packages/diffusers/configuration_utils.py”, line 160, in from_config
config_dict = cls.get_config_dict(pretrained_model_name_or_path=pretrained_model_name_or_path, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/diffusers/configuration_utils.py”, line 217, in get_config_dict
f"Error no file named {cls.config_name} found in directory {pretrained_model_name_or_path}."
OSError: Error no file named config.json found in directory /content/gdrive/MyDrive/stable-diffusion-v1-4.
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’, ‘–pretrained_model_name_or_path=/content/gdrive/MyDrive/stable-diffusion-v1-4’, ‘–instance_data_dir=/content/data/eddieman’, ‘–output_dir=/content/models/eddieman’, ‘–instance_prompt=photo of eddieman man’, ‘–seed=12345’, ‘–resolution=512’, ‘–mixed_precision=fp16’, ‘–train_batch_size=1’, ‘–gradient_accumulation_steps=1’, ‘–use_8bit_adam’, ‘–learning_rate=5e-6’, ‘–lr_scheduler=constant’, ‘–lr_warmup_steps=0’, ‘–max_train_steps=800’]’ returned non-zero exit status 1
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)

Top Related StackOverflow Question
I will add a custom path option, and I’ll see if the euler sampler is easily implemented with diffusers
It works for me right now , free colab, i have pro on other accounr that trains as well, also to save the models i use shared drives that are unlimited in space storage so when training ends i can just drag and drop the folder with trained weights into my google shared folder. Thanks a lot man!! For the fast webuis colabs you did and for fast dreambooth colab !!
Hey man, would it be possible to make a new colab just for using trained models from dreambooth but with more options in webui like different samplers ?