Comments (8)
#5 (comment)
你只用把,大概170多行
{
//float cx = (pdata[0] * 2.f - 0.5f + j) * stride; ///cx
//float cy = (pdata[1] * 2.f - 0.5f + i) * stride; ///cy
//float w = powf(pdata[2] * 2.f, 2.f) * anchor_w; ///w
//float h = powf(pdata[3] * 2.f, 2.f) * anchor_h; ///h
}
这段代码替换成
{
float cx = pdata[0];
float cy = pdata[1];
float w = pdata[2];
float h = pdata[3];
}
from yolov5-v6.1-opencv-onnxrun.
请问您具体注释了哪些代码?我也出现了box坐标为负数的情况,期待您的回复
from yolov5-v6.1-opencv-onnxrun.
用 官方的方式导出python export.py --weights yolov5s.pt --include torchscript onnx
里面包含了yolo层的,而我的仓库里的代码是默认onnx文件里不包含yolo层的,把代码里的yolo层decode去掉就可以的
from yolov5-v6.1-opencv-onnxrun.
用 官方的方式导出python export.py --weights yolov5s.pt --include torchscript onnx 里面包含了yolo层的,而我的仓库里的代码是默认onnx文件里不包含yolo层的,把代码里的yolo层decode去掉就可以的
请问deocde在哪呢,yolo.py里面没找到decode
from yolov5-v6.1-opencv-onnxrun.
用 官方的方式导出python export.py --weights yolov5s.pt --include torchscript onnx 里面包含了yolo层的,而我的仓库里的代码是默认onnx文件里不包含yolo层的,把代码里的yolo层decode去掉就可以的
请教一下,opencv c++版本的具体怎么修改呢
from yolov5-v6.1-opencv-onnxrun.
from yolov5-v6.1-opencv-onnxrun.
用 官方的方式导出python export.py --weights yolov5s.pt --include torchscript onnx 里面包含了yolo层的,而我的仓库里的代码是默认onnx文件里不包含yolo层的,把代码里的yolo层decode去掉就可以的
请问deocde在哪呢,yolo.py里面没找到decode
请问最后解决了吗?
from yolov5-v6.1-opencv-onnxrun.
请问您具体注释了哪些代码?我也出现了box坐标为负数的情况,期待您的回复
请问您最后解决了吗?我也出现了box坐标为负数的情况,期待您的回复
from yolov5-v6.1-opencv-onnxrun.
Related Issues (18)
- opencv版本问题 HOT 1
- ort_session->Run报段错误 HOT 2
- 请大佬说明下各个模块的版本
- some error HOT 8
- 运行代码还需要写cmakelists
- yolov5使用onnxruntime进行多图推理
- onnxruntime运行时报错。 HOT 1
- GPU推理
- opencv运行报错 opencv-4.5.4 HOT 4
- 无法使用自己训练后的网络 HOT 3
- yolov5v5推理结果解析问题请教 HOT 1
- opencv不画框 HOT 10
- win10 cpp opencv 推理无法运行 HOT 4
- python opencv加载onnx HOT 6
- main.cpp 进行推理闪退 HOT 2
- Yolov5 Classification
- readNet 加载onnx HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov5-v6.1-opencv-onnxrun.