You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
git clone https://github.com/intel/caffe
mkdir build
cd build
cmake .. -DUSE_MLSL=OFF
make -j4
make install -j4
clone the https://github.com/DaFuCoding/MTCNN_Caffe, compile MTCNN_Caffe/examples/MTSrc/MTMain.cpp with previously built intel-caffe
run MTMain.cpp with /MTCNN_Caffe/examples/MTmodel/ MTCNN model
will give a segmentation fault. gdb back trace:
(gdb) bt
#0 _int_malloc (av=av@entry=0x7ffff5925b20 <main_arena>, bytes=bytes@entry=3711960)
at malloc.c:3622#1 0x00007ffff55e5184 in __GI___libc_malloc (bytes=3711960) at malloc.c:2913#2 0x00007fffe8c1199a in mkl_serv_malloc ()
from /home/yeyj/dev/source_code/intel-caffe/./external/mkl/mklml_lnx_2019.0.1.20180928//lib/libmklml_intel.so
#3 0x00007ffff67b9e52 in caffe::SyncedMemory::mutable_cpu_data() ()
from /home/yeyj/dev/source_code/intel-caffe/build/install/lib/libcaffe.so.1.1.5#4 0x00007ffff645bd02 in caffe::Blob<float>::mutable_cpu_data() ()
from /home/yeyj/dev/source_code/intel-caffe/build/install/lib/libcaffe.so.1.1.5#5 0x00007ffff6565b59 in caffe::PReLULayer<float>::Forward_cpu(std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> > const&, std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> > const&) ()
from /home/yeyj/dev/source_code/intel-caffe/build/install/lib/libcaffe.so.1.1.5#6 0x00007ffff6413832 in caffe::Net<float>::ForwardFromTo(int, int) ()
from /home/yeyj/dev/source_code/intel-caffe/build/install/lib/libcaffe.so.1.1.5#7 0x00007ffff6413a7c in caffe::Net<float>::Forward(float*) ()
from /home/yeyj/dev/source_code/intel-caffe/build/install/lib/libcaffe.so.1.1.5#8 0x0000000000414300 in MTCNN::Detect (this=0x7fffffffde60, image=...,
faceInfo=std::vector of length 0, capacity 0, minSize=40, threshold=0x7fffffffdf20,
factor=0.70899999999999996) at /home/yeyj/dev/mtcnn_caffe/src/main.cpp:534#9 0x0000000000414b13 in main (argc=3, argv=0x7fffffffe138)
at /home/yeyj/dev/mtcnn_caffe/src/main.cpp:601
(gdb)
How ever, when I compile it with intel-caffe-1.0.3 release, every thing works fine.
The text was updated successfully, but these errors were encountered:
Step to reproduce the issue:
git clone https://github.com/intel/caffe mkdir build cd build cmake .. -DUSE_MLSL=OFF make -j4 make install -j4
https://github.com/DaFuCoding/MTCNN_Caffe
, compileMTCNN_Caffe/examples/MTSrc/MTMain.cpp
with previously built intel-caffewill give a segmentation fault. gdb back trace:
How ever, when I compile it with intel-caffe-1.0.3 release, every thing works fine.
The text was updated successfully, but these errors were encountered: