Comments (1)
19:09:05-842456 INFO Version: v22.4.0
19:09:05-851959 INFO nVidia toolkit detected
19:09:07-713851 INFO Torch 2.0.1+cu118
19:09:07-743835 INFO Torch backend: nVidia CUDA 11.8 cuDNN 8700
19:09:07-748463 INFO Torch detected GPU: NVIDIA GeForce RTX 3060 VRAM 12287 Arch (8, 6) Cores 28
19:09:07-751531 INFO Verifying modules installation status from requirements_windows_torch2.txt...
19:09:07-755520 INFO Verifying modules installation status from requirements.txt...
19:09:07-761504 WARNING Package wrong version: huggingface-hub 0.23.2 required 0.19.4
19:09:07-763499 INFO Installing package: huggingface-hub==0.19.4
E:\kohya_ss-22.4.0\venv\lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
E:\kohya_ss-22.4.0\venv\lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
19:09:17-091687 INFO headless: False
19:09:17-099825 INFO Load CSS...
Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True
in launch()
.
19:19:23-607274 INFO Start training LoRA Standard ...
19:19:23-609269 INFO Checking for duplicate image filenames in training data directory...
19:19:23-611264 INFO Valid image folder names found in: E:/kohya_ss-22.4.0/train/image
19:19:23-613258 INFO Folder 40_train: 19 images found
19:19:23-615253 INFO Folder 40_train: 760 steps
19:19:23-617254 INFO Total steps: 760
19:19:23-618245 INFO Train batch size: 2
19:19:23-620250 INFO Gradient accumulation steps: 1
19:19:23-621237 INFO Epoch: 15
19:19:23-622235 INFO Regulatization factor: 1
19:19:23-625226 INFO max_train_steps (760 / 2 / 1 * 15 * 1) = 5700
19:19:23-627221 INFO stop_text_encoder_training = 0
19:19:23-630213 INFO lr_warmup_steps = 570
19:19:23-633204 INFO Saving training config to E:/kohya_ss-22.4.0/train/model\train_20240528-191923.json...
19:19:23-635199 INFO accelerate launch --num_cpu_threads_per_process=2 "./sdxl_train_network.py" --enable_bucket
--min_bucket_reso=256 --max_bucket_reso=2048
--pretrained_model_name_or_path="E:/XLMODEL/sd_xl_base_1.0.safetensors"
--train_data_dir="E:/kohya_ss-22.4.0/train/image" --resolution="1024,1024"
--output_dir="E:/kohya_ss-22.4.0/train/model" --logging_dir="E:/kohya_ss-22.4.0/train/log"
--network_alpha="1" --save_model_as=safetensors --network_module=networks.lora
--text_encoder_lr=5e-05 --unet_lr=0.0001 --network_dim=8 --output_name="train"
--lr_scheduler_num_cycles="15" --no_half_vae --learning_rate="0.0001" --lr_scheduler="cosine"
--lr_warmup_steps="570" --train_batch_size="2" --max_train_steps="5700"
--save_every_n_epochs="1" --mixed_precision="fp16" --save_precision="bf16" --cache_latents
--optimizer_type="AdamW8bit" --max_grad_norm="1" --max_data_loader_n_workers="0"
--bucket_reso_steps=64 --gradient_checkpointing --xformers --bucket_no_upscale
--noise_offset=0.0
prepare tokenizers
Traceback (most recent call last):
File "E:\kohya_ss-22.4.0\sdxl_train_network.py", line 189, in
trainer.train(args)
File "E:\kohya_ss-22.4.0\train_network.py", line 154, in train
tokenizer = self.load_tokenizer(args)
File "E:\kohya_ss-22.4.0\sdxl_train_network.py", line 56, in load_tokenizer
tokenizer = sdxl_train_util.load_tokenizers(args)
File "E:\kohya_ss-22.4.0\library\sdxl_train_util.py", line 142, in load_tokenizers
tokenizer = CLIPTokenizer.from_pretrained(original_path)
File "E:\kohya_ss-22.4.0\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1825, in from_pretrained
return cls.from_pretrained(
File "E:\kohya_ss-22.4.0\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 2004, in from_pretrained
special_tokens_map = json.load(special_tokens_map_handle)
File "C:\PY310\lib\json_init.py", line 293, in load
return loads(fp.read(),
File "C:\PY310\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\PY310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\PY310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\PY310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\PY310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "E:\kohya_ss-22.4.0\venv\Scripts\accelerate.exe_main.py", line 7, in
File "E:\kohya_ss-22.4.0\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "E:\kohya_ss-22.4.0\venv\lib\site-packages\accelerate\commands\launch.py", line 986, in launch_command
simple_launcher(args)
File "E:\kohya_ss-22.4.0\venv\lib\site-packages\accelerate\commands\launch.py", line 628, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['E:\kohya_ss-22.4.0\venv\Scripts\python.exe', './sdxl_train_network.py', '--enable_bucket', '--min_bucket_reso=256', '--max_bucket_reso=2048', '--pretrained_model_name_or_path=E:/XLMODEL/sd_xl_base_1.0.safetensors', '--train_data_dir=E:/kohya_ss-22.4.0/train/image', '--resolution=1024,1024', '--output_dir=E:/kohya_ss-22.4.0/train/model', '--logging_dir=E:/kohya_ss-22.4.0/train/log', '--network_alpha=1', '--save_model_as=safetensors', '--network_module=networks.lora', '--text_encoder_lr=5e-05', '--unet_lr=0.0001', '--network_dim=8', '--output_name=train', '--lr_scheduler_num_cycles=15', '--no_half_vae', '--learning_rate=0.0001', '--lr_scheduler=cosine', '--lr_warmup_steps=570', '--train_batch_size=2', '--max_train_steps=5700', '--save_every_n_epochs=1', '--mixed_precision=fp16', '--save_precision=bf16', '--cache_latents', '--optimizer_type=AdamW8bit', '--max_grad_norm=1', '--max_data_loader_n_workers=0', '--bucket_reso_steps=64', '--gradient_checkpointing', '--xformers', '--bucket_no_upscale', '--noise_offset=0.0']' returned non-zero exit status 1.
from kohya_ss.
Related Issues (20)
- 49 sec/it on 4090 HOT 3
- ValueError: Key backend: 'module://matplotlib_inline.backend_inline' is not a valid value for backend HOT 1
- assert abs_path is not None, f"no image / 画像がありません: {image_key}" HOT 1
- Didn't change anything, Lora training spits out non-zero exit status 1 json error? HOT 1
- ValueError: Too many values to unwrap (expected 2)...how to fix
- {Help} Network Rank Slider and No Half VAE checkbox is not showing up in my Kohya_ss after Installation. HOT 1
- AttributeError: 'NoneType' object has no attribute 'dtype' HOT 2
- Additional Parameters "Scheduler args" NOT Saved in Toml file AND NOT passed HOT 8
- No json files on training HOT 4
- WD14 Tagger Not Recognizing CUDA After Update? HOT 12
- sdxl training HOT 4
- unable to train sdxl lora using runpod training stops without throwing error HOT 2
- pip install argument might be passed incorrectly HOT 2
- latent cache error RuntimeError: NaN detected in latents
- missing options in Dreambooth training HOT 17
- The second GPU can't be used
- getting an error for using optimizer
- Textual Inversion Broken | SDXL not training at all, SD1.5 other error HOT 7
- Confusing sample results when training Lora HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kohya_ss.