tomodrgn.utils.get_latest_epoch#

get_latest_epoch(workdir: str) int[source]#

Detect the latest completed epoch of model training.

Parameters:

workdir – directory containing pre-existing training results

Returns:

integer representing the latest 0-indexed epoch of completeed model training