go-tf-serving-protogen

module
v2.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause

README

go-tf-serving-protogen

Welcome to the go-tf-serving-protogen repository, where I make TensorFlow Serving and Protobufs in Go a little less intimidating.

Versioning

The versioning of this library aligns with TensorFlow versions to provide clarity on compatibility:

Compatibility Matrix

Here's a simple compatibility matrix to help you choose the right version based on your TensorFlow Serving version:

Library Version TensorFlow/Serving Compatibility
v2.11.0 2.11.0
v2.10.0 2.10.0
... ...

Installation

go get github.com/airenas/go-tf-serving-protogen/v2
## or better 
go get github.com/airenas/go-tf-serving-protogen/v2@<tf-serving-version>

Generating protoc code for new version

Requirements

Just:

  • git
  • make
  • docker
  • go

When preparing for a new TensorFlow version, follow these steps:

## select version
export tfserving_version=2.15.0

## generate code
make clean generate tf=${tfserving_version}

## comit code and do 
git tag v${tfserving_version}
git push origin v${tfserving_version}

Examples

Explore the library usage by checking out the examples folder.

Contributing

I welcome contributions! If you encounter issues or have ideas for improvements, please feel free to open an issue or submit a pull request.

Directories

Path Synopsis
examples
prediction
Sample of making a call to prediction model served by tensorflow serving on localhost
Sample of making a call to prediction model served by tensorflow serving on localhost
tensorflow
tensorflow_serving

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL