Finetuning provided model #48

Open
opened 2026-01-29 21:39:40 +00:00 by claunia · 0 comments
Owner

Originally created by @icoric4 on GitHub (Aug 17, 2021).

Hello and thanks for an awesome project!

I am trying to finetune this model - https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth , but when I have
network_g:
type: GFPGANv1
I get a lot of mismatches between the layers. So I figured the models are different.

Am I right to assume that this ckpt is the GFPGANv1Clean model and if so, how can I finetune it.

When I change the config to:
network_g:
type: GFPGANv1Clean
I get:
KeyError: "No object named 'GFPGANv1Clean' found in 'arch' registry!"

Originally created by @icoric4 on GitHub (Aug 17, 2021). Hello and thanks for an awesome project! I am trying to finetune this model - https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth , but when I have network_g: type: GFPGANv1 I get a lot of mismatches between the layers. So I figured the models are different. Am I right to assume that this ckpt is the GFPGANv1Clean model and if so, how can I finetune it. When I change the config to: network_g: type: GFPGANv1Clean I get: KeyError: "No object named 'GFPGANv1Clean' found in 'arch' registry!"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#48