Ezra-Yu c3c1cb93aa
[Feature] Add Switch Recipe Hook. (#1101)
* add switch hook and UTs

* update doc

* update doc

* fix lint

* fix ci

* fix ci

* fix typo

* fix ci

* switchTrainAugHook to switchRecipeHook

* fix lint

* Refactor the `SwitchRecipeHook`.

* Fix windows CI

* Fix windows CI

* Fix windows CI.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-18 18:12:03 +08:00

47 lines
842 B
ReStructuredText

.. role:: hidden
:class: hidden-section
.. module:: mmcls.engine
mmcls.engine
===================================
This package includes some runtime components, including hooks, runners, optimizers and loops. These components are useful in
classification tasks but not supported by MMEngine yet.
.. note::
Some components may be moved to MMEngine in the future.
.. contents:: mmcls.engine
:depth: 2
:local:
:backlinks: top
.. module:: mmcls.engine.hooks
Hooks
------------------
.. autosummary::
:toctree: generated
:nosignatures:
:template: classtemplate.rst
ClassNumCheckHook
PreciseBNHook
VisualizationHook
SwitchRecipeHook
.. module:: mmcls.engine.optimizers
Optimizers
------------------
.. autosummary::
:toctree: generated
:nosignatures:
:template: classtemplate.rst
Lamb