mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-04-19 04:10:47 +00:00
Can I force some styles? #165
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 @juanluisrosaramos on GitHub (Feb 25, 2022).
Hi
My images are from faces with closed eyes and no hair (neonates) can I force to not apply these features in the inference mode?
I am trying it with num_mlp in gfpgan/archs/gfpganv1_clean_arch.py but it does not work
RuntimeError: Error(s) in loading state_dict for GFPGANv1Clean:
Unexpected key(s) in state_dict: "stylegan_decoder.style_mlp.5.weight", "stylegan_decoder.style_mlp.5.bias", "stylegan_decoder.style_mlp.7.weight", "stylegan_decoder.style_mlp.7.bias", "stylegan_decoder.style_mlp.9.weight", "stylegan_decoder.style_mlp.9.bias", "stylegan_decoder.style_mlp.11.weight", "stylegan_decoder.style_mlp.11.bias", "stylegan_decoder.style_mlp.13.weight", "stylegan_decoder.style_mlp.13.bias", "stylegan_decoder.style_mlp.15.weight", "stylegan_decoder.style_mlp.15.bias".
Thank you very much for your work