Guest User

Untitled

a guest
Nov 17th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. tensorflowjs_converter
  2. --input_format=tf_saved_model
  3. --output_node_names='MobilenetV1/Predictions/Reshape_1'
  4. --saved_model_tags=serve
  5. /mobilenet/saved_model
  6. /mobilenet/web_model
  7.  
  8. from tensorflow.contrib import predictor
  9. predict_fn = predictor.from_saved_model('<exported_location>')
  10.  
  11. estimator.predict(lambda: predict_input_fn(pred_features), yield_single_examples=False)
Add Comment
Please, Sign In to add comment