File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
- v23.0.13
1
+ v23.0.14
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ The GUI allows you to set the training parameters and generate and run the requi
38
38
- [ No module called tkinter] ( #no-module-called-tkinter )
39
39
- [ SDXL training] ( #sdxl-training )
40
40
- [ Change History] ( #change-history )
41
+ - [ 2024/03/13 (v23.0.14)] ( #20240313-v23014 )
41
42
- [ 2024/03/13 (v23.0.13)] ( #20240313-v23013 )
42
43
- [ 2024/03/16 (v23.0.12)] ( #20240316-v23012 )
43
44
- [ New Features \& Improvements] ( #new-features--improvements )
@@ -380,6 +381,10 @@ The documentation in this section will be moved to a separate document later.
380
381
381
382
## Change History
382
383
384
+ ### 2024/03/13 (v23.0.14)
385
+
386
+ - Fix blip caption issue
387
+ -
383
388
### 2024/03/13 (v23.0.13)
384
389
385
390
- Fix issue with image samples.
Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ def caption_images(
58
58
59
59
# Construct the command to run
60
60
run_cmd = rf'"{ PYTHON } " "{ scriptdir } /sd-scripts/finetune/make_captions.py"'
61
- run_cmd += f' --batch_size="{ batch_size } "'
62
- run_cmd += f' --num_beams="{ num_beams } "'
61
+ run_cmd += f' --batch_size="{ int ( batch_size ) } "'
62
+ run_cmd += f' --num_beams="{ int ( num_beams ) } "'
63
63
run_cmd += f' --top_p="{ top_p } "'
64
- run_cmd += f' --max_length="{ max_length } "'
65
- run_cmd += f' --min_length="{ min_length } "'
64
+ run_cmd += f' --max_length="{ int ( max_length ) } "'
65
+ run_cmd += f' --min_length="{ int ( min_length ) } "'
66
66
if beam_search :
67
67
run_cmd += f" --beam_search"
68
68
if caption_file_ext :
Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ def train_model(
719
719
720
720
if LoRA_type == "LyCORIS/Diag-OFT" :
721
721
network_module = "lycoris.kohya"
722
- network_args = f' "preset={ LyCORIS_preset } " "conv_dim={ conv_dim } " "conv_alpha={ conv_alpha } " "module_dropout={ module_dropout } " "use_tucker={ use_tucker } " "use_scalar={ use_scalar } " "rank_dropout_scale={ rank_dropout_scale } " "constrain={ constrain } " "rescaled={ rescaled } " "algo=diag-oft" '
722
+ network_args = f' "preset={ LyCORIS_preset } " "conv_dim={ conv_dim } " "conv_alpha={ conv_alpha } " "module_dropout={ module_dropout } " "use_tucker={ use_tucker } " "use_scalar={ use_scalar } " "rank_dropout_scale={ rank_dropout_scale } " "constrain={ constrain } " "rescaled={ rescaled } " "algo=diag-oft" "train_norm= { train_norm } " '
723
723
724
724
if LoRA_type == "LyCORIS/DyLoRA" :
725
725
network_module = "lycoris.kohya"
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def install_bitsandbytes_0_41_1():
148
148
)
149
149
150
150
def install_bitsandbytes_0_41_2 ():
151
- log .info ("Installing bitsandbytes 0.41.1 ..." )
151
+ log .info ("Installing bitsandbytes 0.41.2 ..." )
152
152
setup_common .install (
153
153
"--upgrade https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.2.post2-py3-none-win_amd64.whl" ,
154
154
"bitsandbytes 0.41.2" ,
@@ -204,7 +204,7 @@ def main_menu(headless: bool = False):
204
204
elif choice_torch == "3" :
205
205
install_bitsandbytes_0_41_1 ()
206
206
break
207
- elif choice_torch == "3 " :
207
+ elif choice_torch == "4 " :
208
208
install_bitsandbytes_0_41_2 ()
209
209
break
210
210
elif choice_torch == "5" :
You can’t perform that action at this time.
0 commit comments