Skip to content

Instantly share code, notes, and snippets.

@sararob sararob/predict.py Secret
Created Aug 14, 2018

Embed
What would you like to do?
predict_input_fn = tf.estimator.inputs.numpy_input_fn({"descriptions": np.array(raw_test).astype(np.str)}, shuffle=False)
results = estimator.predict(predict_input_fn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.