arun2728 / tensorflow-export-import-example

example code that shows how to export a model in Python and import that model in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

example code that shows how to export a model in Python and import that model in Go

License:MIT License


Languages

Language:Python 71.8%Language:Go 28.2%