Ayane22 commited on
Commit
2b2656b
·
1 Parent(s): d8a88be

Create rw

Browse files
Files changed (1) hide show
  1. rw +167 -0
rw ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Loading settings from /content/LoRA/config/config_file.toml...
2
+ /content/LoRA/config/config_file
3
+ prepare tokenizer
4
+ update token length: 225
5
+ Load dataset config from /content/LoRA/config/dataset_config.toml
6
+ prepare images.
7
+ found directory /content/LoRA/train_data contains 14 image files
8
+ 2800 train images with repeating.
9
+ 0 reg images.
10
+ no regularization images / 正則化画像が見つかりませんでした
11
+ [Dataset 0]
12
+ batch_size: 6
13
+ resolution: (512, 512)
14
+ enable_bucket: True
15
+ min_bucket_reso: 256
16
+ max_bucket_reso: 1024
17
+ bucket_reso_steps: 64
18
+ bucket_no_upscale: False
19
+
20
+ [Subset 0 of Dataset 0]
21
+ image_dir: "/content/LoRA/train_data"
22
+ image_count: 14
23
+ num_repeats: 200
24
+ shuffle_caption: True
25
+ keep_tokens: 0
26
+ caption_dropout_rate: 0
27
+ caption_dropout_every_n_epoches: 0
28
+ caption_tag_dropout_rate: 0
29
+ color_aug: False
30
+ flip_aug: False
31
+ face_crop_aug_range: None
32
+ random_crop: False
33
+ token_warmup_min: 1,
34
+ token_warmup_step: 0,
35
+ is_reg: False
36
+ class_tokens: mksks
37
+ caption_extension: .txt
38
+
39
+
40
+ [Dataset 0]
41
+ loading image sizes.
42
+ 100% 14/14 [00:00<00:00, 1641.01it/s]
43
+ make buckets
44
+ number of images (including repeats) / 各bucketの画像枚数(繰り返し回数を含む)
45
+ bucket 0: resolution (256, 832), count: 400
46
+ bucket 1: resolution (448, 576), count: 800
47
+ bucket 2: resolution (512, 512), count: 800
48
+ bucket 3: resolution (704, 320), count: 800
49
+ mean ar error (without repeats): 0.0496656946415151
50
+ prepare accelerator
51
+ Using accelerator 0.15.0 or above.
52
+ loading model for process 0/1
53
+ load StableDiffusion checkpoint
54
+ loading u-net: <All keys matched successfully>
55
+ loading vae: <All keys matched successfully>
56
+ Downloading (…)lve/main/config.json: 100% 4.52k/4.52k [00:00<00:00, 3.94MB/s]
57
+ Downloading pytorch_model.bin: 100% 1.71G/1.71G [00:23<00:00, 71.5MB/s]
58
+ loading text encoder: <All keys matched successfully>
59
+ Replace CrossAttention.forward to use xformers
60
+ [Dataset 0]
61
+ caching latents.
62
+ 100% 4/4 [00:08<00:00, 2.15s/it]
63
+ import network module: lycoris.kohya
64
+ Using rank adaptation algo: lora
65
+ Use Dropout value: 0.0
66
+ Create LyCORIS Module
67
+ create LyCORIS for Text Encoder: 72 modules.
68
+ Create LyCORIS Module
69
+ create LyCORIS for U-Net: 278 modules.
70
+ enable LyCORIS for text encoder
71
+ enable LyCORIS for U-Net
72
+ prepare optimizer, data loader etc.
73
+ Deprecated: use prepare_optimizer_params(text_encoder_lr, unet_lr, learning_rate) instead of prepare_optimizer_params(text_encoder_lr, unet_lr)
74
+ CUDA SETUP: CUDA runtime path found: /usr/local/cuda-11.8/targets/x86_64-linux/lib/libcudart.so
75
+ CUDA SETUP: Highest compute capability among GPUs detected: 7.5
76
+ CUDA SETUP: Detected CUDA version 118
77
+ CUDA SETUP: Loading binary /usr/local/lib/python3.10/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so...
78
+ use 8-bit AdamW optimizer | {}
79
+ override steps. steps for 2 epochs is / 指定エポックまでのステップ数: 938
80
+ running training / 学習開始
81
+ num train images * repeats / 学習画像の数×繰り返し回数: 2800
82
+ num reg images / 正則化画像の数: 0
83
+ num batches per epoch / 1epochのバッチ数: 469
84
+ num epochs / epoch数: 2
85
+ batch size per device / バッチサイズ: 6
86
+ gradient accumulation steps / 勾配を合計するステップ数 = 1
87
+ total optimization steps / 学習ステップ数: 938
88
+ steps: 0% 0/938 [00:00<?, ?it/s]epoch 1/2
89
+ steps: 50% 469/938 [11:36<11:36, 1.48s/it, loss=0.0825]saving checkpoint: /content/drive/MyDrive/LoRA/output/megum_AnyLoRA_LocLys-000001.safetensors
90
+ generating sample images at step / サンプル画像生成 ステップ: 469
91
+ prompt: (masterpiece, best quality, highres), 1 girl, solo, 20 years drunk japanese girl, big cute green eyes:1.3, cute sharp face, two side up:1.4, long pink hair, hair ribon, bangs, white shirt, brown plaid skirt, blue jacket around waist
92
+ negative_prompt: lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
93
+ height: 768
94
+ width: 512
95
+ sample_steps: 28
96
+ scale: 7.0
97
+
98
+ 0% 0/28 [00:00<?, ?it/s]
99
+ 4% 1/28 [00:00<00:13, 1.95it/s]
100
+ 7% 2/28 [00:00<00:10, 2.49it/s]
101
+ 11% 3/28 [00:01<00:09, 2.70it/s]
102
+ 14% 4/28 [00:01<00:08, 2.79it/s]
103
+ 18% 5/28 [00:01<00:08, 2.86it/s]
104
+ 21% 6/28 [00:02<00:07, 2.91it/s]
105
+ 25% 7/28 [00:02<00:07, 2.94it/s]
106
+ 29% 8/28 [00:02<00:06, 2.96it/s]
107
+ 32% 9/28 [00:03<00:06, 2.97it/s]
108
+ 36% 10/28 [00:03<00:06, 2.97it/s]
109
+ 39% 11/28 [00:03<00:05, 2.98it/s]
110
+ 43% 12/28 [00:04<00:05, 2.99it/s]
111
+ 46% 13/28 [00:04<00:05, 2.99it/s]
112
+ 50% 14/28 [00:04<00:04, 2.99it/s]
113
+ 54% 15/28 [00:05<00:04, 2.99it/s]
114
+ 57% 16/28 [00:05<00:04, 2.99it/s]
115
+ 61% 17/28 [00:05<00:03, 2.99it/s]
116
+ 64% 18/28 [00:06<00:03, 2.99it/s]
117
+ 68% 19/28 [00:06<00:03, 2.99it/s]
118
+ 71% 20/28 [00:06<00:02, 2.99it/s]
119
+ 75% 21/28 [00:07<00:02, 2.99it/s]
120
+ 79% 22/28 [00:07<00:02, 2.99it/s]
121
+ 82% 23/28 [00:07<00:01, 2.99it/s]
122
+ 86% 24/28 [00:08<00:01, 2.99it/s]
123
+ 89% 25/28 [00:08<00:01, 2.99it/s]
124
+ 93% 26/28 [00:08<00:00, 2.99it/s]
125
+ 96% 27/28 [00:09<00:00, 3.00it/s]
126
+ 100% 28/28 [00:09<00:00, 2.94it/s]
127
+ epoch 2/2
128
+ steps: 100% 938/938 [23:22<00:00, 1.50s/it, loss=0.0495]generating sample images at step / サンプル画像生成 ステップ: 938
129
+ prompt: (masterpiece, best quality, highres), 1 girl, solo, 20 years drunk japanese girl, big cute green eyes:1.3, cute sharp face, two side up:1.4, long pink hair, hair ribon, bangs, white shirt, brown plaid skirt, blue jacket around waist
130
+ negative_prompt: lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
131
+ height: 768
132
+ width: 512
133
+ sample_steps: 28
134
+ scale: 7.0
135
+
136
+ 0% 0/28 [00:00<?, ?it/s]
137
+ 4% 1/28 [00:00<00:08, 3.05it/s]
138
+ 7% 2/28 [00:00<00:08, 3.01it/s]
139
+ 11% 3/28 [00:01<00:08, 2.96it/s]
140
+ 14% 4/28 [00:01<00:08, 2.98it/s]
141
+ 18% 5/28 [00:01<00:07, 2.99it/s]
142
+ 21% 6/28 [00:02<00:07, 2.98it/s]
143
+ 25% 7/28 [00:02<00:07, 2.98it/s]
144
+ 29% 8/28 [00:02<00:06, 2.99it/s]
145
+ 32% 9/28 [00:03<00:06, 2.99it/s]
146
+ 36% 10/28 [00:03<00:06, 2.99it/s]
147
+ 39% 11/28 [00:03<00:05, 2.99it/s]
148
+ 43% 12/28 [00:04<00:05, 2.99it/s]
149
+ 46% 13/28 [00:04<00:05, 2.99it/s]
150
+ 50% 14/28 [00:04<00:04, 2.99it/s]
151
+ 54% 15/28 [00:05<00:04, 2.99it/s]
152
+ 57% 16/28 [00:05<00:04, 2.99it/s]
153
+ 61% 17/28 [00:05<00:03, 2.99it/s]
154
+ 64% 18/28 [00:06<00:03, 3.00it/s]
155
+ 68% 19/28 [00:06<00:03, 2.99it/s]
156
+ 71% 20/28 [00:06<00:02, 2.99it/s]
157
+ 75% 21/28 [00:07<00:02, 3.00it/s]
158
+ 79% 22/28 [00:07<00:02, 3.00it/s]
159
+ 82% 23/28 [00:07<00:01, 2.99it/s]
160
+ 86% 24/28 [00:08<00:01, 3.00it/s]
161
+ 89% 25/28 [00:08<00:01, 2.99it/s]
162
+ 93% 26/28 [00:08<00:00, 2.99it/s]
163
+ 96% 27/28 [00:09<00:00, 2.99it/s]
164
+ 100% 28/28 [00:09<00:00, 2.99it/s]
165
+ save trained model to /content/drive/MyDrive/LoRA/output/megum_AnyLoRA_LocLys.safetensors
166
+ model saved.
167
+ steps: 100% 938/938 [23:34<00:00, 1.51s/it, loss=0.0495]