Skip to content

Commit

Permalink
fix: šŸ› add missing exports to __all__ in supervision modules for asseā€¦
Browse files Browse the repository at this point in the history
ā€¦ts and metrics

Signed-off-by: Onuralp SEZER <[email protected]>
  • Loading branch information
onuralpszr committed Nov 25, 2024
1 parent e54ce38 commit 7626c32
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions supervision/assets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
from supervision.assets.downloader import download_assets
from supervision.assets.list import VideoAssets

__all__ = ["download_assets", "VideoAssets"]
19 changes: 19 additions & 0 deletions supervision/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,22 @@
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",
]

0 comments on commit 7626c32

Please sign in to comment.