随笔 - 93  文章 - 0  评论 - 3  阅读 - 46392
05 2022 档案
ocr 字符,字节转换(string2utf8,utf82string,str2wstr,wstr2str)
摘要:// std::string 转换为 UTF-8 编码 std::string string2utf8(const std::string & str) { int nwLen = ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), -1, NULL, 0); 阅读全文
posted @ 2022-05-31 19:11 WenJXUST 阅读(127) 评论(0) 推荐(0) 编辑
opencv Mat 减去一个常数,除以一个常数
摘要:img = img / 255; img = img - cv::Scalar(0.5f,0.5f,0.5f); img = img / cv::Scalar(0.5f, 0.5f, 0.5f); 阅读全文
posted @ 2022-05-17 17:20 WenJXUST 阅读(669) 评论(0) 推荐(0) 编辑
onnx 转 pb 错误记录
摘要:0、版本错误 查看每个版本说明下载安装相关库,类似这种:onnx-tensorflow/support_status_v1_10_0.md at main · onnx/onnx-tensorflow (github.com) 1、RuntimeError: Resize coordinate_tr 阅读全文
posted @ 2022-05-13 16:17 WenJXUST 阅读(533) 评论(0) 推荐(0) 编辑
onnx 简化压缩 onnxsim 以及op算子错误解决
摘要:pip install onnx-simplifier -i https://mirror.baidu.com/pypi/simple 0、安装如上; 1、用法命令 onnxsim 12345.onnx 12345sim.onnx --input-shape 1,3,512,512 2、出现op错误 阅读全文
posted @ 2022-05-13 09:17 WenJXUST 阅读(2323) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示