Git Product home page Git Product logo

Comments (6)

itsnine avatar itsnine commented on July 2, 2024

@p110120p1 hi, I'll check it a bit later, when I have time for that

from yolov5-onnxruntime.

p110120p1 avatar p110120p1 commented on July 2, 2024

@itsnine OK, thank you.

from yolov5-onnxruntime.

itsnine avatar itsnine commented on July 2, 2024

@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.

p110120p1 avatar p110120p1 commented on July 2, 2024

@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.

itsnine avatar itsnine commented on July 2, 2024

@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.

p110120p1 avatar p110120p1 commented on July 2, 2024

@itsnine Okay, that's great. Thanks for taking the bug out of your busy schedule

from yolov5-onnxruntime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.