mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-04 08:14:41 +00:00
Discriminators loading #212
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mm-photoaid on GitHub (Jul 27, 2022).
Hi, I was going through your repo and was interested in reusing your trained discriminators.
Unfortunately I couldnt find how can I load them. I found in
gfpganv1_arch.pyclassFacialComponentDiscriminator, is this thetorch.nn.Modulethat is compatible with weights fromGFPGANv1_net_d.pth? I want to load your discriminator to my custom pytorch module, is it even possible to do?@hfutxyh commented on GitHub (Feb 23, 2024):
Hello, I wanted to ask if you have solved this problem? I also want to use the pretrained discriminator model included in it.