Closed qazzombie closed 1 year ago
What c++ compiler are you using? This repository only works with c++17 onwards.
Let's use docker for easier reproduction of the results. https://github.com/xmba15/onnx_runtime_cpp/issues/34
Let's use docker for easier reproduction of the results. #34
but mine is macos ,is this ubuntu-dockerfile suitable for me to docker build
Well you need customize dockers suitable for your OS then.
Well,thank you for your reply
when I run make apps , have some error : /Users/admin/Desktop/onnx_runtime_cpp-master/include/ort_utility/Utility.hpp:92:26: error: no viable conversion from 'deque' to 'deque'
std::deque sortedIndices = ::sortIndexes(scores);
/Users/admin/Desktop/onnx_runtime_cpp-master/include/ort_utility/Utility.hpp:123:45: error: type 'const std::array<float, 4>' does not provide a subscript operator
float tmpXmin = std::max(curBbox[0], bbox[0]);
/Users/admin/Desktop/onnx_runtime_cpp-master/include/ort_utility/Utility.hpp:124:45: error: type 'const std::array<float, 4>' does not provide a subscript operator
float tmpYmin = std::max(curBbox[1], bbox[1]);
...........
how to deal it ?