Ma Zerun a3f2effb17
[Feature] Add ImageClassificationInferencer. (#1261)
* [Feature] Add ImageClassificationInferencer.

* Update inferencer implementation and add unit tests.

* Update documentations.

* Update pre-commit hook

* Update docs
2023-02-08 14:30:12 +08:00

42 lines
600 B
ReStructuredText

.. role:: hidden
:class: hidden-section
.. module:: mmcls.apis
mmcls.apis
===================================
These are some high-level APIs for classification tasks.
.. contents:: mmcls.apis
:depth: 2
:local:
:backlinks: top
Model
------------------
.. autosummary::
:toctree: generated
:nosignatures:
list_models
get_model
init_model
Inference
------------------
.. autosummary::
:toctree: generated
:nosignatures:
:template: callable.rst
ImageClassificationInferencer
.. autosummary::
:toctree: generated
:nosignatures:
inference_model