Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Did somesone train some models with this DepthwiseConvolution layer? #19

Open
Ai-is-light opened this issue Jan 31, 2018 · 6 comments
Open

Comments

@Ai-is-light
Copy link

@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 Ai-is-light changed the title Did some train some models with this DepthwiseConvolution layer? Did somesone train some models with this DepthwiseConvolution layer? Jan 31, 2018
@yonghenglh6
Copy link
Owner

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.

@408550969
Copy link

408550969 commented Mar 30, 2018

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?

@JoyLuo
Copy link

JoyLuo commented Jul 19, 2018

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

@ShawKai666
Copy link

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

@LyraWang
Copy link

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?

@408550969
Copy link

408550969 commented May 14, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants