sanghyun-son / EDSR-PyTorch

PyTorch version of the paper 'Enhanced Deep Residual Networks for Single Image Super-Resolution' (CVPRW 2017)
MIT License
2.42k stars 668 forks source link

I have some doubts about "if rot90: img = img.transpose(1, 0, 2)". #275

Open Tangjian2344 opened 4 years ago

Tangjian2344 commented 4 years ago

Dear Author I think the effect of this code is to fold the image diagonally instead of rotating it 90 degrees。

Lifedecoder commented 3 years ago

Yeah, you're right, it's a flip over diagonal, but I think it can be seen as a kind of 90 degrees rotation.