MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / _check_head

Method _check_head

mmdet/datasets/utils.py:120–150  ·  view source on GitHub ↗

Check whether the `num_classes` in head matches the length of `CLASSES` in `dataset`. Args: runner (obj:`EpochBasedRunner`): Epoch based Runner.

(self, runner)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

before_train_epochMethod · 0.95
before_val_epochMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected