invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.34k stars 2.4k forks source link

[bug]: Upscale Image doesn't work for me #2054

Closed if3lc closed 1 year ago

if3lc commented 1 year ago

Is there an existing issue for this?

OS

macOS

GPU

cpu

VRAM

16

What happened?

When I try to use "Upscale Image" I get an error. I'm getting a similar error in the "Restore Faces" section.

Screenshots

image

Full response, https://app.warp.dev/block/Gq5REEkhGLNU8J9VFeAKfX

Additional context

No response

Contact Details

No response

if3lc commented 1 year ago

During this time I have uninstalled and reinstalled 4 times but I keep getting the same error.

if3lc commented 1 year ago

Unfortunately I keep getting the same error in version 2.2.5.

kriptolix commented 1 year ago

Ok, there are two relevant problems in the log, first the patchmatch installation, but for now it still doesn't work on Mac. Second, the script is not finding the corresponding files for GFPGAN and CodeFormer.

Please, check if the following files exist and can be read normally:

/Users/if3lc/invokeai/models/gfpgan/GFPGANv1.4.pth /Users/if3lc/invokeai/models/codeformer/codeformer.pth

if3lc commented 1 year ago

I didn't have the files at the address you mentioned, after downloading the files and putting them in the relevant folders, the problem was fixed in the "Upscale Image" section, thank you 🙏

I still have the problem in the "Restore Face" section, I get exactly the output below. https://app.warp.dev/block/0ckE8GKRS8FSfYqMqQVorV

kriptolix commented 1 year ago

Okay, this is an SSL certificate error, when invoke tries to download detection_Resnet50_Final.pth.

There is a way to solve this by changing an execution file, but I couldn't find the issue that explains which file. For now, you can try to install the openssl lib. If you use brew:

$ brew install openssl

if3lc commented 1 year ago

Thank you very much for your help :) I installed openssl but nothing changed, final result, https://app.warp.dev/block/jE5ocNvBovYIdPdSQheyq0

rfrost-xyz commented 1 year ago

Duplicate of #1810?

kriptolix commented 1 year ago

Duplicate of #1810?

Yes, this is the issue that I was looking for.

if3lc commented 1 year ago
image

I changed it this way but unfortunately it didn't work for me, returning the result, https://app.warp.dev/block/prLRWO47oeS63Wzu9UqneW

By the way, I'm having trouble with the "Restore Face" section.

github-actions[bot] commented 1 year ago

There has been no activity in this issue for 14 days. If this issue is still being experienced, please reply with an updated confirmation that the issue is still being experienced with the latest release.