diff --git a/tensorboard/plugins/projector/projector_plugin.py b/tensorboard/plugins/projector/projector_plugin.py index 1cea3af83f..213ee39c36 100644 --- a/tensorboard/plugins/projector/projector_plugin.py +++ b/tensorboard/plugins/projector/projector_plugin.py @@ -406,9 +406,9 @@ def _read_latest_config_files(self, run_path_pairs): if ckpt_path: config.model_checkpoint_path = ckpt_path - # Sanity check for the checkpoint file. + # Sanity check for the checkpoint file existing. if (config.model_checkpoint_path and _using_tf() and - not tf.compat.v1.train.checkpoint_exists(config.model_checkpoint_path)): + not tf.io.gfile.glob(config.model_checkpoint_path + '*')): logger.warn('Checkpoint file "%s" not found', config.model_checkpoint_path) continue