MCPcopy Create free account
hub / github.com/OpenImagingLab/4DSloMo / searchForMaxIteration

Function searchForMaxIteration

utils/system_utils.py:26–28  ·  view source on GitHub ↗
(folder)

Source from the content-addressed store, hash-verified

24 raise
25
26def searchForMaxIteration(folder):
27 saved_iters = [int(fname.split("_")[-1]) for fname in os.listdir(folder)]
28 return max(saved_iters)

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected