DGC-Net icon indicating copy to clipboard operation
DGC-Net copied to clipboard

one question ...

Open liyangszu3d opened this issue 6 years ago • 1 comments

model/net.py

 for k in reversed(range(4)):  ####3,2,1,0
        p1, p2 = target_pyr[k], source_pyr[k]
        est_map = F.interpolate(input=estimates_grid[-1], scale_factor=2, mode='bilinear', align_corners=False)

        p1_w = F.grid_sample(p1, est_map.transpose(1,2).transpose(2,3))
        est_map = self.__dict__['_modules']['reg_' + str(k)](x1=p1_w, x2=p2, x3=est_map)
        estimates_grid.append(est_map)

In my opinion :

   p1, p2 = target_pyr[k], source_pyr[k]

should be: p1,p2 = source_pyr[k],target_pyr[k]

is it right? if i was wrong. pls explain it briefly. I'm confused.... thanks very much!!

Additional, I think your work is outstanding .Maybe my graduation project will be closely relate to your excellent work. So I 'd like to learn about any details.

Forgive me for my poor English can’t fully express the feeling of gratitude.

liyangszu3d avatar Oct 21 '19 07:10 liyangszu3d

I also think it should be p1,p2 = source_pyr[k],target_pyr[k]

jiangwei221 avatar Feb 29 '20 04:02 jiangwei221