Commit Graph

30 Commits (d8a51f34fd15dc4fbbe4e8416cd3270f23818c09)

Author SHA1 Message Date
Maatra 25d7c6889f
Changed logger checkbox to dropdown, renamed use_wandb -> log_with (#2352) 2024-04-19 13:14:15 -04:00
bmaltais b4f1589f18
2330 another seemingly new data validation leads to unusable configs 2403 (#2339)
* Fix issue with None values staying as 0 in toml config file

* Fix noise_offset issues (and possibly other issues)
2024-04-18 21:47:00 -04:00
Bernard Maltais be5d30130f Fix clip_skip issue 2024-04-17 13:25:55 -04:00
bmaltais e519ffec06 Fix warning about dropdown 2024-04-15 13:59:13 -04:00
bmaltais eec6f9baf4 Convert str numbers to proper int or float 2024-04-15 08:02:39 -04:00
bmaltais 572dcd10ab Add Huber loss support 2024-04-07 10:35:07 -04:00
bmaltais 0aa91418b3 Adding support for more config.toml values 2024-04-03 22:19:57 -04:00
bmaltais 49f76343b5 Format with black 2024-04-03 18:32:25 -04:00
bmaltais 0a8395ddfe Move debiased estimation loss and v_pred like noise 2024-04-02 20:21:45 -04:00
bmaltais b3a78febd1
Move Accelerate launch to own accordion (#2192)
* Move accelerate launch parameters to own accordion
2024-04-01 16:07:34 -04:00
Bernard Maltais ebc157bb68 Add support for Main process port 2024-03-29 20:56:37 -04:00
bmaltais 381e85296a Add support for masked_loss to the GUI 2024-03-26 20:14:07 -04:00
bmaltais b0139c751a Add gui support for save_state_on_train_end 2024-03-26 19:22:27 -04:00
bmaltais 0f889a8eb6 Add gui support for noise_offset_random_strength, ip_noise_gamma, ip_noise_gamma_random_strength 2024-03-26 19:12:48 -04:00
Bernard Maltais aaf0396d62 Fix vae path validation 2024-03-21 13:37:02 -04:00
Bernard Maltais c31e6c1073 Update icons 2024-03-20 19:45:24 -04:00
bmaltais 8f04e04185
Merge branch 'dev' into master 2024-03-18 13:21:22 -04:00
Hina Chen ffb6430c9f Cleanup and bump localization to 23.0.11 2024-03-18 10:11:01 +08:00
bmaltais 4f59a28259 Update config code 2024-03-17 11:52:56 -04:00
bmaltais 5878bd6139 Move config for gui to seperate class
Add support for more config paths
2024-03-17 11:08:54 -04:00
bmaltais 7186869c72
Code improvements (#2107)
* Fix incorrect float representation

* Improve code

* Improve code quality

* Improve code

* Updates for https://github.com/bmaltais/kohya_ss/issues/2103
2024-03-15 22:54:00 -04:00
bmaltais 7081b22cba Add support for `wandb_run_name`, `log_tracker_name` and `log_tracker_config` parameters under the advanced section. 2024-03-14 19:41:34 -04:00
bmaltais 2259129f33 Add "" at the begining of list_* to remove confusion and fix issues with optional field being set to a wroong default 2024-03-09 14:27:10 -05:00
bmaltais 1d61833c8a Fix issue with VAE list 2024-03-09 13:55:13 -05:00
Won-Kyu Park 696efdc893
add missing nonlocal scope keywords 2024-03-10 01:34:55 +09:00
bmaltais 3e023952df
Dev pure (#2039)
* Remove library folder, update setup_windows

* Cleanup sd-scripts files

* set sd-scripts release via file

* More cleanup

* Point to sd-scripts python files

* Fix blip captioning working directory

* Fix typo

* Fix issue with verify lora

* Improve git cloning of sd-scripts repo

* Integrate cloning in linux setup script

* Remove unnecessary folder

* Update linux setup

* Removing unnecessary code

* Fix validation issue under linux

* Update tensorboard version linux

* Updating linux requirements

* Update README

* Added submodule for sd-scripts

* Update for proper submodule handling

* Simplify submodule init

* Update comment

* Improve WSL2 LD_LIBRARY_PATH handling

* Update tensorboard handling of logging_dir

* chore(docker): update TensorFlow and TensorBoard versions

- Upgrade TensorFlow version in Dockerfile and requirements to 2.15.0.post1
- Update TensorBoard version in requirements to 2.15.2

Signed-off-by: 陳鈞 <jim60105@gmail.com>

* chore(docker): Add a mount for `sd-scripts` in the Dockerfile during pip install

- Add a mount step for `sd-scripts` in the Dockerfile during pip install.

Signed-off-by: 陳鈞 <jim60105@gmail.com>

* doc(docker): Update readme about docker

* Fix issue with TE LR

* Fix issue with TE LR

* Update sd-scripts to Feb 27 2024 commit

* Update version of bnb for windows

* Update windows setup

* Update windows setup

* Update bnb linux to match windows

* remove height:auto

* update UI

 * unify Quick Pick + custom model selection into gr.Dropdown()
 * add list_dirs(), list_files()
 * use gr.Accordion()
 * always show model + training image folder + output name + minimal default settings
 * do not show hidden files
 * clean up list_*()

* use PYTHONPATH env variable

* add "tool" classname to gr.Button() for sd-webui compatible

* update *_caption_gui.py using create_refresh_buttons()

* update Utilities->Group Images

* update Utilities->Convert model

* update dataset gui

* update Dreambooth/LoRA folders preparation

* update *lora*_gui UI using list_files(), create_refresh_button()

* more fixes for PYTHONPATH

* Minor edits to basic caption and common gui

* Optimising some code

* Fix path issue

* Fix issues with list_images_dir

* Update finetuning image folder label

* Minor updates to UI

---------

Signed-off-by: 陳鈞 <jim60105@gmail.com>
Co-authored-by: 陳鈞 <jim60105@gmail.com>
Co-authored-by: Won-Kyu Park <wkpark@gmail.com>
2024-03-09 09:30:20 -05:00
Won-Kyu Park e2578cfe34
revert gr.update() and use gr.*.update() 2024-03-02 22:03:05 +09:00
Won-Kyu Park 644c911207
fix typos 2024-03-02 14:10:03 +09:00
Won-Kyu Park 708245e1e6
more cleanup
- use sys.executable
 - check *_dir validity and remove doublequotes strip
 - set `scriptdir`
 - use gr.update()
 - unify Folders for finetune
 - use subprocess.run(run_cmd, shell=True, env=env)
2024-03-02 14:10:02 +09:00
Won-Kyu Park bdb98af295
move gui related files to kohya_gui/ 2024-02-27 21:54:38 +09:00