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
Fails with the error -
HttpResponseError: (None) A value is not provided for the 'input_data' parameter.
Code: None
Message: A value is not provided for the 'input_data' parameter.
Expected behavior
Scoring of the sample_score.json file using the online endpoint with the azureml endpoint invoke method
Actual behavior
HttpResponseError: (None) A value is not provided for the 'input_data' parameter.
Code: None
Message: A value is not provided for the 'input_data' parameter.
Addition information
No response
The text was updated successfully, but these errors were encountered:
Operating System
Windows
Version Information
Not sure how to get that but the SDK version is 1.56.0
Steps to reproduce
In step 9 of finetuning for text classification azureml-examples (https://github.com/Azure/azureml-examples/blob/main/sdk/python/foundation-models/system/finetune/text-classification/emotion-detection.ipynb), the code,
score the sample_score.json file using the online endpoint with the azureml endpoint invoke method
response = workspace_ml_client.online_endpoints.invoke(
endpoint_name=online_endpoint_name,
deployment_name="demo",
request_file="./emotion-dataset/sample_score.json",
)
print("raw response: \n", response, "\n")
convert the response to a pandas dataframe and rename the label column as scored_label
response_df = pd.read_json(response)
response_df = response_df.rename(columns={0: "scored_label"})
response_df.head(5)
Fails with the error -
HttpResponseError: (None) A value is not provided for the 'input_data' parameter.
Code: None
Message: A value is not provided for the 'input_data' parameter.
Expected behavior
Scoring of the sample_score.json file using the online endpoint with the azureml endpoint invoke method
Actual behavior
HttpResponseError: (None) A value is not provided for the 'input_data' parameter.
Code: None
Message: A value is not provided for the 'input_data' parameter.
Addition information
No response
The text was updated successfully, but these errors were encountered: