alibaba / cascade-stereo

cascade-stereo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spatial resolution of output feature maps in each stage

tatsy opened this issue · comments

Thank you very much for sharing the source code of this great project.

I read the paper of Cas-MVSNet and I have wondered that the spatial resolution of the feature maps described in the paper is different from those used in this repo. The paper mentions that the spatial resolution of the feature maps are {1/16, 1/4, 1} of the input image in each stage, but in this repo, {1/4, 1/2, 1} of the input image seem to be used.

Also, I am wondering whether changing the scale_factor of F.interpolate to be 4 (instead of 2) in the following line is enough to reproduce the case of using the feature maps of {1/16, 1/4, 1} sizes.

intra_feat = F.interpolate(intra_feat, scale_factor=2, mode="nearest") + self.inner1(conv1)

Thank you very much for your help.