'caffe.proto.caffe_pb2' has no attribute 'LabelMap'

229 views
Skip to first unread message

ToddChavez

unread,
Oct 1, 2019, 11:52:01 AM10/1/19
to Caffe Users
I was following this instruction to train/run SSD and in step 3, when executing 'create_data.sh', I get the following error message:
Traceback (most recent call last):
  File "/home/USR/Desktop/caffe-ssd/data/VOC0712/../../scripts/create_annoset.py", line 103, in <module>
    label_map = caffe_pb2.LabelMap()
AttributeError: module 'caffe.proto.caffe_pb2' has no attribute 'LabelMap'
Traceback (most recent call last):
  File "/home/USR/Desktop/caffe-ssd/data/VOC0712/../../scripts/create_annoset.py", line 103, in <module>
    label_map = caffe_pb2.LabelMap()
AttributeError: module 'caffe.proto.caffe_pb2' has no attribute 'LabelMap'


I'm running python 3.7.3 on ubuntu 18. I would be glad about any ideas what went wrong. Thank you!
Reply all
Reply to author
Forward
0 new messages