diff --git a/README.md b/README.md index 58bb134697db05dc62d008c9a0c41e03a0763dc1..ba8fe3920880c17bed133f537d162c5886e2d20a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,26 @@ inspired by https://stackoverflow.com/questions/55033952/grpc-only-tensorflow-se To use this u need to install: grpcio , -grpcio_tools , +grpcio_tools + +to Create DockerImage to serve model use: + +docker run -d --name serving_base tensorflow/serving + +to create image +and copy Model into the container by: + +docker cp models/<my model> serving_base:/models/<my model> + +inside container run: +tensorflow_model_server --port=8500 --rest_api_port=8501 --model_name=best_model --model_base_path=/models/best_model + +to run the model server. + +To check the variables and signature of your model run: +saved_model_cli show --dir models/best_model/1 --all + +