image-segmentation-keras
image-segmentation-keras copied to clipboard
Compatibility with TensorFlow 2.4.1
trafficstars
-
Under TF 2, the output for the first checkpoint is
.00001.indexand.00001.data-00000-of-00001rather than.0.get_epoch_number_from_pathnow strips path usingos.path.basenameand the.indexsuffix to properly return the number of the checkpoint. -
model_from_checkpoint_pathnow usesos.path.jointo avoid having to supply a trailing slash for the model directory.