Commit Graph

81 Commits

Author SHA1 Message Date
bmaltais
369341d69f
Revert "macOS GUI functionality, sub-processed GUI components" 2023-04-01 21:28:47 -04:00
JSTayco
b6d3f10da7 WIP File Dialog Behavior 2023-04-01 17:33:41 -07:00
JSTayco
eef5becab8 All sorts of broken, but I need to commit this for now so I don't lose it. WIP: Using some OOP to reduce imports and centralize some code. No need to remake Tk Windows everywhere for example. Renamed common_gui to common_gui_functions.py to make some of the new code separation more obvious. 2023-03-31 14:39:10 -07:00
JSTayco
e5b83df675 Removed one warning dealing with get_file_path()
Using lambdas now to pass in variable amount of arguments from components. This works right now with a few open windows, but saving and possibly loading will be broken right now. They need the lambda treatment next.

I also split the JSON validation placeholder to library/common_utilities.py.
2023-03-30 13:13:25 -07:00
jstayco
160e371be3
Merge branch 'dev' into macos_gui 2023-03-30 01:53:32 -07:00
JSTayco
7b5639cff5 Huge WIP
This is a massive WIP and should not be trusted or used right now. However, major milestones have been crossed. Both message boxes and file dialogs are now properly subprocessed and work on macOS. I think by extension, it may work on runpod environments as well, but that remains to be tested.
2023-03-30 01:40:00 -07:00
bmaltais
8822eab5a6 Merge new sd-scripts updates 2023-03-28 11:54:42 -04:00
KVZN
3f86e8f7df Fixed the bug that it did not support capital image extensions like .JPG, .JPEG 2023-03-26 17:59:42 +08:00
bmaltais
f83638b8a6 Add device support 2023-03-22 12:55:30 -04:00
bmaltais
1eef89c581 Fix issue 406 2023-03-21 20:34:21 -04:00
bmaltais
1c8d901c3b Update to latest sd-scripts updates 2023-03-21 20:20:57 -04:00
bmaltais
ccae80186a Update to latest sd-script code 2023-03-20 08:47:00 -04:00
bmaltais
87622238c6 Add option to not train TE in Dreambooth 2023-03-19 08:37:28 -04:00
bmaltais
a65555ea67 Add support to load a config without opening the UI to get the file name 2023-03-10 20:05:38 -05:00
bmaltais
25d6e252d3 Save prompt file in sample directory 2023-03-08 07:30:14 -05:00
bmaltais
7ed8f7c3c5 Add additional parameters feild 2023-03-07 07:42:13 -05:00
bmaltais
7249b0baa8 Update to latest sd-script release
add gui support for sample config
2023-03-06 19:15:02 -05:00
bmaltais
2e47a45e3f Change how subprocess is run 2023-03-05 11:43:59 -05:00
bmaltais
09939ff8a8 Remove legacy 8bit adam checkbox 2023-03-05 10:34:09 -05:00
bmaltais
3beeef4414 Add linux support 2023-03-04 18:56:22 -05:00
bmaltais
fa92a5c1e3
Merge branch 'dev' into master 2023-03-04 17:59:31 -05:00
bmaltais
e93de7f8ea Fix issue 296 2023-03-04 17:46:32 -05:00
devdn
bc45bd7e70 fix bugs that make some processes not work on linux 2023-03-04 00:11:23 -05:00
bmaltais
482d7834d1 Emergency fix 2023-03-02 17:51:17 -05:00
bmaltais
182080bb78 Run blue 2023-03-01 19:24:11 -05:00
bmaltais
7f0e5683c6 v21.0.1 2023-03-01 19:02:04 -05:00
bmaltais
1e3055c895 Update tensorboard 2023-03-01 13:14:47 -05:00
bmaltais
9d2e3f85a2 Add tensorboard support 2023-02-26 19:49:22 -05:00
bmaltais
f213b15014 Updates 2023-02-24 20:37:51 -05:00
bmaltais
bf0344ba9e Adding GUI support for new features 2023-02-22 20:32:57 -05:00
bmaltais
dfc9a8dd40 Fix issue with save config 2023-02-20 07:56:24 -05:00
bmaltais
758bfe85dc Adding support for Lion optimizer in gui 2023-02-19 20:13:03 -05:00
bmaltais
e5f8ba559f Add server_port and inbrowser support
- to all gui scripts
2023-02-10 08:22:03 -05:00
bmaltais
09d3a72cd8 Adding support for caption dropout 2023-02-07 20:58:35 -05:00
bmaltais
cbfc311687 Integrate new bucket parameters in GUI 2023-02-05 20:07:00 -05:00
bmaltais
2626214f8a Add support for LoRA resizing 2023-02-04 11:55:06 -05:00
bmaltais
202923b3ce Add support for --keep_token option 2023-01-27 07:33:44 -05:00
bmaltais
f265197ba9 Remove unneeded arguments 2023-01-19 20:51:40 -05:00
bmaltais
567221549f Complete training code refactoring 2023-01-15 19:59:40 -05:00
bmaltais
123cf4e3c5 Move cxommon adv train parm to common gui 2023-01-15 15:03:04 -05:00
bmaltais
abccecb093 Move save_state and resume to common gui
Format code
2023-01-15 12:01:59 -05:00
bmaltais
6aed2bb402 Add support for new arguments:
- max_train_epochs
- max_data_loader_n_workers
Move some of the codeto  common gui library.
2023-01-15 11:05:22 -05:00
bmaltais
43116feda8 Add support for max token 2023-01-10 09:38:32 -05:00
bmaltais
dc5afbb057 Move functions to common_gui
Add model name support
2023-01-09 11:48:57 -05:00
bmaltais
fdb4508a62 - Add model output name parameter to dreambooth
- Simplify config load and save
- blue code
2023-01-09 10:14:40 -05:00
bmaltais
402cb51ec0 refactor Dreambooth gui code 2023-01-09 08:08:47 -05:00
bmaltais
a4262c0a66 - Add vae support to dreambooth GUI
- Add gradient_checkpointing, gradient_accumulation_steps, mem_eff_attn, shuffle_caption to finetune GUI
- Add gradient_accumulation_steps, mem_eff_attn to dreambooth lora gui
2023-01-08 20:55:41 -05:00
bmaltais
34f7cd8e57 Add new Utility to Extract a LoRA from a finetuned model 2023-01-06 18:25:55 -05:00
bmaltais
c20a10d7fd Emergency fix for dreambooth_ui no longer working, sorry
- Add LoRA network merge too GUI. Run `pip install -U -r requirements.txt` after pulling this new release.
2023-01-06 07:13:12 -05:00
bmaltais
b8100b1a0a - Add support for --clip_skip option
- Add missing `detect_face_rotate.py` to tools folder
- Add `gui.cmd` for easy start of GUI
2023-01-05 19:16:13 -05:00