UMF-CMGR icon indicating copy to clipboard operation
UMF-CMGR copied to clipboard

关于test_reg_fusion.py中regnet的问题

Open zhongniuniu opened this issue 1 year ago • 1 comments

请问一下代码中96行 ir_pred, f_warp, flow, int_flow1, int_flow2, disp_pred = RegNet(it, ir)配准网络只有两个输入会导致报错,这如何解决? 我看deformable_net中输入的确需要三个值def forward(self, tgt, src, real,shape=None): 而且我输入三个值,ir_pred输出的灰度值全是0,不知道是不是因为这个导致的

zhongniuniu avatar Oct 17 '23 08:10 zhongniuniu

总是报TypeError: forward() missing 1 required positional argument: 'real'

zhongniuniu avatar Oct 18 '23 05:10 zhongniuniu