open-mmlab / mmeval

A unified evaluation library for multiple machine learning libraries

Home Page:https://mmeval.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add args for `pip install mmeval` to install specific metric

ZCMax opened this issue · comments

Describe the feature
Add args for pip install mmeval to install specific metric

Motivation
If we add some metrics in MMEval like KittiMetric, WaymoMetric, which rely on the official SDK and package to evaluate, it will increase the installation burden of MMEval. I suggest MMEval support install like pip install mmeval-waymo to install the version which includes WaymoMetric.

Related resources

Additional context

@ZCMax Thanks for your feedback!

It is true that many metrics in MMEval have some additional dependencies. We will consider using more granular extra requirements to help users install MMEval more easily.

e.g.

pip install "mmeval[waymo]"