MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / get_ds

Method get_ds

tests/data/test_video_datasets.py:42–43  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

40 return self.video_source
41
42 def get_ds(self, *args, **kwargs) -> VideoDataset:
43 return self.ds(*args, video_source=self.get_video_source(), transform=TRANSFORMS, **kwargs) # type: ignore
44
45 @unittest.skipIf(has_cv2, "Only tested when OpenCV not installed.")
46 def test_no_opencv_raises(self):

Callers 5

test_no_opencv_raisesMethod · 0.95
test_multiprocessingMethod · 0.95
test_multiple_sourcesMethod · 0.95
test_datasetMethod · 0.95
test_datasetMethod · 0.80

Calls 1

get_video_sourceMethod · 0.95

Tested by

no test coverage detected