Train, predict, export and reload a tf.estimator
for inference on a dummy example.
make run
model.py
defines themodel_fn
train.py
trains an Estimator using themodel_fn
export.py
exports the Estimator as asaved_model
predict.py
reloads an Estimator and uses it for predictionserve.py
reloads the inference graph from thesaved_model
format and uses it for prediction