siamaksalman / denseposeInstalltion

How to Install DensePose
MIT License
20 stars 4 forks source link

core_dumped at first python test #5

Closed kalluwa closed 5 years ago

kalluwa commented 5 years ago

I follow exactly the README but got the following error:

~/densepose$ python detectron/tests/test_spatial_narrow_as_op.py 
No handlers could be found for logger "caffe2.python.net_drawer"
net_drawer will not run correctly. Please install the correct dependencies.
E1220 16:48:22.963189 26125 init_intrinsics_check.cc:43] CPU feature avx is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
E1220 16:48:22.963210 26125 init_intrinsics_check.cc:43] CPU feature avx2 is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
E1220 16:48:22.963215 26125 init_intrinsics_check.cc:43] CPU feature fma is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
Found Detectron ops lib: /home/kk/anaconda2/lib/libcaffe2_detectron_ops_gpu.so
E.terminate called without an active exception
*** Aborted at 1545295703 (unix time) try "date -d @1545295703" if you are using GNU date ***
PC: @     0x7f98773f2428 gsignal
*** SIGABRT (@0x3e80000660d) received by PID 26125 (TID 0x7f98780de700) from PID 26125; stack trace: ***
    @     0x7f9877ea8390 (unknown)
    @     0x7f98773f2428 gsignal
    @     0x7f98773f402a abort
    @     0x7f986c1c13df __gnu_cxx::__verbose_terminate_handler()
    @     0x7f986c1bfb16 __cxxabiv1::__terminate()
    @     0x7f986c1bfb4c std::terminate()
    @     0x7f980fcf2c70 caffe2::CUDAContext::~CUDAContext()
    @     0x7f980fd1e332 caffe2::SpatialNarrowAsOp<>::~SpatialNarrowAsOp()
    @     0x7f986acd6bc5 caffe2::Workspace::RunOperatorOnce()
    @     0x7f986bc6f0b8 _ZZN6caffe26python16addGlobalMethodsERN8pybind116moduleEENKUlRKNS1_5bytesEE26_clES6_.isra.3127.constprop.3187
    @     0x7f986bc6f264 _ZZN8pybind1112cpp_function10initializeIZN6caffe26python16addGlobalMethodsERNS_6moduleEEUlRKNS_5bytesEE26_bJS8_EJNS_4nameENS_5scopeENS_7siblingEEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS_6detail13function_callEE1_4_FUNESQ_
    @     0x7f986bca46b0 pybind11::cpp_function::dispatcher()
    @     0x7f98781ddea4 PyEval_EvalFrameEx
    @     0x7f98781df6c9 PyEval_EvalCodeEx
    @     0x7f98781dcb98 PyEval_EvalFrameEx
    @     0x7f98781df6c9 PyEval_EvalCodeEx
    @     0x7f98781dcb98 PyEval_EvalFrameEx
    @     0x7f98781df6c9 PyEval_EvalCodeEx
    @     0x7f98781dcb98 PyEval_EvalFrameEx
    @     0x7f98781df6c9 PyEval_EvalCodeEx
    @     0x7f9878168567 function_call
    @     0x7f9878143973 PyObject_Call
    @     0x7f98781d869e PyEval_EvalFrameEx
    @     0x7f98781df6c9 PyEval_EvalCodeEx
    @     0x7f987816847a function_call
    @     0x7f9878143973 PyObject_Call
    @     0x7f987815280d instancemethod_call
    @     0x7f9878143973 PyObject_Call
    @     0x7f987819ca84 slot_tp_call
    @     0x7f9878143973 PyObject_Call
    @     0x7f98781d9d49 PyEval_EvalFrameEx
    @     0x7f98781df6c9 PyEval_EvalCodeEx
Aborted (core dumped)

found a link related to this error: https://github.com/facebookresearch/Detectron/issues/649

but i have no idea to solve this? should i recompile caffe2 manually?

configuration: Dell precision 7510 m2000m with 4G Vram

kalluwa commented 5 years ago

please use docker to install densepose. install from scratch is making nonsense.