mit-han-lab / gan-compression

[CVPR 2020] GAN Compression: Efficient Architectures for Interactive Conditional GANs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crops, Patches and Slides

seekingdeep opened this issue · comments

@lmxyy Hi there,

Example:
My original images are size 1024*1024, i want to train using 256*256 patches to maintain low memory usage.

issue:
The issue is that in-order to predict the 256*256 patches more accurately, i might need to add 64px on each side.

The question:

  • how can i input 1024*1024, then for training use 256*256 patches, but for prediction slide 64px in all sides and use the 256*256 in it's middle.
  • what should be my settings for: get_real_stat, training, predicting.

slide