GilLevi / AgeGenderDeepLearning

628 stars 284 forks source link

Run in VS2015(c++) ERROR #25

Closed hsqaihkl closed 6 years ago

hsqaihkl commented 6 years ago

@GilLevi Hi , my system is win10,caffe ,cuda8.0,cudnn5.1,VS2015 I run in the VS2015 with code of “https://github.com/eveningglow/age-and-gender-classification” the error is : (I download your model) WARNING: Logging before InitGoogleLogging() is written to STDERR I0427 15:50:01.427271 16228 common.cpp:36] System entropy source not available, using fallback algorithm to generate seed instead. [libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:1: Invalid control characters encountered in text. [libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:10: Invalid control characters encountered in text. [libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:11: Interpreting non ascii codepoint 177. [libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:11: Message type "caffe.NetParameter" has no field named "CaffeNet". F0427 15:50:02.432113 16228 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: gender_net.caffemodel Check failure stack trace:

GilLevi commented 6 years ago

Hi @hsqaihkl ,

Thank you for your interest in our work. Did you try running it with the python interface?