ENet icon indicating copy to clipboard operation
ENet copied to clipboard

layer_factory.hpp:77 Creating layer drop1_0_3 error

Open mathTaoTao opened this issue 6 years ago • 4 comments

I have one issue while training

I0728 12:07:31.305574 32224 layer_factory.hpp:77] Creating layer drop1_0_3 *** Aborted at 1501232851 (unix time) try "date -d @1501232851" if you are using GNU date *** PC: @ 0x7f9a8456db73 std::_Hashtable<>::clear() *** SIGSEGV (@0x9) received by PID 32224 (TID 0x7f9aead65ac0) from PID 9; stack trace: *** @ 0x7f9ae83b84b0 (unknown) @ 0x7f9a8456db73 std::_Hashtable<>::clear() @ 0x7f9a8455eca6 google::protobuf::DescriptorPool::FindFileByName() @ 0x7f9a8453bdc8 google::protobuf::python::cdescriptor_pool::AddSerializedFile() @ 0x7f9ae8ff07d0 PyEval_EvalFrameEx @ 0x7f9ae911901c PyEval_EvalCodeEx @ 0x7f9ae906f3dd (unknown) @ 0x7f9ae90421e3 PyObject_Call @ 0x7f9ae9062ae5 (unknown) @ 0x7f9ae8ff9123 (unknown) @ 0x7f9ae90421e3 PyObject_Call @ 0x7f9ae8fed13c PyEval_EvalFrameEx @ 0x7f9ae911901c PyEval_EvalCodeEx @ 0x7f9ae8fe7b89 PyEval_EvalCode @ 0x7f9ae907c1b4 PyImport_ExecCodeModuleEx @ 0x7f9ae907cb8f (unknown) @ 0x7f9ae907e300 (unknown) @ 0x7f9ae907e5c8 (unknown) @ 0x7f9ae907f6db PyImport_ImportModuleLevel @ 0x7f9ae8ff6698 (unknown) @ 0x7f9ae90421e3 PyObject_Call @ 0x7f9ae9118447 PyEval_CallObjectWithKeywords @ 0x7f9ae8feb5c6 PyEval_EvalFrameEx @ 0x7f9ae911901c PyEval_EvalCodeEx @ 0x7f9ae8fe7b89 PyEval_EvalCode @ 0x7f9ae907c1b4 PyImport_ExecCodeModuleEx @ 0x7f9ae907cb8f (unknown) @ 0x7f9ae907e300 (unknown) @ 0x7f9ae907e5c8 (unknown) @ 0x7f9ae907f6db PyImport_ImportModuleLevel @ 0x7f9ae8ff6698 (unknown) @ 0x7f9ae90421e3 PyObject_Call

and I can correctly import caffe any help? Thanks.

mathTaoTao avatar Aug 24 '17 03:08 mathTaoTao

I came into the same problem with you on Ubuntu16.04 yesterday. Today, I try to reinstall my os, and i chose the Ubuntu14.04, it seems its working well. Hope it helps.

xjw00654 avatar Aug 31 '17 11:08 xjw00654

I'm having this same issue, unsure how to debug. I'm going to try spinning up a fresh VM for it.

sjdrc avatar Sep 15 '17 06:09 sjdrc

I needed to downgrade my version of python protobuf. I ran

sudo pip install protobuf=3.1.0.post1

And I was able to get past this issue.

Please see: https://github.com/BVLC/caffe/issues/5357

sjdrc avatar Sep 16 '17 08:09 sjdrc

The Error is caused by data. you can check your cityscapes data, no have groundtruth: xxx_xxx_xxx_gtFine_labelTrainIds.png you must: git clone https://github.com/mcordts/cityscapesScripts.git and then run the /preparation/createTrainIdLabelImags.py to generate xxx_xxx_xxx_gtFine_labelTrainIds.png As shown in the Tutorial

mingx9527 avatar Mar 13 '18 06:03 mingx9527