aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc
diff options
context:
space:
mode:
authorGravatar Jonathan Hseu <vomjom@vomjom.net>2018-07-31 14:50:55 -0700
committerGravatar GitHub <noreply@github.com>2018-07-31 14:50:55 -0700
commit234c9a3fd3a430f25c604c42b457b72842375f30 (patch)
tree10231061d631633274adb124f1eec01a4503c673 /tensorflow/cc
parent19f86cbeadb7014b9940be1f6921776ef9d2f986 (diff)
Slightly modify error message
Diffstat (limited to 'tensorflow/cc')
-rw-r--r--tensorflow/cc/saved_model/loader.cc2
1 files changed, 1 insertions, 1 deletions
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 =