-
Notifications
You must be signed in to change notification settings - Fork 194
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
Error using 'restore faces' after 1.8.0-RC #407
Comments
Revert to 1.7 or use ZLUDA or SD.Next. microsoft/DirectML#196 |
Hi lshqqytiger, thanks for your reply. I'll revert back to 1.7 as SD.Next is slow than your fork on my aging GCN card. |
Hi, did reverting back to 1.7 help? If yes, could you please tell me how to do that? |
Hi Zira3l137, yes, going back to version 1.7 brought back the function of restoring faces. I chose to go back to commit '601f7e3704707d09ca88241e663a763a2493b11a' (fix sysinfo), from February 16, which was the last update I did and everything worked. The command I used was (without quotes): "git reset --hard 601f7e3" Keep in mind that any changes made to 'webui-user.bat' will be lost, so I recommend backing up the settings before reverting to 1.7. As a precaution, make a copy of the 'config.json', 'ui-config.json' and 'styles.csv' files as well, even though these weren't modified when reverting, it's better to be on the safe side. Another, less drastic, option is to use the CPU for functions that use CodeFormer and GFPGAN, by adding the command '--use-cpu gfpgan codeformer' to your 'webui-user.bat'. As my processor is a Ryzen gen1, using CodeFormer (my favorite) on the CPU was very slow, which is why I personally chose to revert to 1.7. Hope I've helped and good luck with the process. |
Thank you so much my friend, you've no idea how much you've helped me! Cheers! |
Thanks, the --use-cpu gfpgan codeformer command works great. However, after one generation, Stable Diffusion crashes and it has to be restarted every time. Any idea why this happens? So I can generate one image, the second one just crashes SD without an Error. It only says "Press any key to continue..." This command also works on ipex, since the same issue exists there, but it also crashes after one generation, when you use Face Swap Extensions at least. |
Hi HyunJae5463, I've never come across this type of error. Maybe you can send the ´logs' to a file and get an error message that will give you a clue. Using '--use-cpu gfpgan codeformer' I couldn't reproduce the error you mentioned. I generated consecutive images with the 'restore faces' function enabled. No errors either with CodeFormer or GFPGAN. All the images had a satisfactory correction. Using the CPU for face correction works fine here in 1.8.0. I don't use this extension, so I don't know if it would break here too. Perhaps opening an issue with the developers of the 'FaceSwap' extension would help. |
Sorry HyunJae5463, inconclusive. |
How did you revert to 1.7.0? |
|
How did you revert to 1.6.1? |
Fixed |
Checklist
What happened?
After update to 1.8.0-RC when enabling 'restore faces' the image is generated but no face correction is applied.
Steps to reproduce the problem
enable 'restore faces'
press generate
What should have happened?
faces a bit better
What browsers do you use to access the UI ?
No response
Sysinfo
.
Console logs
Additional information
I have already removed the old 'venv'. Same error with CodeFormer and/or GFPGAN. The models are installed in their respective directories.
The text was updated successfully, but these errors were encountered: