You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get this error: subprocess.CalledProcessError: Command '['D:\programming\kohya_ss\venv\Scripts\python.exe', 'D:/programming/kohya_ss/sd-scripts/sdxl_train_network.py', '--config_file', 'D:/Desktop/SD_training/ruina_story/model/config_lora-20241207-192426.toml']' returned non-zero exit status 3221225477.
The text was updated successfully, but these errors were encountered:
Edit: after many, many hours trying to figure this out, what I discovered is this error tends to be the default error for a lot of issues.
One example, I had the wrong model file. Changed to the default model file fixed the issue.
Another issue that I had giving this exact error was is that one of the many settings were wrong for the Optimizer/Scheduler. I ended up using a preset which solved the issues.
I try training with with this parameter:
{
"adaptive_noise_scale": 0,
"additional_parameters": "",
"async_upload": false,
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
"cache_latents": true,
"cache_latents_to_disk": false,
"caption_dropout_every_n_epochs": 0,
"caption_dropout_rate": 0,
"caption_extension": ".txt",
"clip_skip": 2,
"color_aug": false,
"dataset_config": "",
"debiased_estimation_loss": false,
"dynamo_backend": "no",
"dynamo_mode": "default",
"dynamo_use_dynamic": false,
"dynamo_use_fullgraph": false,
"enable_bucket": true,
"epoch": 10,
"extra_accelerate_launch_args": "",
"flip_aug": false,
"full_bf16": false,
"full_fp16": false,
"gpu_ids": "",
"gradient_accumulation_steps": 1,
"gradient_checkpointing": false,
"huber_c": 0.1,
"huber_schedule": "snr",
"huggingface_path_in_repo": "",
"huggingface_repo_id": "",
"huggingface_repo_type": "",
"huggingface_repo_visibility": "",
"huggingface_token": "",
"ip_noise_gamma": 0,
"ip_noise_gamma_random_strength": false,
"keep_tokens": 0,
"learning_rate": 0.0003,
"learning_rate_te": 1e-05,
"learning_rate_te1": 1e-05,
"learning_rate_te2": 1e-05,
"log_tracker_config": "",
"log_tracker_name": "",
"log_with": "",
"logging_dir": "D:/Desktop/SD_training/ruina_story/log",
"loss_type": "l2",
"lr_scheduler": "constant",
"lr_scheduler_args": "",
"lr_scheduler_num_cycles": 1,
"lr_scheduler_power": 1,
"lr_warmup": 0,
"main_process_port": 0,
"masked_loss": false,
"max_bucket_reso": 2048,
"max_data_loader_n_workers": 0,
"max_resolution": "1024,1024",
"max_timestep": 1000,
"max_token_length": 75,
"max_train_epochs": 0,
"max_train_steps": 0,
"mem_eff_attn": false,
"metadata_author": "",
"metadata_description": "",
"metadata_license": "",
"metadata_tags": "",
"metadata_title": "",
"min_bucket_reso": 256,
"min_snr_gamma": 0,
"min_timestep": 0,
"mixed_precision": "bf16",
"model_list": "custom",
"multi_gpu": false,
"multires_noise_discount": 0.3,
"multires_noise_iterations": 0,
"no_token_padding": false,
"noise_offset": 0.05,
"noise_offset_random_strength": false,
"noise_offset_type": "Original",
"num_cpu_threads_per_process": 2,
"num_machines": 1,
"num_processes": 1,
"optimizer": "Adafactor",
"optimizer_args": "relative_step=False scale_parameter=False warmup_init=False",
"output_dir": "D:/Desktop/SD_training/ruina_story/model",
"output_name": "ruina-story",
"persistent_data_loader_workers": false,
"pretrained_model_name_or_path": "D:/programming/stable-diffusion-webui/models/Stable-diffusion/SDXL/sd_xl_base_1.0.safetensors",
"prior_loss_weight": 1,
"random_crop": false,
"reg_data_dir": "",
"resume": "",
"resume_from_huggingface": "",
"sample_every_n_epochs": 1,
"sample_every_n_steps": 0,
"sample_prompts": "1girl, brown hair, red eyes, night gown, indoors, best quality, masterpiece, high resolution, simple background, gray background --n low quality, worst quality, bad anatomy,bad composition, poor, low effort, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, bad_prompt, bad_prompt2, bad-hands-5, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, (freckles), extra fingers, fewer fingers, strange fingers, bad hand, bad anatomy, fused fingers, missing leg, mutated hand, malformed limbs, missing feet --w 512 --h 1024 1 --l 7.5 --s 30",
"sample_sampler": "euler_a",
"save_as_bool": false,
"save_every_n_epochs": 1,
"save_every_n_steps": 0,
"save_last_n_steps": 0,
"save_last_n_steps_state": 0,
"save_model_as": "safetensors",
"save_precision": "bf16",
"save_state": false,
"save_state_on_train_end": false,
"save_state_to_huggingface": false,
"scale_v_pred_loss_like_noise_pred": false,
"sdxl": true,
"seed": 0,
"shuffle_caption": false,
"stop_text_encoder_training": 0,
"train_batch_size": 1,
"train_data_dir": "D:/Desktop/SD_training/ruina_story/img",
"v2": false,
"v_parameterization": false,
"v_pred_like_loss": 0,
"vae": "",
"vae_batch_size": 0,
"wandb_api_key": "",
"wandb_run_name": "",
"weighted_captions": false,
"xformers": "xformers"
}
Get this error: subprocess.CalledProcessError: Command '['D:\programming\kohya_ss\venv\Scripts\python.exe', 'D:/programming/kohya_ss/sd-scripts/sdxl_train_network.py', '--config_file', 'D:/Desktop/SD_training/ruina_story/model/config_lora-20241207-192426.toml']' returned non-zero exit status 3221225477.
The text was updated successfully, but these errors were encountered: