tensorflow-serving-client
A prebuilt tensorflow serving client from the tensorflow serving proto files.
Currently supported build: C++, Java, Python, Node, Go, Mono, Rust.
Check tensorflow serving project for details: https://tensorflow.github.io/serving/
update protos
Set desired version in the VERSION
file and invoke ./update.sh
.
build libraries
Grpc tools are needed for building variant packages.
- Install
protobuf-compiler-grpc
andlibprotobuf-dev
on Ubuntu - Install
grpc
andprotobuf
on macOS
See .travis.yml
for details.
NOTE: [email protected] and [email protected] are required
using docker
Invoke ./build.sh
instead of gradle
to build artifacts using the docker.
The building container runs as user gradle
whose UID:GID is 1000:1000. It goes well given that the UID:GID pair of the user matches the one in the host OS.
Otherwise you have to configure it manually. There are two approaches you can take either:
- Create a new user in the host OS to match the UID:GID pair of
gradle
. - Make the dirs
.gradle
,build
andobj
in the project root to be world-writable.
known issues
- protobuf 3.12.3 is buggy (protocolbuffers/protobuf#7683)