Metrics and FPS #2310
-
How can I add more metrics apart from the ones already initialized and is it possible to display the FPS while running detect.py on video files? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
@Raknash3 you can compute your FPS by dividing your framecount by your total time displayed at the end of detect.py. What additional metrics are you interested in? |
Beta Was this translation helpful? Give feedback.
-
@Raknash3 test.py actually computes precision and recall at 1000 different thresholds and then presents the P and R values at the highest F1 value. This is all done here: Lines 40 to 79 in cbd55da GIoU loss was renamed to Box loss several months ago. For evolution see the hyperparameter evolution tutorial: Tutorials |
Beta Was this translation helpful? Give feedback.
-
Also, by default P and R are plotted for all thresholds after training completes. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, this really helped me and what about my first question, can I use arguments like '--augment' and '--verbose' on train files. Because, I followed the TTA tutorial and you have used '--augment' only on test dataset. |
Beta Was this translation helpful? Give feedback.
-
@Raknash3 available arguments are shown in each file, i.e. for detect.py arguments: Lines 147 to 166 in cbd55da |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
@Raknash3 available arguments are shown in each file, i.e. for detect.py arguments:
yolov5/detect.py
Lines 147 to 166 in cbd55da