I haven't used this in a couple months and I'm getting errors #1474
Kentucky709
started this conversation in
General
Replies: 1 comment
-
the model isn't downloaded correctly, redownload it, but first run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've read the posts here and I realize I no longer need a HF token with 1.5
I've tried this with 1.5 as well as 2.1 and I get the same error
I can't then go further and it gives me an error where it can't find the model on the Gdrive
I checked through the discussion posts and didn't see a fix for my error
Training the UNet...
Traceback (most recent call last):
File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 794, in
main()
File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 502, in main
text_encoder = CLIPTextModel.from_pretrained(args.pretrained_model_name_or_path, subfolder="text_encoder")
File "/usr/local/lib/python3.8/dist-packages/transformers/modeling_utils.py", line 1899, in from_pretrained
raise EnvironmentError(
OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /content/stable-diffusion-v2-512.
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/usr/local/lib/python3.8/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.8/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', '--stop_text_encoder_training=250', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Kent', '--pretrained_model_name_or_path=/content/stable-diffusion-v2-512', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Kent/instance_images', '--output_dir=/content/models/Kent', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Kent/captions', '--instance_prompt=', '--seed=31127', '--resolution=512', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=1e-05', '--lr_scheduler=polynomial', '--lr_warmup_steps=0', '--max_train_steps=650']' returned non-zero exit status 1.
Something went wrong
Beta Was this translation helpful? Give feedback.
All reactions