Closed lijunyong closed 6 years ago
Exception in thread "main" org.tensorflow.TensorFlowException: SavedModel not found in export directory: /opt/model
This is a generic FileNotFoundException. Your TensorFlow model is not located in /opt/model
, it is located someplace else.
I don't know how your computer's filesystem is laid out, so I can't help.
@vruusmann my os system is ubuntu 16.04
root@main:/opt/model# pwd
/opt/model
root@main:/opt/model# ls
checkpoint mnist_model-26001.data-00000-of-00001 mnist_model-27001.index mnist_model-28001.meta
mnist_model-25001.data-00000-of-00001 mnist_model-26001.index mnist_model-27001.meta mnist_model-29001.data-00000-of-00001
mnist_model-25001.index mnist_model-26001.meta mnist_model-28001.data-00000-of-00001 mnist_model-29001.index
mnist_model-25001.meta mnist_model-27001.data-00000-of-00001 mnist_model-28001.index mnist_model-29001.meta
root@main:/opt/model#