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

Method start

monai/data/dataset.py:1139–1145  ·  view source on GitHub ↗

Start the background thread to replace training items for every epoch.

(self)

Source from the content-addressed store, hash-verified

1137 return False if self._replace_mgr is None else self._replace_mgr.is_alive()
1138
1139 def start(self):
1140 """
1141 Start the background thread to replace training items for every epoch.
1142
1143 """
1144 if not self.is_started():
1145 self._restart()
1146
1147 def _restart(self):
1148 """

Callers 7

update_cacheMethod · 0.95
test_shapeMethod · 0.95
test_update_cacheMethod · 0.95
test_shuffleMethod · 0.95
test_set_dataMethod · 0.95
__iter__Method · 0.45
_restartMethod · 0.45

Calls 2

is_startedMethod · 0.95
_restartMethod · 0.95

Tested by 4

test_shapeMethod · 0.76
test_update_cacheMethod · 0.76
test_shuffleMethod · 0.76
test_set_dataMethod · 0.76