Giter VIP home page Giter VIP logo

Comments (3)

Linaom1214 avatar Linaom1214 commented on May 27, 2024

I use the following command got different result on different result:

python3 trt.py -e yolov8n.trt  -i src/1.jpg -o yolov8n-1.jpg --end2end

Inference result on GTX 1060:

print(final_boxes, final_scores, final_cls_inds)
[[377.    57.75 907.   708.25]] [0.77539062] [0.]

Inference result on Jetson Nano (Tegra X1)

print(final_boxes, final_scores, final_cls_inds)
[[ 377.   58.  907.  708.]] [-0.22753906] [ 0.]

The bounding box coordinates appear to align quite closely; however, the confidence score appears to be suffering from a conversion error. Do I need to do additional settings during the ONNX to TensorRT transformation phase?

the error casue by nms plugin, recommend use fp32.

python export.py -o yolov8s.onnx -e yolov8s.trt --end2end --v8 -p fp32

from tensorrt-for-yolo-series.

Linaom1214 avatar Linaom1214 commented on May 27, 2024

#93 refer this

from tensorrt-for-yolo-series.

jet-c-21 avatar jet-c-21 commented on May 27, 2024

thanks for ur reply sir!

from tensorrt-for-yolo-series.

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.