-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on windows ( no readline ) but pyreadline is avalilable #1
Comments
Oh, so sorry. I'll give pyreadline a try but it looks like it isn't actively supported any longer. If it doesn't work I'll simply disable readline functionality (which gives you command-line editing, etc) on systems that don't support GNU readline. In the meantime, you could just delete all the lines of code that call readline functions and it should "just work" (tm) |
I did it , removed history but now im getting error no module names ldm.simplet2i , and it wont run |
Make sure that you are running python from the stable-diffusion directory. scripts and ldm should be subdirectories. Also check that the file ldm/simple2ti.py is present. I just made a branch in which readline is disabled on machines that don't support it. Try checking out the branch named "noreadline-on-windows" and see if it behaves for you. |
The file is present, i tried new branch and the issue is still the same, errors out with ldm.simplet2i , this file is not in main repo of original branch so i assume its the one you wrote , maybe its a windows thing that its not working, maybe youd have to load the t2i py file somehow first. |
Yes, that's a module I added to the upstream distribution. It is getting loaded in dream.py's main() function, which is an unusual place for it, but I did it so that the help message would print out quickly. Could you try applying the enclosed patch to dream.py? All it does it to move two import statements from main() up to the top where these are usually located. I'm so sorry for the trouble! I don't have access to a Windows machine with a GPU, so this is all a bit of trial and error |
In case you can't gunzip and apply this patch, here it is in full. Just manually delete the two lines starting with "-" and add the two lines starting with "+" (without the - and + symbols)
|
The thing is i do it in notepad ++ i don have the tools to apply it as a patch I did that (nothing else) and its still the same error about no module names ldm.simplet2i |
Ok. I suspect it has something to do with casing on Windows. I'll have to rename the module. It won't take long, but I need to help my wife out with packing for a trip, so look for something later this evening. |
Do You know any other quick way to just load mode l once and keep prompting like on discord ? |
Oh, just a thought. Have you tried running the txt2img.py script that's part of the original distrib? If it loads its modules OK, then it's definitely a problem with my code. |
yeh the original works without any issues, and img2img works as well so main branch code from original repo is fine over here |
I'm going to convince my son to let me install python on his gaming Windows computer so I can test it out for myself. But this is an absolutely solvable problem. If you would, could you cut and paste the error messages you get when you run dream.py? |
(ldm) D:\stabot\scripts>python dream.py Do You know a way t o change original code so it would save the seed in image filename? |
Sure. Tell me how you want the files named and I can do that. |
Great, the names of the prompt and seed at the end, pretty much like on discord would work the best i think to go back and modify the image later keeping same seed |
Just finished install. I ran into a problem superficially similar to yours with the module not being found, but the easy solution was to replace "python3" with "python"
But I doubt this is your problem because the original scripts are working fine for you. I'm using the Anaconda Powershell Prompt (miniconda3). Is this the same shell you're working with? |
yes im on miniconda3 and i did used python , so your code works fine on windows over there ? |
Conda is supposed to take care of path issues, and if the path was an issue then it wouldn't be able to find ldm.util, which is in the same directory as ldm.simplet2i. Maybe there's something wonky in your directory structure? Do me a favor and cut-and-paste the output of "dir ldm":
|
Windows decided to do updates and its pretty slow now, i did not change anything with the structure, unpacked repo to STABOT folder on D drive and moved model to correct folder , its at 100% so ill post contents asap |
No worries. This is probably not going to be helpful, but I'm running out of ideas. I appreciate your patience. |
(base) D:\stabot>dir ldm Directory of D:\stabot\ldm 18/08/2022 23:35 .18/08/2022 23:35 .. 18/08/2022 23:35 data 18/08/2022 22:00 3,882 lr_scheduler.py 18/08/2022 23:35 models 19/08/2022 00:29 modules 18/08/2022 22:00 17,682 simplet2i.py 18/08/2022 22:00 5,855 util.py 3 File(s) 27,419 bytes 5 Dir(s) 43,136,602,112 bytes free |
Can You tell what python you have installed ? maybe if ill repeat your installation then it will run |
OK fixed it! i had to move allyour python scripts to main folder ... How do i switch to non PLMS sampler ? plms is slower than default one here My prompt was - werewolf by frazetta -n 2 -s 57457 |
Wow! I'm so happy you got it figured out. You know, this reminds me that I had the same problem when I first installed the original source code (modules couldn't be found in their subdirectories, but only in main folder). It turned out that the Conda environment was borked. In that case, deleting all Conda's files and rebuilding did the trick. When you launch the script, pass the option "--sampler ddim" to get the DDIM sampler. Unfortunately the k_lms sampler that the discord bot uses is not part of the upstream package. Presumably they will add it at some point and then I'll merge. I will fix the code so that the sampler does not terminate the program, but just issues a message and returns to the command prompt. Did you mean -S 57457 in your example? Lowercase -s is number of steps, which would be crazy high. The next time the plms sampler gives you an error please send the stack trace. I'm going to close the issue now. Feel free to reopen. I moved your request to add seed and prompt to filenames to a different issue tracker (it is issue #2) |
What do you mean by this? can I get a more step by step on that |
Maybe it would be possible to use prompt_toolkit as an alternative. It works on Linux and Windows and should have all the features of readline, but it is also designed for making full on text user interfaces so it might be a bit overkill. Only ~380KiB though and in both pypi and conda repositories. |
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md * add PR to mkdocs-flow * update docs/index.md - removed unecessary headlines - added instructions how to host the docs locally - removed TOC since it is already available via MkDocs - update appearance of the latest changes * Update appearance of docs/featuers/changelog * add me to the contributors and a small cosmetical change to docs/other/CLI.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md * add PR to mkdocs-flow * update docs/index.md - removed unecessary headlines - added instructions how to host the docs locally - removed TOC since it is already available via MkDocs - update appearance of the latest changes * Update appearance of docs/featuers/changelog * add me to the contributors and a small cosmetical change to docs/other/CLI.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md * add PR to mkdocs-flow * update docs/index.md - removed unecessary headlines - added instructions how to host the docs locally - removed TOC since it is already available via MkDocs - update appearance of the latest changes * Update appearance of docs/featuers/changelog * add me to the contributors and a small cosmetical change to docs/other/CLI.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md * add PR to mkdocs-flow * update docs/index.md - removed unecessary headlines - added instructions how to host the docs locally - removed TOC since it is already available via MkDocs - update appearance of the latest changes * Update appearance of docs/featuers/changelog * add me to the contributors and a small cosmetical change to docs/other/CLI.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
#1) * Removed duplicate fix_func for MPS * add support for loading VAE autoencoders To add a VAE autoencoder to an existing model: 1. Download the appropriate autoencoder and put it into models/ldm/stable-diffusion Note that you MUST use a VAE that was written for the original CompViz Stable Diffusion codebase. For v1.4, that would be the file named vae-ft-mse-840000-ema-pruned.ckpt that you can download from https://huggingface.co/stabilityai/sd-vae-ft-mse-original 2. Edit config/models.yaml to contain the following stanza, modifying `weights` and `vae` as required to match the weights and vae model file names. There is no requirement to rename the VAE file. ~~~ stable-diffusion-1.4: weights: models/ldm/stable-diffusion-v1/sd-v1-4.ckpt description: Stable Diffusion v1.4 config: configs/stable-diffusion/v1-inference.yaml vae: models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt width: 512 height: 512 ~~~ 3. Alternatively from within the `invoke.py` CLI, you may use the command `!editmodel stable-diffusion-1.4` to bring up a simple editor that will allow you to add the path to the VAE. 4. If you are just installing InvokeAI for the first time, you can also use `!import_model models/ldm/stable-diffusion/sd-v1.4.ckpt` instead to create the configuration from scratch. 5. That's it! * ported code refactor changes from PR invoke-ai#1221 - pass a PIL.Image to img2img and inpaint rather than tensor - To support clipseg, inpaint needs to accept an "L" or "1" format mask. Made the appropriate change. * minor fixes to inpaint code 1. If tensors are passed to inpaint as init_image and/or init_mask, then the post-generation image fixup code will be skipped. 2. Post-generation image fixup will work with either a black and white "L" or "RGB" mask, or an "RGBA" mask. Co-authored-by: wfng92 <[email protected]>
Upstream changes
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <[email protected]>
* Squashed commit of the following: commit 82d9c25 Author: mauwii <[email protected]> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <[email protected]> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <[email protected]> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <[email protected]> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <[email protected]> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <[email protected]> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <[email protected]> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <[email protected]> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <[email protected]> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <[email protected]> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <[email protected]> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <[email protected]> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <[email protected]> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md * add PR to mkdocs-flow * update docs/index.md - removed unecessary headlines - added instructions how to host the docs locally - removed TOC since it is already available via MkDocs - update appearance of the latest changes * Update appearance of docs/featuers/changelog * add me to the contributors and a small cosmetical change to docs/other/CLI.md Co-authored-by: Lincoln Stein <[email protected]>
Can You make it work with pyreadline ? Its the only one for windows, but when i simply change readline to pyreadline in dream.py then i get atribute errror , pyreadline has not attribute ' read_history_file'
Any way to get it working on win ??
The text was updated successfully, but these errors were encountered: