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

Method build_train_loader

detectron2/engine/defaults.py:465–473  ·  view source on GitHub ↗

Returns: iterable It now calls :func:`detectron2.data.build_detection_train_loader`. Overwrite it if you'd like a different data loader.

(cls, cfg)

Source from the content-addressed store, hash-verified

463
464 @classmethod
465 def build_train_loader(cls, cfg):
466 """
467 Returns:
468 iterable
469
470 It now calls :func:`detectron2.data.build_detection_train_loader`.
471 Overwrite it if you'd like a different data loader.
472 """
473 return build_detection_train_loader(cfg)
474
475 @classmethod
476 def build_test_loader(cls, cfg, dataset_name):

Callers 2

__init__Method · 0.95
build_hooksMethod · 0.95

Calls 1

Tested by

no test coverage detected