-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i keep on getting voluptuous.error.MultipleInvalid: extra keys not allowed kept on deleting whatever the error shows it starts with bucketing i think so i removed it from toml it keeps on adding another error and now its saying voluptuous.error.MultipleInvalid: extra keys not allowed @ data['learning_rate'] #3039
Comments
Please provide your config file! |
{ |
if possible can you share a config and a version that is working for sdxl fine tuning |
adaptive_noise_scale = 0.00375 |
Sorry i only do flux for now! |
Your config is very confusing so I have a few questions to ask before helping you.
|
not lora im trying to do full finetune not dreambooth or lora , ill be renting 8xh100 also im using sd3-flux,1 branch but i kept getting errors on runpod so i tried to do it locally first to debug issues since on windows i hit the same errors as well , appreciate your help tho :) |
I suggest you train using dreambooth method instead of finetuning (dreambooth is better for now) |
Traceback (most recent call last):
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 950, in
train(args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 178, in train
blueprint = blueprint_generator.generate(user_config, args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 401, in generate
sanitized_user_config = self.sanitizer.sanitize_user_config(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 364, in sanitize_user_config
return self.user_config_validator(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 272, in call
return self._compiled([], data)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 433, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['cache_latents']
Traceback (most recent call last):
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
args.func(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1106, in launch_command
simple_launcher(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 704, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\python.exe', 'C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py', '--config_file', 'C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041357.toml']' returned non-zero exit status 1.
04:14:18-652454 INFO Training has ended.
04:15:41-065450 INFO Start Finetuning...
04:15:41-068443 INFO Validating lr scheduler arguments...
04:15:41-072431 INFO Validating optimizer arguments...
04:15:41-074428 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.toml
existence... SUCCESS
04:15:41-076421 INFO Validating C:/Users/Jassi/Desktop/5mimg existence... SUCCESS
04:15:41-078415 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs existence and writability... SUCCESS
04:15:41-080410 INFO Validating stabilityai/stable-diffusion-xl-base-1.0 existence... SUCCESS
04:15:41-082405 INFO Dataset config toml file used, skipping caption json file, image buckets, total_steps,
train_batch_size, gradient_accumulation_steps, epoch, reg_factor, max_train_steps creation...
04:15:41-084399 INFO Max train steps: 1600
04:15:41-086394 INFO lr_warmup_steps = 0
04:15:41-090383 INFO Saving training config to C:/Users/Jassi/Desktop/kohya_ss/outputs\last_20250106-041541.json...
04:15:41-093375 INFO Executing command: C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE launch
--dynamo_backend no --dynamo_mode default --mixed_precision bf16 --num_processes 1
--num_machines 1 --num_cpu_threads_per_process 2
C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py --config_file
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041541.toml
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
2025-01-06 04:15:59 INFO Loading settings from train_util.py:4528
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041541.
toml...
INFO C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041541 train_util.py:4547
WARNING clip_skip will be unexpected / SDXL学習ではclip_skipは動作しません sdxl_train_util.py:351
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\transformers\tokenization_utils_base.py:1601: FutureWarning:
clean_up_tokenization_spaces
was not set. It will be set toTrue
by default. This behavior will be depracted in transformers v4.45, and will be then set toFalse
by default. For more details check this issue: huggingface/transformers#31884warnings.warn(
2025-01-06 04:16:01 INFO Load dataset config from sdxl_train.py:142
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.t
oml
WARNING ignore following options because config file is found: train_data_dir, sdxl_train.py:146
in_json / 設定ファイルが利用されるため以下のオプションは無視されます:
train_data_dir, in_json
ERROR Invalid user config / ユーザ設定の形式が正しくないようです config_util.py:367
Traceback (most recent call last):
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 950, in
train(args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 178, in train
blueprint = blueprint_generator.generate(user_config, args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 401, in generate
sanitized_user_config = self.sanitizer.sanitize_user_config(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 364, in sanitize_user_config
return self.user_config_validator(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 272, in call
return self._compiled([], data)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 433, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['gradient_accumulation_steps']
Traceback (most recent call last):
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
args.func(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1106, in launch_command
simple_launcher(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 704, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\python.exe', 'C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py', '--config_file', 'C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041541.toml']' returned non-zero exit status 1.
04:16:03-633010 INFO Training has ended.
04:16:43-497119 INFO Start Finetuning...
04:16:43-499087 INFO Validating lr scheduler arguments...
04:16:43-502077 INFO Validating optimizer arguments...
04:16:43-504071 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.toml
existence... SUCCESS
04:16:43-506065 INFO Validating C:/Users/Jassi/Desktop/5mimg existence... SUCCESS
04:16:43-508061 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs existence and writability... SUCCESS
04:16:43-510056 INFO Validating stabilityai/stable-diffusion-xl-base-1.0 existence... SUCCESS
04:16:43-512050 INFO Dataset config toml file used, skipping caption json file, image buckets, total_steps,
train_batch_size, gradient_accumulation_steps, epoch, reg_factor, max_train_steps creation...
04:16:43-514044 INFO Max train steps: 1600
04:16:43-516039 INFO lr_warmup_steps = 0
04:16:43-520029 INFO Saving training config to C:/Users/Jassi/Desktop/kohya_ss/outputs\last_20250106-041643.json...
04:16:43-523021 INFO Executing command: C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE launch
--dynamo_backend no --dynamo_mode default --mixed_precision bf16 --num_processes 1
--num_machines 1 --num_cpu_threads_per_process 2
C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py --config_file
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041643.toml
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
2025-01-06 04:17:02 INFO Loading settings from train_util.py:4528
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041643.
toml...
INFO C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041643 train_util.py:4547
WARNING clip_skip will be unexpected / SDXL学習ではclip_skipは動作しません sdxl_train_util.py:351
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\transformers\tokenization_utils_base.py:1601: FutureWarning:
clean_up_tokenization_spaces
was not set. It will be set toTrue
by default. This behavior will be depracted in transformers v4.45, and will be then set toFalse
by default. For more details check this issue: huggingface/transformers#31884warnings.warn(
2025-01-06 04:17:02 INFO Load dataset config from sdxl_train.py:142
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.t
oml
WARNING ignore following options because config file is found: train_data_dir, sdxl_train.py:146
in_json / 設定ファイルが利用されるため以下のオプションは無視されます:
train_data_dir, in_json
ERROR Invalid user config / ユーザ設定の形式が正しくないようです config_util.py:367
Traceback (most recent call last):
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 950, in
train(args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 178, in train
blueprint = blueprint_generator.generate(user_config, args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 401, in generate
sanitized_user_config = self.sanitizer.sanitize_user_config(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 364, in sanitize_user_config
return self.user_config_validator(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 272, in call
return self._compiled([], data)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 433, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['learning_rate']
Traceback (most recent call last):
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
args.func(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1106, in launch_command
simple_launcher(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 704, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\python.exe', 'C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py', '--config_file', 'C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-041643.toml']' returned non-zero exit status 1.
04:17:05-138303 INFO Training has ended.
04:23:02-340135 INFO Start Finetuning...
04:23:02-342129 INFO Validating lr scheduler arguments...
04:23:02-344124 INFO Validating optimizer arguments...
04:23:02-345121 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.toml
existence... SUCCESS
04:23:02-347117 INFO Validating C:/Users/Jassi/Desktop/5mimg existence... SUCCESS
04:23:02-349111 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs existence and writability... SUCCESS
04:23:02-351106 INFO Validating stabilityai/stable-diffusion-xl-base-1.0 existence... SUCCESS
04:23:02-353101 INFO Dataset config toml file used, skipping caption json file, image buckets, total_steps,
train_batch_size, gradient_accumulation_steps, epoch, reg_factor, max_train_steps creation...
04:23:02-355095 INFO Max train steps: 1600
04:23:02-357090 INFO lr_warmup_steps = 0
04:23:02-361079 INFO Saving training config to C:/Users/Jassi/Desktop/kohya_ss/outputs\last_20250106-042302.json...
04:23:02-364071 INFO Executing command: C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE launch
--dynamo_backend no --dynamo_mode default --mixed_precision bf16 --num_processes 1
--num_machines 1 --num_cpu_threads_per_process 2
C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py --config_file
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042302.toml
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
2025-01-06 04:23:22 INFO Loading settings from train_util.py:4528
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042302.
toml...
INFO C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042302 train_util.py:4547
WARNING clip_skip will be unexpected / SDXL学習ではclip_skipは動作しません sdxl_train_util.py:351
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\transformers\tokenization_utils_base.py:1601: FutureWarning:
clean_up_tokenization_spaces
was not set. It will be set toTrue
by default. This behavior will be depracted in transformers v4.45, and will be then set toFalse
by default. For more details check this issue: huggingface/transformers#31884warnings.warn(
2025-01-06 04:23:23 INFO Load dataset config from sdxl_train.py:142
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.t
oml
WARNING ignore following options because config file is found: train_data_dir, sdxl_train.py:146
in_json / 設定ファイルが利用されるため以下のオプションは無視されます:
train_data_dir, in_json
ERROR Invalid user config / ユーザ設定の形式が正しくないようです config_util.py:367
Traceback (most recent call last):
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 950, in
train(args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 178, in train
blueprint = blueprint_generator.generate(user_config, args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 401, in generate
sanitized_user_config = self.sanitizer.sanitize_user_config(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 364, in sanitize_user_config
return self.user_config_validator(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 272, in call
return self._compiled([], data)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 433, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['learning_rate']
Traceback (most recent call last):
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
args.func(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1106, in launch_command
simple_launcher(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 704, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\python.exe', 'C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py', '--config_file', 'C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042302.toml']' returned non-zero exit status 1.
04:23:26-026761 INFO Training has ended.
04:23:44-547177 INFO Start Finetuning...
04:23:44-549211 INFO Validating lr scheduler arguments...
04:23:44-551195 INFO Validating optimizer arguments...
04:23:44-553189 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.toml
existence... SUCCESS
04:23:44-555157 INFO Validating C:/Users/Jassi/Desktop/5mimg existence... SUCCESS
04:23:44-557148 INFO Validating C:/Users/Jassi/Desktop/kohya_ss/outputs existence and writability... SUCCESS
04:23:44-559144 INFO Validating stabilityai/stable-diffusion-xl-base-1.0 existence... SUCCESS
04:23:44-561141 INFO Dataset config toml file used, skipping caption json file, image buckets, total_steps,
train_batch_size, gradient_accumulation_steps, epoch, reg_factor, max_train_steps creation...
04:23:44-563166 INFO Max train steps: 1600
04:23:44-565158 INFO lr_warmup_steps = 0
04:23:44-569117 INFO Saving training config to C:/Users/Jassi/Desktop/kohya_ss/outputs\last_20250106-042344.json...
04:23:44-572109 INFO Executing command: C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE launch
--dynamo_backend no --dynamo_mode default --mixed_precision bf16 --num_processes 1
--num_machines 1 --num_cpu_threads_per_process 2
C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py --config_file
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042344.toml
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\diffusers\utils\outputs.py:63: FutureWarning:
torch.utils._pytree._register_pytree_node
is deprecated. Please usetorch.utils._pytree.register_pytree_node
instead.torch.utils._pytree._register_pytree_node(
2025-01-06 04:25:07 INFO Loading settings from train_util.py:4528
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042344.
toml...
INFO C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042344 train_util.py:4547
WARNING clip_skip will be unexpected / SDXL学習ではclip_skipは動作しません sdxl_train_util.py:351
C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\transformers\tokenization_utils_base.py:1601: FutureWarning:
clean_up_tokenization_spaces
was not set. It will be set toTrue
by default. This behavior will be depracted in transformers v4.45, and will be then set toFalse
by default. For more details check this issue: huggingface/transformers#31884warnings.warn(
2025-01-06 04:25:09 INFO Load dataset config from sdxl_train.py:142
C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-040314.t
oml
WARNING ignore following options because config file is found: train_data_dir, sdxl_train.py:146
in_json / 設定ファイルが利用されるため以下のオプションは無視されます:
train_data_dir, in_json
ERROR Invalid user config / ユーザ設定の形式が正しくないようです config_util.py:367
Traceback (most recent call last):
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 950, in
train(args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\sdxl_train.py", line 178, in train
blueprint = blueprint_generator.generate(user_config, args)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 401, in generate
sanitized_user_config = self.sanitizer.sanitize_user_config(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\sd-scripts\library\config_util.py", line 364, in sanitize_user_config
return self.user_config_validator(user_config)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 205, in call
return self._compiled([], data)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 549, in validate_dict
return base_validate(path, data.items(), out)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\voluptuous\schema_builder.py", line 382, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['learning_rate']
Traceback (most recent call last):
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Jassi\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
args.func(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1106, in launch_command
simple_launcher(args)
File "C:\Users\Jassi\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 704, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['C:\Users\Jassi\Desktop\kohya_ss\venv\Scripts\python.exe', 'C:/Users/Jassi/Desktop/kohya_ss/sd-scripts/sdxl_train.py', '--config_file', 'C:/Users/Jassi/Desktop/kohya_ss/outputs/config_finetune-20250106-042344.toml']' returned non-zero exit status 1.
04:25:11-662845 INFO Training has ended.
The text was updated successfully, but these errors were encountered: