GFPGAN icon indicating copy to clipboard operation
GFPGAN copied to clipboard

How to check model summary?

Open neso613 opened this issue 4 years ago • 1 comments

I have installled and downloaded the model and run it- it worked. Now, when I checked model summary, using this

restorer = GFPGANer( model_path=args.model_path, upscale=args.upscale, arch=args.arch, channel_multiplier=args.channel, bg_upsampler=bg_upsampler) print("\n\n...",restorer,'\n\n')

I got----> <gfpgan.utils.GFPGANer object at 0x7f8758589a90> How to check model summary,input/output details?

neso613 avatar Dec 27 '21 13:12 neso613

The restorer = GFPGANer(... is an encapsulated class.

  1. You can check the network arch from the source codes: https://github.com/TencentARC/GFPGAN/tree/master/gfpgan/archs
  2. You can check the input/output by printing their shapes.

xinntao avatar Jan 08 '22 12:01 xinntao