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
Question on network architecture #6
Comments
Hi,
|
Thanks for the quick answer! |
Yes, you're correct. For patches within the overlapped FoV (near the central region), we perform feature matching locally in a neighboring region. For other patches (outside the overlapped region), we search the whole ref image for reference information. To improve the searching efficiency, we first coarsely find a candidate region, and then see it as the reference patch. |
Thanks, Wang. The answers really helped! |
Hi,
I've gone through the code and have some questions about the network architecture described in the paper and in the code.
In Figure 2 in the main paper, the network has 4 Aligned Attention(
aa
) modules, but the code has only 3. Is there a performance decrease when you use 4aa
modules?For the
aa
modules defined in dcsr.py, thescale
andalign
arguments are different based onself.flag_8k
.scale
values are higher whenself.flag_8k==True
for better feature matching between features of higher resolution?aa2
module, why does it getalign==False
? I can see that alignment is not necessary whenscale==1
, as patches become1*1
tensors. However, foraa2
whenself.flag_8k==True
, why isalign
set toFalse
?Would you please elaborate on the intuition of having
coarse==True
? I have not detailly checked the patch coordinates used for the evaluation, but I assumecoarse
is set toTrue
when the LR patch is outside of FOV of ref patch. Whencoarse==True
, the DCSR model downsamples the LR and ref images with factors of 1/16 and 1/8 respectively. Is this for roughly matching the structure as those patches might not share a common context?Thanks in advance,
The text was updated successfully, but these errors were encountered: