Why isnt detection module in torchmetrics like others? #1496
Unanswered
Himanshunitrr
asked this question in
CompVision
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently if we want to use MeanAveragePrecision then we have to import it like
from torchmetrics.detection.mean_ap import MeanAveragePrecision
and I wanted to know what's the reason of structuring it like this?
I may be wrong but what if
__init__.py
file in torchmetrics also have imports from detection which currently are not there, something like :from torchmetrics.detection import ( """stuff which you want like """ MeanAveragePrecision )
and a modification in
__all__
list and detection's structure will be like others?Beta Was this translation helpful? Give feedback.
All reactions