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

SCNN can't run for the errors of compute_shape #35

Open
qzhong0605 opened this issue Nov 26, 2018 · 0 comments
Open

SCNN can't run for the errors of compute_shape #35

qzhong0605 opened this issue Nov 26, 2018 · 0 comments

Comments

@qzhong0605
Copy link

qzhong0605 commented Nov 26, 2018

Issue summary

When I ran the scnn branch for the method on NIPS 2016, it crashed down

Your system configuration

Operating system: CentOS-7.3
Compiler: gcc-4.8.5 and g++-4.8.5
CUDA version (if applicable): CUDA-9.0
CUDNN version (if applicable): cudnn-7.3
BLAS: openblas

Detailed problem

When I just tested the model , it crashed down on the convolution layer for the compute_shape function. The following is the dump of the call stack:

(gdb) bt
#0 0x00000000004212fc in __gnu_cxx::new_allocator::construct(int*, int const&) (this=0x1076fe90, __p=0x4, __val=@0x7ffd0f353d2c: 149)
at /usr/include/c++/4.8.2/ext/new_allocator.h:130
#1 0x000000000041f110 in __gnu_cxx::__alloc_traits<std::allocator >::construct(std::allocator&, int*, int const&) (__a=..., __p=0x4, __arg=@0x7ffd0f353d2c: 149) at /usr/include/c++/4.8.2/ext/alloc_traits.h:216
#2 0x000000000041d068 in std::vector<int, std::allocator >::push_back(int const&) (this=0x1076fe90, __x=@0x7ffd0f353d2c: 149)
at /usr/include/c++/4.8.2/bits/stl_vector.h:905
#3 0x00007fce7d23acc0 in caffe::ConvolutionLayer::compute_output_shape() (this=0x1076f9b0) at src/caffe/layers/conv_layer.cpp:20
#4 0x00007fce7d2496f4 in caffe::BaseConvolutionLayer::Reshape(std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&, std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&) (this=0x1076f9b0, bottom=std::vector of length 1, capacity 1 = {...}, top=std::vector of length 1, capacity 1 = {...}) at src/caffe/layers/base_conv_layer.cpp:385
#5 0x00007fce7d197cd1 in caffe::Layer::SetUp(std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&, std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&) (this=0x1076f9b0, bottom=std::vector of length 1, capacity 1 = {...}, top=std::vector of length 1, capacity 1 = {...}) at ./include/caffe/layer.hpp:73
#6 0x00007fce7d2e0471 in caffe::Net::Init(caffe::NetParameter const&) (this=0x7ffd0f3548e0, in_param=...) at src/caffe/net.cpp:151
#7 0x00007fce7d2debb8 in caffe::Net::Net(std::string const&, caffe::Phase, int, std::vector<std::string, std::allocatorstd::string > const*, caffe::Net const*) (this=0x7ffd0f3548e0, param_file="/home/zhibin/qzhong/caffe/models/ilsvrc12_inceptionv4/inceptionv4_train_val.prototxt", phase=caffe::TEST, level=0, stages=0x7ffd0f354e40, root_net=0x0) at src/caffe/net.cpp:47
#8 0x00000000004195e3 in test() () at tools/caffe.cpp:285
#9 0x000000000041af6b in main(int, char**) (argc=2, argv=0x7ffd0f3550f8) at tools/caffe.cpp:451

Is there anything changed on the compute_shape function of convolution layer ?

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

1 participant