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

Method __getitem__

mmdet/datasets/custom.py:204–222  ·  view source on GitHub ↗

Get training/test data after pipeline. Args: idx (int): Index of data. Returns: dict: Training/test data (with annotation if `test_mode` is set \ True).

(self, idx)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

prepare_test_imgMethod · 0.95
prepare_train_imgMethod · 0.95
_rand_anotherMethod · 0.95

Tested by

no test coverage detected