aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc/saved_model/loader.cc
diff options
context:
space:
mode:
authorGravatar Yan Facai (颜发才) <facai.yan@gmail.com>2018-08-14 15:05:02 +0800
committerGravatar Yan Facai (颜发才) <facai.yan@gmail.com>2018-08-14 15:05:02 +0800
commit8f4bb0fed956a35b767c0984d9587636cba661bb (patch)
treebcf8460276aeb730449afec0d930818ac73f4163 /tensorflow/cc/saved_model/loader.cc
parent0552c2976cf6e4f0f09556d0a3ae5a76509e9a46 (diff)
parentcb53bfaf48588962f5799391d3a7a411dda72b49 (diff)
Merge remote-tracking branch 'upstream/master' into ENH/unsafe_div
Diffstat (limited to 'tensorflow/cc/saved_model/loader.cc')
-rw-r--r--tensorflow/cc/saved_model/loader.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/cc/saved_model/loader.cc b/tensorflow/cc/saved_model/loader.cc
index 98be66a6ad..3830416159 100644
--- a/tensorflow/cc/saved_model/loader.cc
+++ b/tensorflow/cc/saved_model/loader.cc
@@ -170,7 +170,8 @@ 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.";
+ "were restored. File does not exist: "
+ << variables_index_path;
return Status::OK();
}
const string variables_path =