Linux Minor Build Issue
Created by: StanislawAntol
On Ubuntu 16.04 with GCC 5.4, I was receiving the following error:
/tmp/baidu/mobile-deep-learning/tools/caffe2mdl.cpp: In function ‘void dump_with_quantification(std::__cxx11::string)’:
/tmp/baidu/mobile-deep-learning/tools/caffe2mdl.cpp:1063:31: error: ‘numeric_limits’ is not a member of ‘std’
float min_value = std::numeric_limits<float>::max();
^
Changing this include to #include <limits>
instead of #include <limits.h>
fixed the issue for me (not sure if it still works for other platforms).