Empty Model is creating while using Train Custom Model Asyc Post Request

Sahil Khurana 1 Reputation point
2022-11-02T16:42:16.643+00:00

We are trying out Creating Custom Model Asyc service and using Blob SAS URI as source and putting other required paramenters like
"sourceFilter": {
"prefix": "",
"includeSubFolders": false
},
"useLabelFile": false

When we keep useLabelFile:False
The post request cerates an empty model

when we change useLabel:True , Model is not created howver resopnse came as 201.

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,535 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 43,696 Reputation points Microsoft Employee
    2022-11-03T11:31:04.46+00:00

    @Sahil Khurana I think you are using the API version v2.1 with the source string, which contains the location of your training files, and these training files might not be accessible.
    Are you using the format as mentioned in your request body?

    {  
      "source": "string",  
      "sourceFilter": {  
        "prefix": "string",  
        "includeSubFolders": false  
      },  
      "useLabelFile": false  
    }  
    

    Is this source an azure storage account with the required permissions?
    I think you can configure the same source string with the FOTT labeling tool and check if the training documents are loading before you submit the training request through the tool.