nanodet-plus-opencv
nanodet-plus-opencv copied to clipboard
分别使用OpenCV、ONNXRuntime部署NanoDet-Plus,包含C++和Python两个版本的程序
请问下,.pth文件转onnx文件时,需要修改哪些参数?我用官方的py文件进行转换,转换出来的onnx模型跟您的有区别,最后的输出结果没有合并,导致模型加载不了
在w和h不相等的情况下 cv2 resize应改为 `img = cv2.resize(srcimg, (self.input_shape[1],self.input_shape[0]), interpolation=cv2.INTER_AREA)`
This PR fix the constructor error for initialization of Ort::Session.
which one is more faster?
namespace detail { inline void ThrowStatus(const Status& st) { std::string error_message = st.GetErrorMessage(); OrtErrorCode error_code = st.GetErrorCode(); ORT_CXX_API_THROW(std::move(error_message), error_code); } } 大佬这里报错 0x00007FFB0A3FF39C 处(位于 nanodet620.exe 中)有未经处理的异常: Microsoft C++ 异常: Ort::Exception,位于内存位置...