You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was read article. very useful for me. thank you so much. i was struggle
one place.
in scripts/serving_sample_request.py
sir. how we get own model inference? not pretrained model.
from keras.applications import inception_v3
r = requests.post('http://localhost:9000/v1/models/ImageClassifier:predict', json=payload)
pred = json.loads(r.content.decode('utf-8'))
print(json.dumps(inception_v3.decode_predictions(np.array(pred['predictions']))[0]))
in pretrained model they given keras inception_v3 function to do prediction.
but own model how to do this?
The text was updated successfully, but these errors were encountered:
i was read article. very useful for me. thank you so much. i was struggle
one place.
in scripts/serving_sample_request.py
sir. how we get own model inference? not pretrained model.
in pretrained model they given keras inception_v3 function to do prediction.
but own model how to do this?
The text was updated successfully, but these errors were encountered: