Shortcuts

ClassNumCheckHook

class mmpretrain.engine.hooks.ClassNumCheckHook[源代码]

Class Number Check HOOK.

before_test(runner)[源代码]

Check whether the test dataset is compatible with head.

参数:

(obj (runner) – IterBasedRunner): Iter based Runner.

before_train(runner)[源代码]

Check whether the training dataset is compatible with head.

参数:

(obj (runner) – IterBasedRunner): Iter based Runner.

before_val(runner)[源代码]

Check whether the validation dataset is compatible with head.

参数:

(obj (runner) – IterBasedRunner): Iter based Runner.

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

Free document hosting provided by Read the Docs.