Advertisement
kopyl

Untitled

Jan 9th, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. alabs/miniSD-diffusers.
  2.  
  3. Loading pipeline components...: 57%|███████▍ | 4/7 [00:03<00:02, 1.20it/s]{'scaling_factor', 'force_upcast'} was not found in config. Values will be initialized to default values.
  4. Loaded vae as AutoencoderKL from `vae` subfolder of lambdalabs/miniSD-diffusers.
  5.  
  6. Loading pipeline components...: 71%|█████████▎ | 5/7 [00:03<00:01, 1.54it/s]Loaded tokenizer as CLIPTokenizer from `tokenizer` subfolder of lambdalabs/miniSD-diffusers.
  7. Loaded text_encoder as CLIPTextModel from `text_encoder` subfolder of lambdalabs/miniSD-diffusers.
  8.  
  9. Loading pipeline components...: 100%|█████████████| 7/7 [00:03<00:00, 1.79it/s]
  10. Traceback (most recent call last):
  11. File "/workspace/diffusers/examples/text_to_image/train_text_to_image_lora.py", line 998, in <module>
  12. main()
  13. File "/workspace/diffusers/examples/text_to_image/train_text_to_image_lora.py", line 917, in main
  14. log_validation(unet)
  15. File "/workspace/diffusers/examples/text_to_image/train_text_to_image_lora.py", line 699, in log_validation
  16. "validation": [
  17. File "/workspace/diffusers/examples/text_to_image/train_text_to_image_lora.py", line 700, in <listcomp>
  18. wandb.Image(image, caption=f"{i}: {args.validation_prompt}")
  19. File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/data_types/image.py", line 179, in __init__
  20. self._initialize_from_data(data_or_path, mode, file_type)
  21. File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/data_types/image.py", line 321, in _initialize_from_data
  22. if data.ndim > 2:
  23. AttributeError: 'list' object has no attribute 'ndim'
  24. wandb: - 0.005 MB of 0.005 MB uploaded
  25. wandb: Run history:
  26. wandb: train_loss ▆▄█▃▁▁▆▅▃▅
  27. wandb:
  28. wandb: Run summary:
  29. wandb: train_loss 0.08805
  30. wandb:
  31. wandb: 🚀 View run worthy-leaf-236 at: https://wandb.ai/spammmmm1997/text2image-fine-tune/runs/n4pkaxk9
  32. wandb: ️⚡ View job at https://wandb.ai/spammmmm1997/text2image-fine-tune/jobs/QXJ0aWZhY3RDb2xsZWN0aW9uOjEyODYyNjkxNg==/version_details/v1
  33. wandb: Synced 5 W&B file(s), 0 media file(s), 2 artifact file(s) and 0 other file(s)
  34. wandb: Find logs at: ./wandb/run-20240109_153212-n4pkaxk9/logs
  35. Traceback (most recent call last):
  36. File "/usr/local/bin/accelerate", line 8, in <module>
  37. sys.exit(main())
  38. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
  39. args.func(args)
  40. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 1017, in launch_command
  41. simple_launcher(args)
  42. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 637, in simple_launcher
  43. raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
  44. subprocess.CalledProcessError: Command '['/usr/bin/python', 'train_text_to_image_lora.py', '--pretrained_model_name_or_path=lambdalabs/miniSD-diffusers', '--dataset_name=lambdalabs/pokemon-blip-captions', '--resolution=256', '--train_batch_size=32', '--max_train_steps=10000000', '--checkpointing_steps=10', '--learning_rate=1e-4', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--output_dir=/workspace/train-checkpoints/non-detailed', '--noise_offset=0.05', '--cache_dir=/workspace/dataset-cache', '--report_to=wandb', '--validation_prompt', 'pokemon with red eyes', '--seed=1', '--generate_images_when_checkpointing', '--save_lora_weights_only']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement