RangiLyu / nanodet

NanoDet-Plusāš”Super fast and lightweight anchor-free object detection model. šŸ”„Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphonešŸ”„
Apache License 2.0
5.77k stars 1.04k forks source link

Update nanodet.cpp #513

Open PaVaNTrIpAtHi opened 1 year ago

PaVaNTrIpAtHi commented 1 year ago

To ensure confidence values are in the correct range and will fill the difference in confidence value changes in python and cpp output.

Eg. This solved my issue where the nanodet python code was giving 95% confidence on a detection whereas the cpp code was giving >200% confidence on the same detection