caffe
caffe copied to clipboard
Check failed: label_to_name_.find(label) !=lable_to_name_.name() Cannot find label: 2 in the label map
Hello@weiliu89, Thanks for your work~ Recently,I have train SSD300 on SynthText dataset. My labelmap_synthtext.prototxt has 2 items including "background" with label "0"and "Text"with label "1".But in training process, when it comes to "Testing net",it has error "F1027 detection_output_layer.cu:143] Check failed: label_to_name_.find(label) !=lable_to_name_.name() Cannot find label: 2 in the label map." Can u help me? Thanks a lot~
@weiliu89
maybe it's because it used to be 21 class, but now there is only 2 class. Maybe you can change 21 in test.prototxt to 2.