diff options
author | Peng Yu <peng.yu@shopify.com> | 2018-07-31 17:30:06 -0400 |
---|---|---|
committer | Peng Yu <peng.yu@shopify.com> | 2018-07-31 17:30:06 -0400 |
commit | 19f86cbeadb7014b9940be1f6921776ef9d2f986 (patch) | |
tree | 64b9bc360902220f0cedb52752d8ea2eb0a4cd3e /tensorflow/cc | |
parent | e3ef4b19627853e694a51ea0b1465a060caa8952 (diff) |
address comments
Diffstat (limited to 'tensorflow/cc')
-rw-r--r-- | tensorflow/cc/saved_model/loader.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/cc/saved_model/loader.cc b/tensorflow/cc/saved_model/loader.cc index ca8cb8a9be..22ad5e0162 100644 --- a/tensorflow/cc/saved_model/loader.cc +++ b/tensorflow/cc/saved_model/loader.cc @@ -169,9 +169,8 @@ Status RunRestore(const RunOptions& run_options, const string& export_dir, const string variables_index_path = io::JoinPath( variables_directory, MetaFilename(kSavedModelVariablesFilename)); if (!Env::Default()->FileExists(variables_index_path).ok()) { - LOG(INFO) << "Falied to restore variables from " << variables_index_path; LOG(INFO) << "The specified SavedModel has no variables; no checkpoints " - "were restored."; + "were restored. Failed to restore from " << variables_index_path; return Status::OK(); } const string variables_path = |