hpc203

Results 114 comments of hpc203

> 作者你好,我在使用torch1.7环境转换的onnx模型,在使用你的脚本调用的时候onnx做预测的时候出现cv2.dnn.readNet(‘onnx路径’)提示 blob.type()==5 in function‘populateNet’,想问下你有没有这种情况,如何解决的?谢谢 看我的csdn博客文章https://blog.csdn.net/nihate/article/details/112731327 ,在转换生成onnx文件时需要注意的事项。检查一下你在转换生成模型时的model,在model里的Detect类是不是包含了decode

> 我用了你官方转好的onnx模型在做测试的时候也会出现上述这个错误,想了解具体的测试流程 你的python-opencv的版本是多少的

> 版本是4.1.2 你升级opencv到4.5版本以上的再运行程序试试看

https://github.com/hpc203/yolov5-face-landmarks-opencv-v2 使用v2版本里的main_export_onnx.py

> Hi, > > I reviewed your work. It's pretty impressive. I congratulate you. How can I access the "yolobile.weights" file. I can not access the Baidu site via Turkey....

> Hi, > > Thank you for your interest. But as I mentioned before; I cannot access the **Baidu** site. Therefore, can you send it from a different platform. >...

原始的yolov5代码更新过了的,网络结构变换了,这个转换onnx文件的脚本就会出错,请看我最新发布的https://github.com/hpc203/yolov5-face-landmarks-opencv-v2 里面有新的转换onnx文件的脚本程序文件

> 用C++调用计算的预测置信度几乎都是1,这是什么问题? 原始的yolov5在后处理时,置信度等于检测框置信度乘以类别置信度的,这两种置信度都是在0到1之间的数值,相乘之后的数值就更小了。在我的代码里没有这一步,你可以加上去

> c++版本怎么编译? 程序只依赖opencv和onnxruntime这两个库,cmakelist.txt文件里只需要include_directories包含opencv和onnxruntime这两个库的头文件,target_link_libraries链接到opencv和onnxruntime这两个库的.so文件就可以了,不超过10行的。这么简单的事情,还要我来写嘛

你输入图片是RGB三通道的吗 ---原始邮件--- 发件人: ***@***.***> 发送时间: 2024年4月27日(周六) 凌晨0:50 收件人: ***@***.***>; 抄送: ***@***.***>; 主题: [hpc203/facefusion-onnxrun] c++代码楼主测试过了吗,好几个明显的bug是跑不过的。 (Issue #4) this->input_image.resize(3 * image_area); size_t single_chn_size = image_area * sizeof(float); memcpy(this->input_image.data(), (float *)bgrChannels[0].data, single_chn_size); //明显的越界...