Deformable-ConvNets-caffe icon indicating copy to clipboard operation
Deformable-ConvNets-caffe copied to clipboard

matcaffe error

Open haoliyoupai09 opened this issue 6 years ago • 7 comments

After I train the network you provide and obtain the Resnet_dcn.caffemodel, I compiled the matlab interface and try to load the caffemodel. However, an error appeared (caffe.layerparameter has no field named deformable-cnvolution parameter). I do not know whether it is caused by the incorrect compilation of matcaffe or the loss of the newly added deformable convolutional layer in caffe_.mexa64. Could you help me?

haoliyoupai09 avatar Apr 11 '18 12:04 haoliyoupai09

sorry, the codes dont support matlab

unsky avatar Apr 12 '18 04:04 unsky

@haoliyoupai09 you solve the matcaffe error problem?I also want to use deformable conv with matcaffe,looking forward to your reply!!

nameToken avatar Jun 11 '18 09:06 nameToken

Yes, I recompiled the matcaffe interface and it worked. Adding a new layaer in caffe deos not influence the use of caffemodel in matlab.

haoliyoupai09 avatar Jun 12 '18 02:06 haoliyoupai09

@haoliyoupai09 can you use this code on Caffe + Matcaffe successfully?

DanChen001 avatar Sep 21 '18 22:09 DanChen001

Yes, no error occurs during the compilation of matcaffe and running of code. But the performance is not good with deformable convolutional network. I do not know why.

haoliyoupai09 avatar Sep 24 '18 02:09 haoliyoupai09

Yes, no error occurs during the compilation of matcaffe and running of code. But the performance is not good with deformable convolutional network. I do not know why.

@haoliyoupai09 Thanks. What is task you are working on? Are the performance gap significant or slight?

DanChen001 avatar Sep 24 '18 03:09 DanChen001

Yes, no error occurs during the compilation of matcaffe and running of code. But the performance is not good with deformable convolutional network. I do not know why.

@haoliyoupai09 I placed one deformable layer at the end of my network. After training, the outputs of this deformable layer are 0. I checked the outputs of the offset layer, which are very large. Do you know why? Could you share more details about how to use this layer? Thanks

DanChen001 avatar Sep 27 '18 22:09 DanChen001