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

loading detectnet_network.prototxt to nvCaffe #1486

Closed
ttheekshanaw opened this issue Mar 2, 2017 · 7 comments
Closed

loading detectnet_network.prototxt to nvCaffe #1486

ttheekshanaw opened this issue Mar 2, 2017 · 7 comments

Comments

@ttheekshanaw
Copy link

I0302 15:19:19.081395 20093 layer_factory.hpp:77] Creating layer deploy_data
I0302 15:19:19.081418 20093 net.cpp:94] Creating Layer deploy_data
I0302 15:19:19.081429 20093 net.cpp:409] deploy_data -> data
I0302 15:19:19.081478 20093 net.cpp:144] Setting up deploy_data
I0302 15:19:19.081496 20093 net.cpp:151] Top shape: 1 3 384 1248 (1437696)
I0302 15:19:19.081503 20093 net.cpp:159] Memory required for data: 5750784
I0302 15:19:19.081512 20093 layer_factory.hpp:77] Creating layer deploy_transform
I0302 15:19:19.081524 20093 net.cpp:94] Creating Layer deploy_transform
I0302 15:19:19.081532 20093 net.cpp:435] deploy_transform <- data
I0302 15:19:19.081544 20093 net.cpp:409] deploy_transform -> transformed_data
I0302 15:19:19.081559 20093 net.cpp:144] Setting up deploy_transform
I0302 15:19:19.081578 20093 net.cpp:151] Top shape: 1 3 384 1248 (1437696)
I0302 15:19:19.081584 20093 net.cpp:159] Memory required for data: 11501568
I0302 15:19:19.081590 20093 layer_factory.hpp:77] Creating layer conv1/7x7_s2
I0302 15:19:19.081607 20093 net.cpp:94] Creating Layer conv1/7x7_s2
I0302 15:19:19.081612 20093 net.cpp:435] conv1/7x7_s2 <- transformed_data
I0302 15:19:19.081621 20093 net.cpp:409] conv1/7x7_s2 -> conv1/7x7_s2
Segmentation fault (core dumped)

It gives this error while loading.

Also i tried loading imagenet. still gives this error. tried the same imagenet.prototxt file with the original caffe from BVLC. It loads the network perfectly.

Any suggestions ?

@MKYucel
Copy link

MKYucel commented Mar 2, 2017

I think you can get some hints as to what's wrong using gdb or any other tool. It seems you are having problems loading the network itself (so you are still on CPU), so gdb should point you to the right direction.

@ttheekshanaw
Copy link
Author

nope i am on GPU.

@MKYucel
Copy link

MKYucel commented Mar 2, 2017

Even if you do inference on GPUs, given your error log, you are still loading the network hence you are on CPU, therefore you should get an answer using gdb.

@ttheekshanaw
Copy link
Author

this is what i got from gdb

received signal SIGSEGV, Segmentation fault.
0x00007ffff69f1d97 in caffe::Caffe::rng_stream() ()
from /build/lib/libcaffe-nv.so.0.15

@MKYucel
Copy link

MKYucel commented Mar 2, 2017

This could be of help. There are other similar issues posted at Caffe repository. This is actually related to Caffe, not DIGITS.

@ttheekshanaw
Copy link
Author

#0 0x00007ffff69f1d97 in caffe::Caffe::rng_stream() ()
from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#1 0x00007ffff69f96d2 in void caffe::caffe_rng_uniform(int, float, float, float*) ()
from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#2 0x00007ffff6a584e9 in caffe::XavierFiller::Fill(caffe::Blob) ()
from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#3 0x00007ffff6b3c04e in caffe::BaseConvolutionLayer::LayerSetUp(std::vector<caffe::Blob
, std::allocator<caffe::Blob> > const&, std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&) () from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#4 0x00007ffff6b4a3d0 in caffe::CuDNNConvolutionLayer::LayerSetUp(std::vector<caffe::Blob
, std::allocator<caffe::Blob> > const&, std::vector<caffe::Blob, std::allocator<caffe::Blob> > const&) () from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#5 0x00007ffff6a31962 in caffe::Net::Init(caffe::NetParameter const&) ()
from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#6 0x00007ffff6a3395d in caffe::Net::Net(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, caffe::Phase, caffe::Net const
) ()
from /home/theekshana/Nvidia/caffe/build/lib/libcaffe-nv.so.0.15
#7 0x00000000004045ae in main ()

@gheinrich
Copy link
Contributor

@ttheekshanaw please be considerate. Don't create duplicate issues.

closing as duplicate of NVIDIA/caffe#296.

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

3 participants