Smangust

Untitled

May 19th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. From https://github.com/bmaltais/kohya_ss
  2. * branch master -> FETCH_HEAD
  3. Already up to date.
  4. Requirement already satisfied: toml in d:\kohya_ss-gui-lora-portable-main\venv\lib\site-packages (0.10.2)
  5.  
  6. [notice] A new release of pip available: 22.2.1 -> 23.1.2
  7. [notice] To update, run: python.exe -m pip install —upgrade pip
  8. headless: False
  9. Load CSS...
  10. Running on local URL: http://127.0.0.1:7860
  11.  
  12. To create a public link, set `share=True` in `launch()`.
  13.  
  14. Потом в веб-версии программы я ставлю настройки и нажимаю "train model". после чего в cmd пишется само:
  15. Loading config...
  16. Folder 100_ElyaB-512x512: 9 images found
  17. Folder 100_ElyaB-512x512: 900 steps
  18. Error: 'sample' does not contain an underscore, skipping...
  19. max_train_steps = 450
  20. stop_text_encoder_training = 0
  21. lr_warmup_steps = 0
  22. accelerate launch --num_cpu_threads_per_process=2 "D:/Kohya_ss-GUI-LoRA-Portable-main/train_network.py" --pretrained_model_name_or_path="D:/Stable_Diffusion_Web_UI/stable-diffusion-webui/models/Stable-diffusion/deliberate_v2.safetensors" --train_data_dir="D:/ElyaB" --resolution=512,512 --output_dir="D:/ElyaB" --network_alpha="128" --save_model_as=safetensors --network_module=networks.lora --text_encoder_lr=5e-05 --unet_lr=0.0001 --network_dim=128 --output_name="ElyaB" --lr_scheduler_num_cycles="1" --learning_rate="0.0001" --lr_scheduler="constant" --train_batch_size="2" --max_train_steps="450" --save_every_n_epochs="1" --mixed_precision="bf16" --save_precision="bf16" --seed="2" --cache_latents --optimizer_type="AdamW8bit" --max_data_loader_n_workers="1" --clip_skip=2 --bucket_reso_steps=64 --xformers --bucket_no_upscale --wandb_api_key="False"
  23. The following values were not passed to `accelerate launch` and had defaults used instead:
  24. `--num_processes` was set to a value of `1`
  25. `--num_machines` was set to a value of `1`
  26. `--mixed_precision` was set to a value of `'no'`
  27. `--dynamo_backend` was set to a value of `'no'`
  28. To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
  29. Traceback (most recent call last):
  30. File "D:\Kohya_ss-GUI-LoRA-Portable-main\train_network.py", line 9, in <module>
  31. import toml
  32. ModuleNotFoundError: No module named 'toml'
  33. Traceback (most recent call last):
  34. File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
  35. return _run_code(code, main_globals, None,
  36. File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
  37. exec(code, run_globals)
  38. File "D:\Kohya_ss-GUI-LoRA-Portable-main\venv\Scripts\accelerate.exe\__main__.py", line 7, in <module>
  39. File "D:\Stable_Diffusion_Web_UI\stable-diffusion-webui\venv\Lib\site-packages\accelerate\commands\accelerate_cli.py", line 45, in main
  40. args.func(args)
  41. File "D:\Stable_Diffusion_Web_UI\stable-diffusion-webui\venv\Lib\site-packages\accelerate\commands\launch.py", line 923, in launch_command
  42. simple_launcher(args)
  43. File "D:\Stable_Diffusion_Web_UI\stable-diffusion-webui\venv\Lib\site-packages\accelerate\commands\launch.py", line 579, in simple_launcher
  44. raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
  45. subprocess.CalledProcessError: Command '['D:\\Stable_Diffusion_Web_UI\\stable-diffusion-webui\\venv\\Scripts\\python.exe', 'D:/Kohya_ss-GUI-LoRA-Portable-main/train_network.py', '--pretrained_model_name_or_path=D:/Stable_Diffusion_Web_UI/stable-diffusion-webui/models/Stable-diffusion/deliberate_v2.safetensors', '--train_data_dir=D:/ElyaB', '--resolution=512,512', '--output_dir=D:/ElyaB', '--network_alpha=128', '--save_model_as=safetensors', '--network_module=networks.lora', '--text_encoder_lr=5e-05', '--unet_lr=0.0001', '--network_dim=128', '--output_name=ElyaB', '--lr_scheduler_num_cycles=1', '--learning_rate=0.0001', '--lr_scheduler=constant', '--train_batch_size=2', '--max_train_steps=450', '--save_every_n_epochs=1', '--mixed_precision=bf16', '--save_precision=bf16', '--seed=2', '--cache_latents', '--optimizer_type=AdamW8bit', '--max_data_loader_n_workers=1', '--clip_skip=2', '--bucket_reso_steps=64', '--xformers', '--bucket_no_upscale', '--wandb_api_key=False']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment