From 234c9a3fd3a430f25c604c42b457b72842375f30 Mon Sep 17 00:00:00 2001 From: Jonathan Hseu Date: Tue, 31 Jul 2018 14:50:55 -0700 Subject: Slightly modify error message --- tensorflow/cc/saved_model/loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensorflow/cc') diff --git a/tensorflow/cc/saved_model/loader.cc b/tensorflow/cc/saved_model/loader.cc index 22ad5e0162..a5eae97f6e 100644 --- a/tensorflow/cc/saved_model/loader.cc +++ b/tensorflow/cc/saved_model/loader.cc @@ -170,7 +170,7 @@ Status RunRestore(const RunOptions& run_options, const string& export_dir, variables_directory, MetaFilename(kSavedModelVariablesFilename)); if (!Env::Default()->FileExists(variables_index_path).ok()) { LOG(INFO) << "The specified SavedModel has no variables; no checkpoints " - "were restored. Failed to restore from " << variables_index_path; + "were restored. File does not exist: " << variables_index_path; return Status::OK(); } const string variables_path = -- cgit v1.2.3