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

caffe crash after build with this new kernel #5

Open
ouceduxzk opened this issue Aug 24, 2017 · 4 comments
Open

caffe crash after build with this new kernel #5

ouceduxzk opened this issue Aug 24, 2017 · 4 comments

Comments

@ouceduxzk
Copy link

ouceduxzk commented Aug 24, 2017

Hi, this is the error that i got,
*** Aborted at 1503583882 (unix time) try "date -d @1503583882" if you are using GNU date ***
PC: @ 0x7f786fd5cda6 caffe::ConvolutionDepthwiseLayer<>::LayerSetUp()
*** SIGSEGV (@0x0) received by PID 17642 (TID 0x7f7870a88740) from PID 0; stack trace: ***
@ 0x7f786e6834b0 (unknown)
@ 0x7f786fd5cda6 caffe::ConvolutionDepthwiseLayer<>::LayerSetUp()
@ 0x7f786ff0cba2 caffe::Net<>::Init()
@ 0x7f786ff0e431 caffe::Net<>::Net()
@ 0x7f786feb546a caffe::Solver<>::InitTrainNet()
@ 0x7f786feb67e7 caffe::Solver<>::Init()
@ 0x7f786feb6b8a caffe::Solver<>::Solver()
@ 0x7f786fd3db93 caffe::Creator_SGDSolver<>()
@ 0x40aa49 train()
@ 0x407350 main
@ 0x7f786e66e830 __libc_start_main
@ 0x407b79 _start
@ 0x0 (unknown)
Segmentation fault (core dumped)
Seems that caffe does not recognize this kernel, any clue ? I am using the a old and customized caffe, so i can not switch to the newest caffe easily

@dajidali010
Copy link

@ouceduxzk Have you solved the problem ? I got it...... thanks

@ouceduxzk
Copy link
Author

solved quite long time ago, it is somehow a bug in my code, forget the details

@zhaokai5
Copy link

@dajidali010 Did you solved this problem?

@jkjung-avt
Copy link

This conv_dw_layer.cpp does not implement a default value (should be 1) for 'stride'. So you have to explicitly add 'stride: 1' in the layer definition in your prototxt.

layer {
name: "conv2_1/dwise"
type: "Convolution"
bottom: "conv2_1/expand/bn"
top: "conv2_1/dwise"
param {
lr_mult: 1
decay_mult: 1
}
convolution_param {
num_output: 32
bias_term: false
pad: 1
kernel_size: 3
group: 32
stride: 1
weight_filler {
type: "msra"
}
engine: 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

4 participants