Example of using Elixir gRPC client for Tensorflow Serving
Try it here!
To generate the Elixir files from Protobuf specs, run:
protoc --elixir_out=plugins=grpc:./lib/messages protos/tensorflow/core/framework/* protos/tensorflow_serving/apis/* protos/google/protobuf/* -I protos
To run the model for hand-written digits, run:
docker run -p 8501:8501 -p 8500:8500 \
--mount type=bind,source=/path/to/mnist/digits,target=/models/digits \
-e MODEL_NAME=digits -t tensorflow/serving &