-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add Upscale Face / Remove Background nodes in NCNN (for older AMD GPU) #3001
Comments
The face models cannot be converted to NCNN as far as I'm aware. Not sure about the background removal ones though |
I found those same models in ONNX format within ChaiNNer, but there is no "Upscale Face" in the ONNX section. I did found today RestoreFormerPlusPlus in .ckpt that didn't work in ChaiNNer. Later I found an ONNX version, but not a .pth, then because ONNX section doesn't have "Upscale Face", then, I can't test it. But it doesn't help either, because my GPU doesn't work in ONNX mode, only CPU. |
For face upscale with NCNN there is a half-abandoned project: https://github.com/onuralpszr/GFPGAN-ncnn-vulkan. A couple of years ago I tried it and it worked. It uses a somewhat outdated model GFPGANCleanv1-NoCE-C2. Still it cannot be loaded into chaiNNer as is. |
I was able to compile it, as it is, has some quirks:
Is better than nothing. There is a fork, but got worst experience:
- import os,sys,aifc
- l=3
+ import os,sys,errno
+ d=9 |
Motivation
Description
Alternatives
I don't know of any alternative, maybe:
I'm very happy and grateful with the things that you can do in ChaiNNer (without dependency hell or knowing python).
The text was updated successfully, but these errors were encountered: