Commit Graph

208 Commits

Author SHA1 Message Date
b978536385 code is reorganized and mostly functional. Grid needs to be brought back online, as well as naming of img2img variants (currently the variants get written but not logged) 2022-08-24 19:47:59 -04:00
b12955c963 remove unneeded imports from dream.py 2022-08-24 17:57:44 -04:00
9133087850 first draft at big refactoring; will be broken 2022-08-24 17:52:34 -04:00
1eec6b776b tweaked documentation and comments slightly 2022-08-24 15:25:52 -04:00
776c747978 added warning message when width/height specified along with init img 2022-08-24 14:04:27 -04:00
ee10021ea2 bikeshedding 2022-08-24 13:36:27 -04:00
ca82acfd3b Remove unnecessary print, small optmi 2022-08-24 13:33:19 -04:00
feea5fb063 Merge branch 'main' of https://github.com/BaristaLabs/stable-diffusion-dream into add-simple-variant-mechanism 2022-08-24 13:16:15 -04:00
b5cdbd3b0b Fixes issue with cuda/current mismatch 2022-08-24 13:14:08 -04:00
47a5da25b7 runtime errors now produce a stack trace 2022-08-24 12:57:04 -04:00
c6b5e930dc Merge branch 'main' of https://github.com/BaristaLabs/stable-diffusion-dream into add-simple-variant-mechanism 2022-08-24 12:06:29 -04:00
d33e1bf563 Add simple way to make variants 2022-08-24 12:02:36 -04:00
c24a16ccb0 resolved merge conflicts 2022-08-24 11:50:48 -04:00
37609d6e53 resolved merge conflicts 2022-08-24 11:42:44 -04:00
9050ce152b Fixed up a few merge conflicts, looks good so far 2022-08-24 11:29:32 -04:00
decd1a58d2 Merge branch 'escape-single-quotes' into main
This prevents single quotes in the prompt from generating a parse error.
2022-08-24 11:21:09 -04:00
7f4a5e946d Merge branch 'tildebyte-feat-samplers-add-remaining-k' into main
This adds the remaining k_* samplers to the dream.py script.
2022-08-24 11:19:45 -04:00
4bc64a6aff sampler now written to PNG metadata 2022-08-24 11:18:51 -04:00
3393b8cad1 added assertion checks for out-of-bound arguments; added various copyright and license agreement files 2022-08-24 09:22:27 -04:00
1df1e5c38b Test for the presence of the specified img2img 2022-08-23 19:22:35 -04:00
8952196bbf Add personalization 2022-08-23 18:26:28 -04:00
050dffd269 feat(samplers): add ability use all k_* samplers
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
2022-08-23 17:26:22 -04:00
de1cea92ce Small QoL imporvements 2022-08-23 12:49:17 -05:00
3a58988e4a escape single quotes in the command stream so as not to confuse the shlex parser 2022-08-23 13:46:50 -04:00
716dbbdf8c resolved conflicts in README changelog 2022-08-23 10:40:22 -04:00
1f2e52a1d6 fixed filename generation so that newer files are always chronologically later 2022-08-23 10:39:18 -04:00
11c0df07b7 prompt weighting not working 2022-08-23 01:23:14 -04:00
710b908290 Keyboard interrupt retains seed and log information in files produced prior to interrupt. Closes #21 2022-08-23 00:51:38 -04:00
bc7b1fdd37 Added --from_file argument to load input from a file. Closes #23 2022-08-23 00:30:06 -04:00
6d1219deec fixed filenames 2022-08-22 23:56:36 -04:00
e019de34ac can now change output directories in mid-session using cd and pwd commands 2022-08-22 21:14:31 -04:00
88563fd27a added support for cd command in path completer 2022-08-22 21:01:06 -04:00
e70169257e better exception handling for out of memory errors and badly formatted prompts 2022-08-22 16:55:06 -04:00
a20827697c adjusted instructions for the released stable-diffusion-v1 weights 2022-08-22 15:33:27 -04:00
e1d52822c5 fixed crash that occurs if you type an empty prompt at the dream> prompt 2022-08-22 12:40:54 -04:00
xra
e4eb775b63 added optional parameter to skip subprompt weight normalization
allows more control when fine-tuning
2022-08-23 00:03:32 +09:00
aa2729d868 user's prompt is now normalized for reproducibility and written into the destination PNG file as a tEXt metadata chunk named "Dream". You can retrieve the prompt with an image editing program that supports browsing the full metadata, or with the images2prompt.py script located in 'scripts' 2022-08-22 00:12:16 -04:00
5f352aec87 test of normalization of prompt 2022-08-21 22:48:40 -04:00
78aba5b770 preparing for merge into main 2022-08-21 19:57:48 -04:00
d340afc9e5 Merge branch 'main' of https://github.com/hwharrison/stable-diffusion into hwharrison-main 2022-08-21 16:32:31 -04:00
7085d1910b set sys.path to include "." before loading simplet1i module 2022-08-21 11:03:22 -04:00
503f962f68 ntpath doesn't have append, use join instead 2022-08-20 22:38:56 -05:00
41f0afbcb6 add klms sampling 2022-08-20 22:28:29 -05:00
6650b98e7c close #11 2022-08-20 19:49:12 -04:00
1ca3dc553c added "." directory to sys path to prevent ModuleNotFound error on ldm.simplet2i that some Windows users have experienced 2022-08-20 19:46:54 -04:00
0cea751476 remove shebang line from scripts; suspected culprit in Windows "module ldm.simplet2i not found" error 2022-08-19 06:33:42 -04:00
4cb5fc5ed4 changed default output directory to outputs/img-samples because the same directory is now used for both txt2img and img2img 2022-08-18 23:23:44 -04:00
d8926fb8c0 indentation error prevented filenames from printing 2022-08-18 23:15:03 -04:00
80c0e30099 intercept keyboard interrupt during processing and return to prompt;
remove "!dream" from beginning of prompt;
user can quit by typing <q>
2022-08-18 23:03:22 -04:00
ac440a1197 disable readline functionality on windows 2022-08-18 16:00:44 -04:00