Skip to content

Commit 55386bb

Browse files
authored
Merge pull request #2130 from bmaltais/dev
v23.0.14
2 parents 95112e9 + 0afc9c8 commit 55386bb

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v23.0.13
1+
v23.0.14

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The GUI allows you to set the training parameters and generate and run the requi
3838
- [No module called tkinter](#no-module-called-tkinter)
3939
- [SDXL training](#sdxl-training)
4040
- [Change History](#change-history)
41+
- [2024/03/13 (v23.0.14)](#20240313-v23014)
4142
- [2024/03/13 (v23.0.13)](#20240313-v23013)
4243
- [2024/03/16 (v23.0.12)](#20240316-v23012)
4344
- [New Features \& Improvements](#new-features--improvements)
@@ -380,6 +381,10 @@ The documentation in this section will be moved to a separate document later.
380381

381382
## Change History
382383

384+
### 2024/03/13 (v23.0.14)
385+
386+
- Fix blip caption issue
387+
-
383388
### 2024/03/13 (v23.0.13)
384389

385390
- Fix issue with image samples.

kohya_gui/blip_caption_gui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ def caption_images(
5858

5959
# Construct the command to run
6060
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)}"'
6363
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)}"'
6666
if beam_search:
6767
run_cmd += f" --beam_search"
6868
if caption_file_ext:

kohya_gui/lora_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ def train_model(
719719

720720
if LoRA_type == "LyCORIS/Diag-OFT":
721721
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}"'
723723

724724
if LoRA_type == "LyCORIS/DyLoRA":
725725
network_module = "lycoris.kohya"

setup/setup_windows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def install_bitsandbytes_0_41_1():
148148
)
149149

150150
def install_bitsandbytes_0_41_2():
151-
log.info("Installing bitsandbytes 0.41.1...")
151+
log.info("Installing bitsandbytes 0.41.2...")
152152
setup_common.install(
153153
"--upgrade https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.2.post2-py3-none-win_amd64.whl",
154154
"bitsandbytes 0.41.2",
@@ -204,7 +204,7 @@ def main_menu(headless: bool = False):
204204
elif choice_torch == "3":
205205
install_bitsandbytes_0_41_1()
206206
break
207-
elif choice_torch == "3":
207+
elif choice_torch == "4":
208208
install_bitsandbytes_0_41_2()
209209
break
210210
elif choice_torch == "5":

0 commit comments

Comments
 (0)