Open EchoXu98 opened 1 year ago
## 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代表什么意思?
@SkyeLu
为了得到ref patches的坐标
请问下,在MASA_arch.py文件中的第412-415行代码中(如上所示),这里的idx_x = index % Wr和idx_y = index // Wr代表什么意思?