Open abhraimrb opened 1 year ago
@abhraimrb It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-text-labeling-projects.. This is the link I referred
@kvijaykannan Could you please review add comments on this, update as appropriate.
@abhraimrb I've delegated this to content author @kvijaykannan, who will review it and offer their insightful opinions.
Ok.. Awaiting solution for this task
@kvijaykannan .. Any update on this issue..?
System information
OS Platform and Distribution: Mac OS Monterey(Version 12.6.1) Resource: Azure Machine Learning Service: Data labeling Input data for labeling: Spam ham data https://www.kaggle.com/datasets/radwawaleed/spam-detection?select=spam.csv Note: Data uploaded through local file option into the datastore. Taken only one column containing Text i.e v2 column
Describe the current behavior After manually labeling some numbers of rows of text as spam and ham and also after Successful completion of AutoML Training I get the following error while label inferencing is started Execution failed. User process 'python' exited with status code 1. Please check log file 'user_logs/std_log.txt' for error details. Error: Traceback (most recent call last): File "score_script.py", line 58, in
main()
File "score_script.py", line 47, in main
inferencer.score(
File "/azureml-envs/azureml-automl-dnn-text-gpu/lib/python3.8/site-packages/azureml/automl/dnn/nlp/classification/inference/multiclass_inferencer.py", line 122, in score
generate_predictions_output_for_labeling_service_multiclass(
File "/azureml-envs/azureml-automl-dnn-text-gpu/lib/python3.8/site-packages/azureml/automl/dnn/nlp/classification/io/read/_labeling_data_helper.py", line 196, in generate_predictions_output_for_labeling_service_multiclass
f.write(json.dumps(result_entry))
File "/azureml-envs/azureml-automl-dnn-text-gpu/lib/python3.8/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/azureml-envs/azureml-automl-dnn-text-gpu/lib/python3.8/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/azureml-envs/azureml-automl-dnn-text-gpu/lib/python3.8/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/azureml-envs/azureml-automl-dnn-text-gpu/lib/python3.8/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type float32 is not JSON serializable
after Successful completion of AutoML Training, when i try to get prelabeled tasks through Label inferencing, The error is coming
Describe the expected behavior
No error.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.