joe-siyuan-qiao / DetectoRS

DetectoRS: Detecting Objects with Recursive Feature Pyramid and Switchable Atrous Convolution
Apache License 2.0
1.13k stars 178 forks source link

in build resnet rfp #43

Closed sunpeng96 closed 4 years ago

sunpeng96 commented 4 years ago

Thanks for your error report and we appreciate it a lot.

in resnet.py 305 out = out + rfp_feat

The size of 'out' and 'rfp_feat' is not match

joe-siyuan-qiao commented 4 years ago

Thanks for reporting this. Have you made any modifications to the configuration files or code?

sunpeng96 commented 4 years ago

Hi, Due to the busy work in the previous period, there was no timely reply. Debugging the program today, the problem still exists. Through debugging, I found that the problem lies in resnet.py lines of 607 RFP forward(). x = layer.rfp forward(x, rfp In feat), layer does not operate on img, resulting in x is tensor(img) in this statement. Finally, in the RFP In forward (), out = out + RFP_ Results of feat

sunpeng96 commented 4 years ago

In fact, I didn't make any changes to the program.