Closed Theagainmen closed 1 year ago
The issue also seems related to the "Save individual images" and "Upscale images using RealESRGAN" when they are enabled in the advanced options (either one of them).
have had same issue several times
a way that I get around this issue is by changing the number of sampling steps... bizarre, I know
a way that I get around this issue is by changing the number of sampling steps... bizarre, I know
Already tried this but it doesn't seem to work either, sometimes (very rarely) one will succeed but still most will fail.. How come no more users are reporting this issue? I can't find any other people experiencing this (other than this thread), while it's almost unusable for me now :o
Weirdly seems to do with an update to gfpgan's main repository. They updated utils.py in Revision 7272e458874cb9a3b1b68c38a7136b2b8dd71f69 which I think broke the model somehow. Reverting the changes seemed to help
I'm also getting this error most of the time. It's pretty unusable at this point, unfortunately. @jjisnow, how did you revert the changes? I tried downloading an old version of the model from the gfpgan releases, but am getting the same error.
@Jason94
Replace the utils.py at stable-diffusion-webui\src\gfpgan\gfpgan\utils.py
with the one from before the change: https://raw.githubusercontent.com/TencentARC/GFPGAN/c7ccc098a7e3120eb666050e991ae111dcdadf34/gfpgan/utils.py
ymmv; I get mixed results
I use an IDE to do it, but I'm guessing:
git checkout 3e27784
git stash
beforehand@jjisnow Do you have errors when turning on 'Fix faces using GFPGAN'? I seem to get the string to float error even when replacing the files from the mentioned repo
Although, I'm about to grab the latest version of sd-webui and see if things are still broken.
@jjisnow Do you have errors when turning on 'Fix faces using GFPGAN'? I seem to get the string to float error even when replacing the files from the mentioned repo
Although, I'm about to grab the latest version of sd-webui and see if things are still broken.
There's been quite a lot of development over the last week on sd-webui, so I would imagine the issues got fixed along the way in the latest version. I'm using the waifu-diffusion fork
Awesome, thanks for the info. I might check out that fork once I'm done testing and tweaking things.
Wish I knew how to cherry pick between branches without screwing it all up and having to delete and start over.
Awesome, thanks for the info. I might check out that fork once I'm done testing and tweaking things.
Wish I knew how to cherry pick between branches without screwing it all up and having to delete and start over.
git stash
to store git checkout <the remote/branch or commit you'd like to explore>
git stash pop
to recall the initial state of your code. Or even git checkout <initial branch>
before the git stash pop
There's far more fancy ways of altering and returning to your code at https://git-scm.com/docs/git-stash
Also, there's https://learngitbranching.js.org/
Thanks, I'll have to sit down and play around with git a bit more with this in mind.
I'm still experiencing this, is anybody else, if the prompt is short it works, however if it is long and gfpgan or realsrgan are on it breaks. I wonder if changing the length of the file name would work?
I'm still experiencing this, is anybody else, if the prompt is short it works, however if it is long and gfpgan or realsrgan are on it breaks. I wonder if changing the length of the file name would work?
It's pretty much what @jjisnow had put out. In my case, I had to use v1.3.4 of GFPGAN repo to make faces work again.
I'm using VSCode, but the easiest way, if not familiar with git, would be to replace files in stable-diffusion-webui\src\gfpgan\
with the v1.3.4 ones.
I'm redoing the whole thing to verify (taking forever waiting for the process to finish)
Nope, master gives other kinds of errors when doing that.
I'm able to get everything working by using this branch, installing all the things, and then replacing the GFPGAN with these files
@jjisnow could you point a link to the branch you're using? I'm finally able to jump around branches more freely after following some of the tutorials you linked to for git, so I'd like to try another known working branch.
I'm almost certain I saw a discussion or possibly an issue with more comments and thoughts than this issue 🤔 can't find it now thou.
Also - the UI sometimes gave me this back when in reality it was cuda that had run out of memory.
On Wed, 7 Sep 2022, 11:02 Theagainmen @.***> wrote:
a way that I get around this issue is by changing the number of sampling steps... bizarre, I know
Already tried this but it doesn't seem to work either, sometimes one will succeed but still most will fail.. How come no more users are reporting this issue? I can't find any other people experiencing this (other than this thread), while it's almost unusable for me now :o
— Reply to this email directly, view it on GitHub https://github.com/sd-webui/stable-diffusion-webui/issues/702#issuecomment-1239110999, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABANI4EOOADAJEBOSLFJ2WLV5BKVLANCNFSM6AAAAAAQFV4I2E . You are receiving this because you commented.Message ID: @.***>
What happened?
First of all thanks for this great project!
I've noticed that whenever I use prompts longer than 1 line in the webui it starts generating, then after it's almost done generating I get the error:
ValueError: could not convert string to float: '8973786304bf4da7aeb8cf4d2e4f7e50'
I also always have this error in the img2img when I use masking. Here is the output (down below).
Version
0.0.1 (Default)
What browsers are you seeing the problem on?
Chrome
Where are you running the webui?
Windows
Custom settings
Relevant log output
Code of Conduct