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

问题请教 #34

Open
EchoXu98 opened this issue Feb 24, 2023 · 2 comments
Open

问题请教 #34

EchoXu98 opened this issue Feb 24, 2023 · 2 comments

Comments

@EchoXu98
Copy link

    ## crop corresponding ref patches
    index = ind_l[:, :, 0] 
    idx_x = index % Wr  
    idx_y = index // Wr 

请问下,在MASA_arch.py文件中的第412-415行代码中(如上所示),这里的idx_x = index % Wr和idx_y = index // Wr代表什么意思?

@EchoXu98
Copy link
Author

@SkyeLu

@yukeyiniupi
Copy link

@SkyeLu

为了得到ref patches的坐标

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