Shortcuts

ClassNumCheckHook

class mmcls.engine.hooks.ClassNumCheckHook[source]

Class Number Check HOOK.

before_test(runner)[source]

Check whether the test dataset is compatible with head.

Parameters

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

before_train(runner)[source]

Check whether the training dataset is compatible with head.

Parameters

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

before_val(runner)[source]

Check whether the validation dataset is compatible with head.

Parameters

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

Read the Docs v: 1.x
Versions
master
latest
1.x
dev-1.x
Downloads
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.