How to fix Score Model (AFx Library) : Error 10: Argument 1 Array must not be empty

Ngọc Minh Phan 20 Reputation points
2024-08-21T09:14:42.2466667+00:00

When I test preview, I have this error: Score Model (AFx Library) : Error 10: Argument 1 Array must not be empty. So What is empty in Score Model and how to fix it?

Error Message: Score Model (AFx Library) : Error 10: Argument 1 Array must not be empty.

Error Message: Score Model (AFx Library) : Error 10: Argument 1 Array must not be empty.

Site Path: /workspaces/2ae9e6b78ee14ea0aed31eeaca7bf412/webservices/9313fbd231be4ae7aedd418e799422ad/endpoints/default/test/rrs

Activity ID: 82e53138-b3b9-4a94-8695-0b8152c505ac

Request ID: 25e3dbf8-cdab-4e7f-97b5-d9e45b2350bd

Workspace ID: 2ae9e6b78ee14ea0aed31eeaca7bf412

Workspace Type: Free

User Role: Owner

Tenant ID: f8cdef31-a31e-4b4a-93e4-5f571e91255a

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,888 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 45,721 Reputation points Microsoft Employee
    2024-08-21T11:49:14.38+00:00

    @Ngọc Minh Phan This is a user error where the score model module uses a dataset and a trained model, the trained model expects the dataset to be in the correct format from the other input to the module. If the input dataset is not of correct format this type of error will be seen. In this case, the dataset array seems to be empty. Try correcting this and retry the experiment. Here is a reference to the score model module from documentation.

    https://learn.microsoft.com/en-us/azure/machine-learning/component-reference/score-model?view=azureml-api-2

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.