TimoSaemann / ENet

ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
577 stars 276 forks source link

layer_factory.hpp:77 Creating layer drop1_0_3 error #32

Open mathTaoTao opened 7 years ago

mathTaoTao commented 7 years ago

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.

xjw00654 commented 7 years ago

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.

sjdrc commented 6 years ago

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

sjdrc commented 6 years ago

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

mingx9527 commented 6 years ago

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