Robert-JunWang / Pelee

Pelee: A Real-Time Object Detection System on Mobile Devices
Apache License 2.0
885 stars 254 forks source link

train error #82

Open EvaneSnow opened 5 years ago

EvaneSnow commented 5 years ago

thanks your project @Robert-JunWang . I made my own model. but when I use the gen_merged_model.py. it has error: bb@bb:~/MobileNet-YOLO/data/bdd100k/driver_map$ python gen_merged_model.py train.prototxt pelee_SSD_304x304_iter_36000.caffemodel Traceback (most recent call last): File "gen_merged_model.py", line 241, in <module> main(args) File "gen_merged_model.py", line 32, in main net = load_and_fill_biases(args.model, args.weights, args.model + '.temp.pt', None) File "gen_merged_model.py", line 46, in load_and_fill_biases pb.text_format.Merge(f.read(), model) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 690, in Merge allow_unknown_field=allow_unknown_field) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 757, in MergeLines return parser.MergeLines(lines, message) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 782, in MergeLines self._ParseOrMerge(lines, message) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 804, in _ParseOrMerge self._MergeField(tokenizer, message) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 929, in _MergeField merger(tokenizer, message, field) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 1003, in _MergeMessageField self._MergeField(tokenizer, sub_message) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 929, in _MergeField merger(tokenizer, message, field) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 1003, in _MergeMessageField self._MergeField(tokenizer, sub_message) File "/home/bb/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.py", line 896, in _MergeField (message_descriptor.full_name, name)) google.protobuf.text_format.ParseError: 74:4 : Message type "caffe.AnnotatedDataParameter" has no field named "train_diffcult". thaks, looking forward to your replay.