fix: 🐛 add missing exports to __all__ in supervision modules for assets and metrics

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
Onuralp SEZER
2024-11-25 23:31:21 +03:00
parent e54ce38458
commit 7626c32a56
2 changed files with 21 additions and 0 deletions
+2
View File
@@ -1,2 +1,4 @@
from supervision.assets.downloader import download_assets
from supervision.assets.list import VideoAssets
__all__ = ["download_assets", "VideoAssets"]
+19
View File
@@ -19,3 +19,22 @@ from supervision.metrics.utils.object_size import (
get_detection_size_category,
get_object_size_category,
)
__all__ = [
"AveragingMethod",
"Metric",
"MetricTarget",
"F1Score",
"F1ScoreResult",
"MeanAveragePrecision",
"MeanAveragePrecisionResult",
"MeanAverageRecall",
"MeanAverageRecallResult",
"Precision",
"PrecisionResult",
"Recall",
"RecallResult",
"ObjectSizeCategory",
"get_detection_size_category",
"get_object_size_category",
]