Skip to content

Instantly share code, notes, and snippets.

@zh3389
Last active February 8, 2021 05:27
Show Gist options
  • Save zh3389/b82e993ba3228d1285175d474a41cc8b to your computer and use it in GitHub Desktop.
Save zh3389/b82e993ba3228d1285175d474a41cc8b to your computer and use it in GitHub Desktop.
用于启动tensorflow pb模型的serving服务
docker run -it -p 8501:8501 \
-v "$(pwd)/save_model:/models/docker_test" \
-e MODEL_NAME=docker_test tensorflow/serving
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment