JieHe96 / iOS_Tensorflow_ObjectDetection_Example

An iOS application of Tensorflow Object Detection with different models: SSD with Mobilenet, SSD with InceptionV2, Faster-RCNN-resnet101
128 stars 28 forks source link

Using latest tensorflow 1.4 having issues with string_int_label_map.pb.h #14

Closed pavlobu closed 7 years ago

pavlobu commented 7 years ago

i have this line in ./tensorflow/contrib/makefile/downloads/protobuf/src/google/protobuf/stubs/common.h

#define GOOGLE_PROTOBUF_VERSION 3004000 and this: #define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 3004000

when I build the project it is complaining about protobuf version in file string_int_label_map.pb.h

if 3003002 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION

error This file was generated by an older version of protoc which is

error incompatible with your Protocol Buffer headers. Please

error regenerate this file with a newer version of protoc.

endif

what commit of version 1.4 are you using? maybe I can roll back to that commit to use older version of protobuf for ios?

pavlobu commented 7 years ago

currently using this commit:

git checkout e3ceea3f6

all works