Created
August 13, 2018 16:11
-
-
Save lakshmanok/e29323bbd3737a98207bed05d6e24ae8 to your computer and use it in GitHub Desktop.
How to serve an embedding trained with Estimators (#2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EXPORTDIR=./model_trained/export/exporter/ | |
| MODELDIR=$(ls $EXPORTDIR | tail -1) | |
| gcloud ml-engine local predict --model-dir=${EXPORTDIR}/${MODELDIR} --json-instances=./test.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment