https://github.com/guillaumegenthial/tf-estimator-basics
Train, predict, export and reload a tf.estimator for inference
https://github.com/guillaumegenthial/tf-estimator-basics
tensorflow tensorflow-estimator tensorflow-serving
Last synced: 9 months ago
JSON representation
Train, predict, export and reload a tf.estimator for inference
- Host: GitHub
- URL: https://github.com/guillaumegenthial/tf-estimator-basics
- Owner: guillaumegenthial
- Created: 2018-11-23T19:35:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T03:36:31.000Z (over 7 years ago)
- Last Synced: 2025-04-05T16:36:45.074Z (over 1 year ago)
- Topics: tensorflow, tensorflow-estimator, tensorflow-serving
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 45
- Watchers: 1
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tensorflow Estimator Basics
Train, predict, export and reload a `tf.estimator` for inference on a dummy example.
[Read the blog post](https://guillaumegenthial.github.io/serving-tensorflow-estimator.html)
## Quickstart
```
make run
```
## Details
- `model.py` defines the `model_fn`
- `train.py` trains an Estimator using the `model_fn`
- `export.py` exports the Estimator as a `saved_model`
- `predict.py` reloads an Estimator and uses it for prediction
- `serve.py` reloads the inference graph from the `saved_model` format and uses it for prediction