DepthwiseConvolution icon indicating copy to clipboard operation
DepthwiseConvolution copied to clipboard

Did somesone train some models with this DepthwiseConvolution layer?

Open Ai-is-light opened this issue 6 years ago • 6 comments

@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

Ai-is-light avatar Jan 31 '18 03:01 Ai-is-light

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.

yonghenglh6 avatar Feb 07 '18 03:02 yonghenglh6

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?

408550969 avatar Mar 30 '18 23:03 408550969

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

JoyLuo avatar Jul 19 '18 07:07 JoyLuo

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

ShawKai666 avatar Jul 31 '18 02:07 ShawKai666

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?

LyraWang avatar May 13 '19 06:05 LyraWang

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

408550969 avatar May 14 '19 05:05 408550969