Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From https://github.com/bmaltais/kohya_ss
- * branch master -> FETCH_HEAD
- Already up to date.
- Requirement already satisfied: toml in d:\kohya_ss-gui-lora-portable-main\venv\lib\site-packages (0.10.2)
- [notice] A new release of pip available: 22.2.1 -> 23.1.2
- [notice] To update, run: python.exe -m pip install —upgrade pip
- headless: False
- Load CSS...
- Running on local URL: http://127.0.0.1:7860
- To create a public link, set `share=True` in `launch()`.
- Потом в веб-версии программы я ставлю настройки и нажимаю "train model". после чего в cmd пишется само:
- Loading config...
- Folder 100_ElyaB-512x512: 9 images found
- Folder 100_ElyaB-512x512: 900 steps
- Error: 'sample' does not contain an underscore, skipping...
- max_train_steps = 450
- stop_text_encoder_training = 0
- lr_warmup_steps = 0
- 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"
- The following values were not passed to `accelerate launch` and had defaults used instead:
- `--num_processes` was set to a value of `1`
- `--num_machines` was set to a value of `1`
- `--mixed_precision` was set to a value of `'no'`
- `--dynamo_backend` was set to a value of `'no'`
- To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
- Traceback (most recent call last):
- File "D:\Kohya_ss-GUI-LoRA-Portable-main\train_network.py", line 9, in <module>
- import toml
- ModuleNotFoundError: No module named 'toml'
- Traceback (most recent call last):
- File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
- return _run_code(code, main_globals, None,
- File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
- exec(code, run_globals)
- File "D:\Kohya_ss-GUI-LoRA-Portable-main\venv\Scripts\accelerate.exe\__main__.py", line 7, in <module>
- File "D:\Stable_Diffusion_Web_UI\stable-diffusion-webui\venv\Lib\site-packages\accelerate\commands\accelerate_cli.py", line 45, in main
- args.func(args)
- File "D:\Stable_Diffusion_Web_UI\stable-diffusion-webui\venv\Lib\site-packages\accelerate\commands\launch.py", line 923, in launch_command
- simple_launcher(args)
- File "D:\Stable_Diffusion_Web_UI\stable-diffusion-webui\venv\Lib\site-packages\accelerate\commands\launch.py", line 579, in simple_launcher
- raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
- 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