Open khoitadev opened 1 year ago
Why do I see that the Real-ESRGAN folder is empty? What should I add to this folder? If using git clone https://github.com/xinntao/Real-ESRGAN.git, the path Real-ESRGAN/gfpgan/weights/ does not exist. I hope to receive help from everyone
yeah, you can clone that repo and download weights from ESRGAN.
Sorry but I don't fully understand your answer, can you help me explain it more clearly? What I'm understanding here is step 1: git clone https://github.com/xinntao/Real-ESRGAN.git step 2: cd Real-ESRGAN, then download gfpgan folder from git repository https://github.com/TencentARC/GFPGAN.git
I hope you can explain each step more clearly. I sincerely thank you for your help
Why do I see that the Real-ESRGAN folder is empty? What should I add to this folder? If using git clone https://github.com/xinntao/Real-ESRGAN.git, the path Real-ESRGAN/gfpgan/weights/ does not exist. I hope to receive help from everyone
yeah, you can clone that repo and download weights from ESRGAN.
even after you clone the repo down, it still will not work. Been there, done that.
Sorry but I don't fully understand your answer, can you help me explain it more clearly? What I'm understanding here is step 1: git clone https://github.com/xinntao/Real-ESRGAN.git step 2: cd Real-ESRGAN, then download gfpgan folder from git repository https://github.com/TencentARC/GFPGAN.git
I hope you can explain each step more clearly. I sincerely thank you for your help
yeah., these steps are fine. These should work.
Did you guys have to change the code? Is this how your folder should look like ?? @JuvenileLocksmith @khoitadev @saifhassan
and inside it:
I still get this error:
Real-ESRGAN\inference_realesrgan.py", line 119, in main
from gfpgan import GFPGANer
ImportError: cannot import name 'GFPGANer' from 'gfpgan' (unknown location
I went checking the code it says:
if args.face_enhance: # Use GFPGAN for face enhancement
from gfpgan import GFPGANer
face_enhancer = GFPGANer(
model_path='https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth',
upscale=args.outscale,
arch='clean',
channel_multiplier=2,
bg_upsampler=upsampler)
Isn't there a problem with this code maybe???
Why do I see that the Real-ESRGAN folder is empty? What should I add to this folder? If using git clone https://github.com/xinntao/Real-ESRGAN.git, the path Real-ESRGAN/gfpgan/weights/ does not exist. I hope to receive help from everyone