Maclory / Deep-Iterative-Collaboration

Pytorch implementation of Deep Face Super-Resolution with Iterative Collaboration between Attentive Recovery and Landmark Estimation (CVPR 2020)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to make Low Resolution image?

choieq opened this issue · comments

Hi, Thank you for your research.

I wonder how LR image made it.

When i reproduce your code, down-sample cv2.resize(img, cv2.INTERCUBIC).
Then, result is weird.

Please, answer me.
Thank you.

Hi, please use the following code:

from PIL import Image

HR = Image.open(path/to/HR)
LR = HR.resize(lr_shape, resample=Image.BICUBIC)

thank you it works properly :)