Shortcuts

mmcls.engine

该包中包含了一些运行时组件,如钩子(hook)、执行器(runner)、优化器(optimizer)和循环执行器(loop)。这些组件在分类任务中需要用到,而还未被 MMEngine 支持。

备注

部分组件未来可能会被移动到 MMEngine 中。

mmcls.engine

Hooks

ClassNumCheckHook

Class Number Check HOOK.

PreciseBNHook

Precise BN hook.

VisualizationHook

Classification Visualization Hook.

PrepareProtoBeforeValLoopHook

The hook to prepare the prototype in retrievers.

SetAdaptiveMarginsHook

Set adaptive-margins in ArcFaceClsHead based on the power of category-wise count.

EMAHook

A Hook to apply Exponential Moving Average (EMA) on the model during training.

Optimizers

Lamb

A pure pytorch variant of FuseLAMB (NvLamb variant) optimizer.

Read the Docs v: mmcls-1.x
Versions
latest
stable
mmcls-1.x
mmcls-0.x
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.