xmojiao / deeplab_v2

基于v2版本的deeplab,使用VGG16模型,在VOC2012,Pascal-context,NYU-v2等多个数据集上进行训练
162 stars 103 forks source link

Message type "caffe.ImageDataParameter" has no field named "label_type". #11

Open ygjwd12345 opened 5 years ago

ygjwd12345 commented 5 years ago

原来deeplab-public-ver2过于老旧,我把src 给替换了,结果就发生了这个错误, [libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 42:15: Message type "caffe.ImageDataParameter" has no field named "label_type". F0108 09:36:53.413192 30873 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /media/ygl/深度学习/myjupyter/humanparsing/deeplab_v2/config/train.prototxt Check failure stack trace: @ 0x7efd31dac5cd google::LogMessage::Fail() @ 0x7efd31dae433 google::LogMessage::SendToLog() @ 0x7efd31dac15b google::LogMessage::Flush() @ 0x7efd31daee1e google::LogMessageFatal::~LogMessageFatal() @ 0x7efd3258b151 caffe::ReadNetParamsFromTextFileOrDie() @ 0x7efd325406ff caffe::Solver<>::InitTrainNet() @ 0x7efd325419e5 caffe::Solver<>::Init() @ 0x7efd32541cff caffe::Solver<>::Solver() @ 0x7efd3255ee21 caffe::Creator_SGDSolver<>() @ 0x40a778 train() @ 0x407568 main @ 0x7efd30542830 __libc_start_main @ 0x407e39 _start @ (nil) (unknown) Aborted (core dumped) 请问如何解决

Gokulakrishnan-96 commented 5 years ago

I am also facing the same issue. Could someone help?