─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ D:\AI\Kohya\kohya_ss-21.8.9\sdxl_train_network.py:176 in │ │ │ │ 173 │ args = train_util.read_config_from_file(args, parser) │ │ 174 │ │ │ 175 │ trainer = SdxlNetworkTrainer() │ │ ❱ 176 │ trainer.train(args) │ │ 177 │ │ │ │ D:\AI\Kohya\kohya_ss-21.8.9\train_network.py:202 in train │ │ │ │ 199 │ │ │ │ train_dataset_group.is_latent_cacheable() │ │ 200 │ │ │ ), "when caching latents, either color_aug or random_crop cannot be used / l │ │ 201 │ │ │ │ ❱ 202 │ │ self.assert_extra_args(args, train_dataset_group) │ │ 203 │ │ │ │ 204 │ │ # acceleratorを準備する │ │ 205 │ │ print("preparing accelerator") │ │ │ │ D:\AI\Kohya\kohya_ss-21.8.9\sdxl_train_network.py:22 in assert_extra_args │ │ │ │ 19 │ │ │ │ train_dataset_group.is_text_encoder_output_cacheable() │ │ 20 │ │ │ ), "when caching Text Encoder output, either caption_dropout_rate, shuffle_c │ │ 21 │ │ │ │ ❱ 22 │ │ assert ( │ │ 23 │ │ │ args.network_train_unet_only or not args.cache_text_encoder_outputs │ │ 24 │ │ ), "network for Text Encoder cannot be trained with caching Text Encoder outputs │ │ 25 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AssertionError: network for Text Encoder cannot be trained with caching Text Encoder outputs / Text Encoderの出力をキャッシュしながらText Encoderのネットワークを学習することはできません ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ C:\Python3109\lib\runpy.py:196 in _run_module_as_main │ │ │ │ 193 │ main_globals = sys.modules["__main__"].__dict__ │ │ 194 │ if alter_argv: │ │ 195 │ │ sys.argv[0] = mod_spec.origin │ │ ❱ 196 │ return _run_code(code, main_globals, None, │ │ 197 │ │ │ │ │ "__main__", mod_spec) │ │ 198 │ │ 199 def run_module(mod_name, init_globals=None, │ │ │ │ C:\Python3109\lib\runpy.py:86 in _run_code │ │ │ │ 83 │ │ │ │ │ __loader__ = loader, │ │ 84 │ │ │ │ │ __package__ = pkg_name, │ │ 85 │ │ │ │ │ __spec__ = mod_spec) │ │ ❱ 86 │ exec(code, run_globals) │ │ 87 │ return run_globals │ │ 88 │ │ 89 def _run_module_code(code, init_globals=None, │ │ │ │ in :7 │ │ │ │ 4 from accelerate.commands.accelerate_cli import main │ │ 5 if __name__ == '__main__': │ │ 6 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │ │ ❱ 7 │ sys.exit(main()) │ │ 8 │ │ │ │ D:\AI\Kohya\kohya_ss-21.8.9\venv\lib\site-packages\accelerate\commands\accelerate_cli.py:45 in │ │ main │ │ │ │ 42 │ │ exit(1) │ │ 43 │ │ │ 44 │ # Run │ │ ❱ 45 │ args.func(args) │ │ 46 │ │ 47 │ │ 48 if __name__ == "__main__": │ │ │ │ D:\AI\Kohya\kohya_ss-21.8.9\venv\lib\site-packages\accelerate\commands\launch.py:918 in │ │ launch_command │ │ │ │ 915 │ elif defaults is not None and defaults.compute_environment == ComputeEnvironment.AMA │ │ 916 │ │ sagemaker_launcher(defaults, args) │ │ 917 │ else: │ │ ❱ 918 │ │ simple_launcher(args) │ │ 919 │ │ 920 │ │ 921 def main(): │ │ │ │ D:\AI\Kohya\kohya_ss-21.8.9\venv\lib\site-packages\accelerate\commands\launch.py:580 in │ │ simple_launcher │ │ │ │ 577 │ process.wait() │ │ 578 │ if process.returncode != 0: │ │ 579 │ │ if not args.quiet: │ │ ❱ 580 │ │ │ raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) │ │ 581 │ │ else: │ │ 582 │ │ │ sys.exit(1) │ │ 583 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ CalledProcessError: Command '['D:\\AI\\Kohya\\kohya_ss-21.8.9\\venv\\Scripts\\python.exe', './sdxl_train_network.py', '--pretrained_model_name_or_path=D:/AI/stable-diffusion-webui/models/Stable-diffusion/sd_xl_base_1.0.safetensors', '--train_data_dir=D:/AI/stable-diffusion-webui/models/Lora\\img', '--reg_data_dir=D:/AI/stable-diffusion-webui/models/Lora\\reg', '--resolution=1024,1024', '--output_dir=D:/AI/stable-diffusion-webui/models/Lora\\model', '--logging_dir=D:/AI/stable-diffusion-webui/models/Lora\\log', '--network_alpha=1', '--save_model_as=safetensors', '--network_module=networks.lora', '--text_encoder_lr=0.0004', '--unet_lr=0.0004', '--network_dim=64', '--output_name=graynell', '--lr_scheduler_num_cycles=10', '--cache_text_encoder_outputs', '--no_half_vae', '--full_bf16', '--learning_rate=0.0004', '--lr_scheduler=constant', '--train_batch_size=2', '--max_train_steps=3750', '--save_every_n_epochs=1', '--mixed_precision=bf16', '--save_precision=bf16', '--seed=1', '--cache_latents', '--cache_latents_to_disk', '--optimizer_type=AdamW8bit', '--max_data_loader_n_workers=0', '--bucket_reso_steps=64', '--gradient_checkpointing', '--xformers', '--noise_offset=0.0']' returned non-zero exit status 1.