Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accuracy #243

Open
duong0411 opened this issue Aug 14, 2024 · 4 comments
Open

accuracy #243

duong0411 opened this issue Aug 14, 2024 · 4 comments

Comments

@duong0411
Copy link

Why do my accuracy is negative ?

@triple-Mu
Copy link
Owner

Why do my accuracy is negative ?

It may be caused by fp16 engine in TensorRT<=8.2.4

@duong0411
Copy link
Author

im convert with tensorrt in jetson nano. I will try 2 methods for export onnx with end2end model nms:

  • methods1: im using python api on your github. About conf, threshold when convert onnx and tensorrt, can i set same config but setup different config with onnx: conf:0.5 and thres: 0,65 and tensorrt: conf: 0.6 thres 0.65 and inference model my acc is negative, size model engine bigger model onnx. I dont understand
  • method2: im using trtexec tool but it is fail.

@duong0411
Copy link
Author

Using trtexec tools for export engine

/usr/src/tensorrt/bin/trtexec
--onnx=yolov8s.onnx
--saveEngine=yolov8s.engine
when i export with --fp16, accuracy is negative ?

@triple-Mu
Copy link
Owner

Using trtexec tools for export engine

/usr/src/tensorrt/bin/trtexec --onnx=yolov8s.onnx --saveEngine=yolov8s.engine when i export with --fp16, accuracy is negative ?

Same issue in NVIDIA/TensorRT#1758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants