1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
| docker run -t --rm -p 8501:8501 \ -v "/home/Personas/havorld/tfserving/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
docker run -t --rm -p 8501:8501 \ -v "/Users/haopeng.meng/jupyter/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
cat /opt/logs/rec-feed-api/access.log | grep "feed recommend-> uid:55" | grep "id=34174686"
sudo docker run -t --rm -p 8501:8501 -p 8500:8500 \ -v "/home/meng.haopeng/tfserving/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
docker run -p 8501:8501 -p 8500:8500 \ --mount type=bind,source=/Users/haopeng.meng/jupyter/tf_saved_models,target=/models/tf_saved_models \ -e MODEL_NAME=tf_saved_models \ -t tensorflow/serving
docker run -p 8500:8500 \ --mount type=bind,source=./intent/,target=/models/intent_score \ -e MODEL_NAME=intent_score -t tensorflow/serving:1.10.0
docker run -p 8501:8501 -p 8500:8500 --mount type=bind,source=/my/model/path/m,target=/models/m -e MODEL_NAME=m -t tensorflow/serving:2.1.0
sudo docker run -t --rm -p 8501:8501 -p 8500:8500 \ -v "/home/meng.haopeng/tfserving/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
#docker run -t -p 443:8500 -p 8500:8501 -v "/data/lsj/dmp/SavedModel/:/models/" tensorflow/serving --model_config_file=/models/models.config --model_config_file_poll_wait_seconds=300
# run use container docker run -t -p 8501:8500 --name=tf_serving_multi_version_01 -v "/data/tf-model/models/:/models/" tensorflow/serving --model_config_file=/models/models.config --model_config_file_poll_wait_seconds=300 --allow_version_labels_for_unavailable_models=true --enable_batching=true --batching_parameters_file=/models/batch.config
# tf-serving部署
docker run -t --rm -p 8501:8501 \ -v "/Users/haopeng.meng/jupyter/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
docker run -p 8501:8501 -p 8500:8500 \ --mount type=bind,source=/Users/haopeng.meng/jupyter/tf_saved_models,target=/models/tf_saved_models \ -e MODEL_NAME=tf_saved_models \ -t tensorflow/serving
sudo docker run -t --rm -p 8501:8501 -p 8500:8500 \ -v "/home/meng.haopeng/tfserving/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
sudo docker run --name feed -t --rm -p 8700:8500 -p 8701:8501 \ -v "/home/meng.haopeng/tfserving/tf_saved_models:/models/tf_saved_models" \ -e MODEL_NAME=tf_saved_models \ tensorflow/serving
docker run --name feed -t --rm -p 8701:8501 -p 8700:8500 \ --mount type=bind,source=/home/Personas/havorld/tfserving/model_save,target=/models/model_save \ -e MODEL_NAME=model_save \ -t tensorflow/serving:latest-gpu
docker run --name feed -t --rm -p 8700:8500 -p 8701:8501 \ --mount type=bind,source=/Users/haopeng.meng/Desktop/recommend/rec-alg-feed/model_save/din/serving/,target=/models/serving \ -e MODEL_NAME=serving \ -t tensorflow/serving docker run --name feed -t --rm -p 8700:8500 -p 8701:8501 \ --mount type=bind,source=/Users/haopeng.meng/Desktop/recommend/serving/din/,target=/models/serving \ -e MODEL_NAME=serving \ -t tensorflow/serving
|