diff options
author | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-08 15:53:46 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-08 15:54:21 -0700 |
commit | 63c54eab8c7d526d49ecbb441e12a81b86dfdeaa (patch) | |
tree | 288d2950beee316639e8ce0a29212ef7ef9ba759 /tensorflow/cc | |
parent | 80dae290b7d4e24b005d419da866f2c22410d818 (diff) | |
parent | 16c2b25e7e23fb1ac373cd2162ce18ca71e9b0a8 (diff) |
Merge pull request #21289 from yupbank:more-informative-log
PiperOrigin-RevId: 207959776
Diffstat (limited to 'tensorflow/cc')
-rw-r--r-- | tensorflow/cc/saved_model/loader.cc | 3 |
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 = |