Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#868 Draw fix

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:hotfix/SG-000-fix_draw
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/super_gradients/training/models/prediction_results.py
@@ -71,7 +71,7 @@ class ImageDetectionPrediction(ImagePrediction):
             class_id = int(self.prediction.labels[pred_i])
             score = "" if not show_confidence else str(round(self.prediction.confidence[pred_i], 2))
 
-            draw_bbox(
+            image = draw_bbox(
                 image=image,
                 title=f"{self.class_names[class_id]} {score}",
                 color=color_mapping[class_id],
Discard