Open HanSeokhyeon opened 1 year ago
Thank you for your work. I found a bug in resizing process.
https://github.com/naver/garnet/blob/master/CODE/inference.py#L112
CODE/inference.py img = cv2.resize(img, (H, W))
H and W are reversed. if it run with (H, W), image saved with the wrong ratio.
CODE/inference.py img = cv2.resize(img, (W, H))
It works correctly. If I can contribute this project, I want to make a PR.
Thank you for your work. I found a bug in resizing process.
https://github.com/naver/garnet/blob/master/CODE/inference.py#L112
H and W are reversed. if it run with (H, W), image saved with the wrong ratio.
It works correctly. If I can contribute this project, I want to make a PR.