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
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 (), lead to The size of 'out' and 'rfp_feat' is not match.
In fact, I didn't make any changes to the program. I just called your resnet.py in my program.
I don't know if it's a version problem? We look forward to your reply.
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
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 (), lead to The size of 'out' and 'rfp_feat' is not match.
In fact, I didn't make any changes to the program. I just called your resnet.py in my program.
I don't know if it's a version problem? We look forward to your reply.