How to run GFPGANv1.pth (paper model with colorization) on CPU or non-nVidia GPUs? #88

Open
opened 2026-01-29 21:41:33 +00:00 by claunia · 2 comments
Owner

Originally created by @ullaf on GitHub (Oct 17, 2021).

I suspect it might not be an easy tweak otherwise it'd already be out in github, but wonder which option could be easier, even if it takes a long time for each image.
If possible both GFPGANv1.pth and RealESRGAN (for backgrounds) would run on CPU on the same image.
Any solutions appreciated.

Thank you

Originally created by @ullaf on GitHub (Oct 17, 2021). I suspect it might not be an easy tweak otherwise it'd already be out in github, but wonder which option could be easier, even if it takes a long time for each image. If possible both GFPGANv1.pth and RealESRGAN (for backgrounds) would run on CPU on the same image. Any solutions appreciated. Thank you
Author
Owner

@uubuge commented on GitHub (Dec 26, 2021):

我也想知道

@uubuge commented on GitHub (Dec 26, 2021): 我也想知道
Author
Owner

@soulteary commented on GitHub (May 20, 2022):

To give you a simple references: https://github.com/TencentARC/GFPGAN/issues/194

@uubuge @ullaf

@soulteary commented on GitHub (May 20, 2022): To give you a simple references: https://github.com/TencentARC/GFPGAN/issues/194 @uubuge @ullaf
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#88