meow_555

Untitled

Apr 20th, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. ===================================BUG REPORT===================================
  2. Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
  3. ================================================================================
  4. binary_path: D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\venv\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll
  5. CUDA SETUP: Loading binary D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\venv\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll...
  6. 2024-04-20 21:36:38 INFO use 8-bit AdamW optimizer | {} train_util.py:3621
  7. override steps. steps for 0 epochs is / 指定エポックまでのステップ数: 0
  8. running training / 学習開始
  9. num train images * repeats / 学習画像の数×繰り返し回数: 500
  10. num reg images / 正則化画像の数: 0
  11. num batches per epoch / 1epochのバッチ数: 250
  12. num epochs / epoch数: 0
  13. batch size per device / バッチサイズ: 2
  14. total train batch size (with parallel & distributed & accumulation) / 総バッチサイズ(並列学習、勾配合計含む): 2
  15. gradient ccumulation steps / 勾配を合計するステップ数 = 1
  16. total optimization steps / 学習ステップ数: 0
  17. steps: 0it [00:00, ?it/s]Traceback (most recent call last):
  18. File "D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\train_db.py", line 504, in <module>
  19. train(args)
  20. File "D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\train_db.py", line 455, in train
  21. args, src_path, save_stable_diffusion_format, use_safetensors, save_dtype, epoch, global_step, text_encoder, unet, vae
  22. UnboundLocalError: local variable 'epoch' referenced before assignment
  23. steps: 0it [00:00, ?it/s]
  24. Traceback (most recent call last):
  25. File "C:\Users\griif\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
  26. return _run_code(code, main_globals, None,
  27. File "C:\Users\griif\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
  28. exec(code, run_globals)
  29. File "D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\venv\Scripts\accelerate.exe\__main__.py", line 7, in <module>
  30. File "D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
  31. args.func(args)
  32. File "D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
  33. simple_launcher(args)
  34. File "D:\ChatTEXT\Kohya-v22.6.2\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 637, in simple_launcher
  35. raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
  36. subprocess.CalledProcessError: Command '['D:\\ChatTEXT\\Kohya-v22.6.2\\kohya_ss\\venv\\Scripts\\python.exe', './train_db.py', '--bucket_no_upscale', '--bucket_reso_steps=64', '--cache_latents', '--caption_extension=.txt', '--clip_skip=2', '--learning_rate=0.0001', '--learning_rate_te=1e-05', '--logging_dir=C:/Users/griif/Desktop/evakiss_cindy/Cindy_LORA/log', '--lr_scheduler=constant', '--lr_scheduler_num_cycles=1', '--lr_scheduler_power=1', '--max_data_loader_n_workers=1', '--resolution=512,512', '--max_train_epochs=0', '--max_train_steps=1600', '--mixed_precision=bf16', '--optimizer_type=AdamW8bit', '--output_dir=C:/Users/griif/Desktop/evakiss_cindy/Cindy_LORA/model', '--output_name=Cindy', '--pretrained_model_name_or_path=runwayml/stable-diffusion-v1-5', '--save_every_n_epochs=1', '--save_model_as=safetensors', '--save_precision=bf16', '--seed=1234', '--train_batch_size=2', '--train_data_dir=C:/Users/griif/Desktop/evakiss_cindy/Cindy_LORA/image', '--xformers']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment