Comments (6)
@p110120p1 hi, I'll check it a bit later, when I have time for that
from yolov5-onnxruntime.
@itsnine OK, thank you.
from yolov5-onnxruntime.
@p110120p1 sorry for the late answer, I reproduced the problem. I haven't solved this problem yet, because I don't really know the cause of it, probably it could be operations with floating point values in c++, for example, the letterbox function returns visually the same resized image as in python, but the models output for that image is a bit different, even boxes coordinates.
Note that PyTorch and ONNXRuntime results are not the same even in Python.
from yolov5-onnxruntime.
@itsnine Well, it seems possible that this problem is due to differences in the underlying programming language, and thank you for taking the time to try to fix it
from yolov5-onnxruntime.
@p110120p1 hi, there was a bug with color conversion, I accidentally used BGR format to detect and I fixed that so in C++ and Python the ONNXRuntime result should be the same now.
from yolov5-onnxruntime.
@itsnine Okay, that's great. Thanks for taking the bug out of your busy schedule
from yolov5-onnxruntime.
Related Issues (20)
- Segmentation fault (core dumped) HOT 5
- Segmentation fault (core dumped) HOT 1
- Dynamic input shape HOT 2
- fatal error LNK 1104 HOT 2
- OpenCV 4.x ONNXRuntime 1.7+ installation HOT 1
- Add a license to a repository HOT 1
- [Question] Sample with Anchor Box HOT 1
- occur an error in sessionOptions.AppendExecutionProvider_CUDA(cudaOption)
- When run it in clion with args HOT 1
- Support for ONNXRuntime 1.12+ HOT 3
- CUDA failure 101: invalid device ordinal HOT 1
- Invalid input name: �����U HOT 1
- YOLOV5 instance segmentation models
- cvtColor does not take effect HOT 1
- Inference speed HOT 7
- Integrate with TensorRT? HOT 1
- Half precision HOT 1
- How to find onnxruntime_cxx_api.h? HOT 4
- ort batch inference 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-onnxruntime.