https-deeplearning-ai / machine-learning-engineering-for-production-public

Public repo for DeepLearning.AI MLEP Specialization
Apache License 2.0
1.85k stars 2.36k forks source link

bind source path does not exist: /tmp/tfserving/serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_half_plus_two_cpu. #86

Closed jarmi95 closed 11 months ago

jarmi95 commented 1 year ago

Expected Behavior

In C4_W1_Lab_2_TFS_Docker.md, running TF model using TF-Serving after executing:

docker run --rm -p 8501:8501 \
  --mount type=bind,\
source=/tmp/tfserving/serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_half_plus_two_cpu,\
target=/models/half_plus_two \
  -e MODEL_NAME=half_plus_two -t tensorflow/serving &

Actual Behavior

Getting next error after run above command:

docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/tfserving/serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_half_plus_two_cpu

Steps to Reproduce the Problem

Follow all steps in: https://github.com/https-deeplearning-ai/machine-learning-engineering-for-production-public/blob/main/course4/week1-ungraded-labs/C4_W1_Lab_2_TFS_Docker.md

Specifications