ultralytics 8.0.172 faster LetterBox() and Classify Tune fix (#4766)

Co-authored-by: BardJun <70683507+jy1002@users.noreply.github.com>
This commit is contained in:
Glenn Jocher 2023-09-06 22:00:04 +02:00 committed by GitHub
parent 577d066fb2
commit 8fd9a1a048
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 68 additions and 26 deletions

View file

@ -70,6 +70,7 @@ class ClassificationValidator(BaseValidator):
on_plot=self.on_plot)
self.metrics.speed = self.speed
self.metrics.confusion_matrix = self.confusion_matrix
self.metrics.save_dir = self.save_dir
def get_stats(self):
"""Returns a dictionary of metrics obtained by processing targets and predictions."""