yonghenglh6 / DepthwiseConvolution

A personal depthwise convolution layer implementation on caffe by liuhao.(only GPU)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Did somesone train some models with this DepthwiseConvolution layer?

Ai-is-light opened this issue · comments

commented

@yonghenglh6 Thanks for your good work! I trained caffe model by using your DepthwiseCovolution layer as following your suggestion, while it works when I train the model, I met some problems . When I deploy the model I trained , there was a error : Check failed registry count (type) == 1 (0 VS 1) Unknown layer type: DepthwiseConvolution.
So , did you meet this error? or Have you deployed some caffe model with DepthwiseConvolution?
Looking forward your attention. Thanks

Which phase do you meet the problem in?
It seems that your caffe did not merge the new layers. Please assure the .cpp and .h be placed in right position, and re-make has been done.

Hi,I find the speed is down when I add DepthwiseConvolution layer.
The original like this
type:conv
kernel:3
pad:1
stride:1
and I change like this:
type:conv
kernel:1
pad:0
stride:1
BN
type:DepthwiseConvolution
kernel:3
pad:1
stride:1

The speed is half the original,do you know why does this happen?

@Ai-is-light Hi,the same question trouble me, could you solve it ?

@JoyLuo You must add them in your caffe.sln and re-make!

Hi,I find the speed is down when I add DepthwiseConvolution layer.
The original like this
type:conv
kernel:3
pad:1
stride:1
and I change like this:
type:conv
kernel:1
pad:0
stride:1
BN
type:DepthwiseConvolution
kernel:3
pad:1
stride:1

The speed is half the original,do you know why does this happen?

I got the same problem as you, have you found out the reason?

Sorry, I don't know. I finally gave up DepthwiseConvolution on caffe.