Skip to content
Merged

v23.1.0 #2219

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
739da3a
Update setup common functions
bmaltais Mar 22, 2024
25f9378
BLIP2 Captioning (#2144)
bmaltais Mar 23, 2024
e50cb8a
Aligh windows requirements to new sd-scripts requirements
bmaltais Mar 24, 2024
f52167d
Merge branch 'dev' of https://github.com/bmaltais/kohya_ss into dev
bmaltais Mar 24, 2024
43069a8
Update Triton install warning
bmaltais Mar 24, 2024
64360ce
Fix issue where max_grad_norm = 0 would not show in the command line …
bmaltais Mar 25, 2024
85c2b37
Fix max grad norm issue in DB
bmaltais Mar 25, 2024
452a813
Update logging for validate_requirements.py (#2159)
Disty0 Mar 26, 2024
0a05c07
Update to sd-scripts dev branch
bmaltais Mar 26, 2024
0f889a8
Add gui support for noise_offset_random_strength, ip_noise_gamma, ip_…
bmaltais Mar 26, 2024
b0139c7
Add gui support for save_state_on_train_end
bmaltais Mar 26, 2024
9fd7cf8
Update requirements
bmaltais Mar 26, 2024
381e852
Add support for masked_loss to the GUI
bmaltais Mar 27, 2024
9df3ed9
Update readme and automate accelerate config on windows
bmaltais Mar 27, 2024
a185f2c
Update sd-script dev commit to latest
bmaltais Mar 27, 2024
d74361e
Update README
bmaltais Mar 27, 2024
5d4c448
AMD ROCm installer (#2167)
Disty0 Mar 27, 2024
791ae79
Update README
bmaltais Mar 29, 2024
ebc157b
Add support for Main process port
bmaltais Mar 30, 2024
666c860
Update sd-scripts version
bmaltais Mar 30, 2024
d504015
chore(docker): Fix bitsandbytes can't find cuda (#2178)
jim60105 Mar 30, 2024
2dc81c7
Update IPEX to 2.1.20+xpu (#2181)
Disty0 Mar 30, 2024
3736882
Merge branch 'dev' of https://github.com/bmaltais/kohya_ss into dev
bmaltais Mar 31, 2024
7251cb8
Bump crate-ci/typos from 1.18.2 to 1.19.0 (#2189)
dependabot[bot] Apr 1, 2024
c4a1104
Update sd-script and add new test config
bmaltais Apr 1, 2024
b3a78fe
Move Accelerate launch to own accordion (#2192)
bmaltais Apr 1, 2024
ce1369d
Add support for Debiased Estimation loss to dreambooth (#2194)
bmaltais Apr 2, 2024
d4e23f9
Update accelerate launch parameters
bmaltais Apr 2, 2024
17186c2
Add config.toml defaults for dataset preparation section (#2199)
bmaltais Apr 2, 2024
0a8395d
Move debiased estimation loss and v_pred like noise
bmaltais Apr 3, 2024
c78c1ab
Add new field for extra accelerate launch arguments (#2200)
bmaltais Apr 3, 2024
8bf7d32
Add support for --config parameter to kohya_gui.py
bmaltais Apr 3, 2024
94c6711
Update to latest sd-scripts dev branch ommit
bmaltais Apr 3, 2024
c827268
Cleanup old files and code
bmaltais Apr 3, 2024
49f7634
Format with black
bmaltais Apr 3, 2024
ec04263
Restructure files
bmaltais Apr 3, 2024
ef1dcaf
Fix warning messages
bmaltais Apr 4, 2024
0aa9141
Adding support for more config.toml values
bmaltais Apr 4, 2024
5bd439f
Add basic section to config example.toml
bmaltais Apr 4, 2024
e9c53d1
Add remaining values to config.toml
bmaltais Apr 4, 2024
7b74dbf
Add code to check config file folder path existance
bmaltais Apr 5, 2024
e8fa917
Ad new caption tool
bmaltais Apr 6, 2024
da5b774
Improve new caption tool
bmaltais Apr 6, 2024
67c3b90
Update to sd-scripts 0.8.7 release
bmaltais Apr 7, 2024
b452f4c
Merge branch 'master' into dev
bmaltais Apr 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restructure files
  • Loading branch information
bmaltais committed Apr 3, 2024
commit ec04263028b1beb4450cf3c4acb9c022f7ef8310
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"python.linting.enabled": true,
"python.formatting.provider": "yapf",
"DockerRun.DisableDockerrc": true,
"augment.enableAutomaticCompletions": false
"augment.enableAutomaticCompletions": true
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions dreambooth_gui.py → deprecated/dreambooth_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def UI(**kwargs):
headless = kwargs.get("headless", False)
log.info(f"headless: {headless}")

if os.path.exists("./style.css"):
with open(os.path.join("./style.css"), "r", encoding="utf8") as file:
if os.path.exists("./assets/style.css"):
with open(os.path.join("./assets/style.css"), "r", encoding="utf8") as file:
log.info("Load CSS...")
css += file.read() + "\n"

Expand Down
4 changes: 2 additions & 2 deletions finetune_gui.py → deprecated/finetune_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def UI(**kwargs):
headless = kwargs.get("headless", False)
log.info(f"headless: {headless}")

if os.path.exists("./style.css"):
with open(os.path.join("./style.css"), "r", encoding="utf8") as file:
if os.path.exists("./assets/style.css"):
with open(os.path.join("./assets/style.css"), "r", encoding="utf8") as file:
log.info("Load CSS...")
css += file.read() + "\n"

Expand Down
4 changes: 2 additions & 2 deletions lora_gui.py → deprecated/lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def UI(**kwargs):
headless = kwargs.get("headless", False)
log.info(f"headless: {headless}")

if os.path.exists("./style.css"):
with open(os.path.join("./style.css"), "r", encoding="utf8") as file:
if os.path.exists("./assets/style.css"):
with open(os.path.join("./assets/style.css"), "r", encoding="utf8") as file:
log.info("Load CSS...")
css += file.read() + "\n"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def UI(**kwargs):
headless = kwargs.get("headless", False)
log.info(f"headless: {headless}")

if os.path.exists("./style.css"):
with open(os.path.join("./style.css"), "r", encoding="utf8") as file:
if os.path.exists("./assets/style.css"):
with open(os.path.join("./assets/style.css"), "r", encoding="utf8") as file:
log.info("Load CSS...")
css += file.read() + "\n"

Expand Down
4 changes: 2 additions & 2 deletions utilities_gui.py → deprecated/utilities_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
def UI(**kwargs):
css = ''

if os.path.exists('./style.css'):
with open(os.path.join('./style.css'), 'r', encoding='utf8') as file:
if os.path.exists('./assets/style.css'):
with open(os.path.join('./assets/style.css'), 'r', encoding='utf8') as file:
print('Load CSS...')
css += file.read() + '\n'

Expand Down
12 changes: 6 additions & 6 deletions kohya_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import os
import argparse
from kohya_gui.class_gui_config import KohyaSSGUIConfig
from dreambooth_gui import dreambooth_tab
from finetune_gui import finetune_tab
from textual_inversion_gui import ti_tab
from kohya_gui.dreambooth_gui import dreambooth_tab
from kohya_gui.finetune_gui import finetune_tab
from kohya_gui.textual_inversion_gui import ti_tab
from kohya_gui.utilities import utilities_tab
from lora_gui import lora_tab
from kohya_gui.lora_gui import lora_tab
from kohya_gui.class_lora_tab import LoRATools

from kohya_gui.custom_logging import setup_logging
Expand All @@ -23,8 +23,8 @@ def UI(**kwargs):
headless = kwargs.get("headless", False)
log.info(f"headless: {headless}")

if os.path.exists("./style.css"):
with open(os.path.join("./style.css"), "r", encoding="utf8") as file:
if os.path.exists("./assets/style.css"):
with open(os.path.join("./assets/style.css"), "r", encoding="utf8") as file:
log.debug("Load CSS...")
css += file.read() + "\n"

Expand Down
4 changes: 2 additions & 2 deletions kohya_gui/localization_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def file_path(fn):
def js_html_str(language):
head = f'<script type="text/javascript">{localization.load_language_js(language)}</script>\n'
head += (
f'<script type="text/javascript" src="{file_path("js/script.js")}"></script>\n'
f'<script type="text/javascript" src="{file_path("assets/js/script.js")}"></script>\n'
)
head += f'<script type="text/javascript" src="{file_path("js/localization.js")}"></script>\n'
head += f'<script type="text/javascript" src="{file_path("assets/js/localization.js")}"></script>\n'
return head


Expand Down