happynear / caffe-windows

Configure Caffe in one hour for Windows users.
Other
1.32k stars 650 forks source link

caffe_pb2.py has no LabelMap() #320

Open grapefruitL opened 5 years ago

grapefruitL commented 5 years ago

hi ! i am trying to use this caffe to do some ssd work i get a problem when i am tryting to create lmdb data using create_data.bat which is in the caffe-ssd-microsoft, the err is:

  File "E:\proj\caffe\caffe-windows-ms-ssd\caffe-windows-ms\scripts\create_annoset.py", line 103, in <module>
    label_map = caffe_pb2.LabelMap()
AttributeError: 'module' object has no attribute 'LabelMap'

i checked caffe_pb2.py and found no LabelMap() in it i am sure the python path is correct and i think the problem is in my pycaffe can someone explain how does pycaffe work or just tell me how to fix it

sanshitangmalaban commented 2 years ago

I have met this problem as well. Did you know how to fix it?