question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GOOGLE COLLAB WONT WORK!!!!

See original GitHub issue

when 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:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TheLastBencommented, Oct 1, 2022

I will add a custom path option, and I’ll see if the euler sampler is easily implemented with diffusers

1reaction
1blackbarcommented, Oct 1, 2022

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 ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Google Colab for the Total Newbie
Working in Google Colab for the first time has been completely awesome and pretty shockingly easy, but it hasn't been without a couple...
Read more >
Unable to open colab notebook-stuck on loading #2251 - GitHub
While trying to open any colab notebook from chrome browser it does not load. Gives a blank page with message "Loading"
Read more >
Is Google Colab not loading? : r/learnmachinelearning - Reddit
I have tried creating a new notebook, load previous notebooks, and even switched networks. Colab still doesn't seem to load.
Read more >
Unable to load Google Colab - maybe a problem with Drive?
When I am on Google Colab, when I try to create a new python notebook, I get the resulting error message: Error. Unable...
Read more >
How to Deal With Files in Google Colab: Everything You Need ...
Uploading files from local file system through file-explorer · 1. Click on the three dots visible when you hover above the directory ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found