Slide 48
Slide 48 text
Doing Inference
xs = np.array([[case_1], [case_2] ... [case_n]])
data = json.dumps({"signature_name": " ",
"instances": xs.tolist()})
json_response = requests.post(
'http://localhost:8501/v1/models/test:predict',
data = data,
headers = headers)