Fix confidence threshold

The confidence is converted to a percentage on line 144, but it is being compared to a default conf_threshold value of a decimal value instead of percent value.

Signed-off-by: HighMans <42877729+HighMans@users.noreply.github.com>
pull/9174/head
HighMans 2022-08-26 14:39:50 -04:00 committed by GitHub
parent cff9717d73
commit f84a09967f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class ClearmlLogger:
local_path=str(f),
iteration=iteration)
def log_image_with_boxes(self, image_path, boxes, class_names, image, conf_threshold=0.25):
def log_image_with_boxes(self, image_path, boxes, class_names, image, conf_threshold=25):
"""
Draw the bounding boxes on a single image and report the result as a ClearML debug sample.