MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / build_evaluator

Method build_evaluator

detectron2/engine/defaults.py:487–500  ·  view source on GitHub ↗

Returns: DatasetEvaluator or None It is not implemented by default.

(cls, cfg, dataset_name)

Source from the content-addressed store, hash-verified

485
486 @classmethod
487 def build_evaluator(cls, cfg, dataset_name):
488 """
489 Returns:
490 DatasetEvaluator or None
491
492 It is not implemented by default.
493 """
494 raise NotImplementedError(
495 """
496If you want DefaultTrainer to automatically run evaluation,
497please implement `build_evaluator()` in subclasses (see train_net.py for example).
498Alternatively, you can call evaluation functions yourself (see Colab balloon tutorial for example).
499"""
500 )
501
502 @classmethod
503 def test(cls, cfg, model, evaluators=None):

Callers 1

testMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected