vincentgong7 / VG_AlexeyAB_darknet

A forked AlexeyAB Darknet repo with extra convenient functions.

Home Page:https://darknet.gong.im

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prediction with higher precision

BERENZ opened this issue · comments

Is there a way to increase precision of predictions that can be saved to file? Currently they are rounded to integers

Start processing data/in_images/eagle.jpg
data/in_images/eagle.jpg: Predicted in 257.116000 milli-seconds.
bird: 99%       (left_x:  111   top_y:   89   width:  523   height:  353)
End

but I am interested in something like this

Start processing data/in_images/eagle.jpg
data/in_images/eagle.jpg: Predicted in 257.116000 milli-seconds.
bird: 0.9931342      (left_x:  111   top_y:   89   width:  523   height:  353)
End

Let me check the code.

Is there a way to increase precision of predictions that can be saved to file? Currently they are rounded to integers

Start processing data/in_images/eagle.jpg
data/in_images/eagle.jpg: Predicted in 257.116000 milli-seconds.
bird: 99%       (left_x:  111   top_y:   89   width:  523   height:  353)
End

but I am interested in something like this

Start processing data/in_images/eagle.jpg
data/in_images/eagle.jpg: Predicted in 257.116000 milli-seconds.
bird: 0.9931342      (left_x:  111   top_y:   89   width:  523   height:  353)
End

Hi Berenz,

Sorry for the late reply. I'm super busy these days. I have to check it in the next week. Hope you are not hurry about it?

BR,
Vincent

No hurry, thanks.

Hi Berenz,

Please check the updated version yesterday. It can export confidence, which is the precision of prediction, in double format, in the JSON file.

Let me know if you have questions.

BR,
Vincent