yonghenglh6 / DepthwiseConvolution

A personal depthwise convolution layer implementation on caffe by liuhao.(only GPU)
525 stars 185 forks source link

which vison of caffe did you use? When I use it on my caffe ,it got wrong. #23

Open daixiaogang opened 6 years ago

daixiaogang commented 6 years ago

When make,it turns out: src/caffe/layers/depthwise_conv_layer.cpp:31:46: error: ‘class caffe::DepthwiseConvolutionLayer’ has no member named ‘bottomdim’ this->forward_cpu_gemm(bottom_data + n this->bottomdim, weight, ^ src/caffe/layers/depthwise_conv_layer.cpp:32:24: error: ‘class caffe::DepthwiseConvolutionLayer’ has no member named ‘topdim’ top_data + n this->topdim); ^ src/caffe/layers/depthwise_conv_layer.cpp:35:45: error: ‘class caffe::DepthwiseConvolutionLayer’ has no member named ‘topdim’ this->forward_cpu_bias(top_data + n this->topdim, bias); ^ src/caffe/layers/depthwise_conv_layer.cpp: In instantiation of ‘void caffe::DepthwiseConvolutionLayer::Backward_cpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob*>&) [with Dtype = float]’: