-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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模型core dump #404
Comments
崩溃的地方是在 如下代码处:
|
转caffe模型 直接崩溃了 gdb --args ./MNNConvert -f CAFFE --prototxt squeezenet_v1.1.caffe.prototxt --modelFile squeezenet_v1.1.caffe.caffemodel --MNNModel squeezenet_v1.1.caffe.mnn --bizCode biz MNNConverter Version: 0.0.0.1 - MNN @ 2018 Start to Convert Other Model Format To MNN Model... Program received signal SIGSEGV, Segmentation fault. |
我这里是有两个问题 修改了之后可以了 |
模型有点儿大170多M,是resnet50的,转的时候core dump了,gdb信息如下
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff6516801 in __GI_abort () at abort.c:79
#2 0x00007ffff6b6b957 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff6b71ab6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff6b71af1 in std::terminate() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff6b71d24 in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff6b7229c in operator new(unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff6c03bc7 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff77fbb15 in caffe2MNNNet(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::unique_ptr<MNN::NetT, std::default_deleteMNN::NetT >&) ()
from /home/cccp/mnt/CUIT/MNN-0.2.1.0/tools/converter/build/source/caffe/libcaffe.so
#9 0x000055555556af1c in main ()
最新的版本也会报这个错
The text was updated successfully, but these errors were encountered: