Shortcuts

ClassNumCheckHook

class mmcls.core.ClassNumCheckHook[source]
before_train_epoch(runner)[source]

Check whether the training dataset is compatible with head.

Parameters

(obj (runner) – EpochBasedRunner): Epoch based Runner.

before_train_iter(runner)[source]

Check whether the training dataset is compatible with head.

Parameters

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

before_val_epoch(runner)[source]

Check whether the eval dataset is compatible with head.

Parameters

(obj (runner) – EpochBasedRunner): Epoch based Runner.

before_val_iter(runner)[source]

Check whether the eval dataset is compatible with head.

Parameters

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

Read the Docs v: latest
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.