Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doubt regarding computation of LR space and HR space #14

Open
nanmehta opened this issue Nov 1, 2021 · 2 comments
Open

doubt regarding computation of LR space and HR space #14

nanmehta opened this issue Nov 1, 2021 · 2 comments

Comments

@nanmehta
Copy link

nanmehta commented Nov 1, 2021

Hi thanks for your such interesting work, Can you please tell me why we need to subtract 0.5 and while calculating the coordinates in LR space.
coor_h = ((coor_hr[0] + 0.5) / scale) - (torch.floor((coor_hr[0] + 0.5) / scale + 1e-3)) - 0.5

@LongguangWang
Copy link
Member

Hi @nan-rock, please refer to Fig. 5(a) in the paper. Here, -0.5 is used to calculate L(x).

@nanmehta
Copy link
Author

nanmehta commented Nov 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants