Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created September 20, 2019 10:51
Show Gist options
  • Select an option

  • Save dipanjanS/c3a662d809d765a9c80897e32d4703ce to your computer and use it in GitHub Desktop.

Select an option

Save dipanjanS/c3a662d809d765a9c80897e32d4703ce to your computer and use it in GitHub Desktop.
%%bash --bg
docker run --runtime=nvidia -p 8501:8501 \
--mount type=bind,source=/home/jupyter/tensorflow_serving/tf_saved_models,target=/home/jupyter/tensorflow_serving/tf_saved_models \
--mount type=bind,source=/home/jupyter/tensorflow_serving/models.conf,target=/home/jupyter/tensorflow_serving/models.conf \
-t tensorflow/serving:latest-gpu --model_config_file=/home/jupyter/tensorflow_serving/models.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment