Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Latest commit

 

History

History
14 lines (7 loc) · 478 Bytes

File metadata and controls

14 lines (7 loc) · 478 Bytes

Training tensorflow models in Python. Serving with Golang.

Example code to setup, train and export a basic tensorflow model in Python and then import that model in Go and start predicting.

Usage

tensorflow needs to be installed in your Python and Go environment. For Python pip install -r requirements is enough. For Go, please refer to https://www.tensorflow.org/install/install_go

To run the example code, just do:

 python example.py
 go run example.go