martinkersner / train-DeepLab

Train DeepLab for Semantic Image Segmentation
MIT License
172 stars 76 forks source link

train failure #36

Closed smartadpole closed 6 years ago

smartadpole commented 6 years ago

train.prototxt layers { name: "data" type: IMAGE_SEG_DATA top: "data" top: "label" image_data_param { root_folder: "/media/hao/DATA/DataSet/VOC2012" source: "voc12/list/train.txt" label_type: PIXEL batch_size: 20 shuffle: true } transform_param { mean_value: 104.008 mean_value: 116.669 mean_value: 122.675 crop_size: 306 mirror: true } include: { phase: TRAIN } }

When run " ./run_pascal.sh" for train, it get the error:[libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 21:3: Unknown enumeration value of "IMAGE_SEG_DATA" for field "type". The "IMAGE_SEG_DATA" layer exists in the source code.