Azure Form Recognizer compose model error

D. Reagan

I'm attempting to create a composed model in python 3.8.5 using azure-ai-formrecognizer==3.1.0b1.

I recently re-trained one of the sub-models and now I am receiving the following error when I attempt to create the updated composed model:

azure.core.exceptions.HttpResponseError: (3200) Internal error during model reading for model f13d268e-336e-4104-9625-ad0a5463dc82.
Invalid model created with ID=7909e991-8f39-4605-9558-eda89291ddb9

The model with id f13d268e-336e-4104-9625-ad0a5463dc82 works fine, however, when I use it individually. Here is the json for the model that I am able to download from https://fott-preview.azurewebsites.net/

{"modelInfo":{"modelId":"f13d268e-336e-4104-9625-ad0a5463dc82","modelName":"cigna_1","attributes":{"isComposed":false},"status":"ready","createdDateTime":"2021-05-08T01:03:35Z","lastUpdatedDateTime":"2021-05-08T01:03:42Z"},"trainResult":{"averageModelAccuracy":0.608,"trainingDocuments":[{"documentName":"cigna_1/cigna_1_0.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_1.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_10.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_11.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_12.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_13.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_14.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_15.pdf","pages":2,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_16.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_2.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_3.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_4.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_5.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_6.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_7.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_8.pdf","pages":1,"status":"succeeded"},{"documentName":"cigna_1/cigna_1_9.pdf","pages":1,"status":"succeeded"}],"fields":[{"fieldName":"Group","accuracy":0.529},{"fieldName":"GroupID","accuracy":0.353},{"fieldName":"InsuranceCompany","accuracy":0.941},{"fieldName":"Network","accuracy":0.706},{"fieldName":"Provider","accuracy":0.588},{"fieldName":"ProviderID","accuracy":0.529}],"errors":[]}}

As you can see it is not itself a composed model. It previously was able to be composed just fine. I recently retrained it with some new training examples.

Any ideas?

D. Reagan

I updated to azure-ai-formrecognizer==3.1.0b4, and now the composed model was created correctly.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Form Recognizer compose feature limit: documentation says 100 but response error just 5

Where to find the model identifier in Form Recognizer?

Azure Form Recognizer Set API Version

Azure Form Recognizer Name/Value Pairs

Azure Form Recognizer Resource Usage Metrics

Azure Form Recognizer Not Finding Content with Python on Databricks

Problem reading pdf file for azure form recognizer

Azure form recognizer error: "Failed to download image from input URL."

How can I fix the "invalid character" error when creating a project in Azure Form Recognizer labeling tool

deserialize RecognizedForm object from json (Azure Form Recognizer Python SDK)

visualize table data from JSON file from azure Form Recognizer

Azure Cognitive Services - Not able to select location or pricing tier in Form Recognizer

Azure Cognitive Form Recognizer to Extract Page Numbers using Python

Azure Form Recognizer only analyzes the first file in a stream

When do we need to use the 'Compose' option in Form Recognizer Labelling Tool?

How to make call to analyze a receipt with Azure Form Recognizer when using docker container version?

Can't extract information as key-value pair from ID card using Azure Form Recognizer

How to improve the accuracy of Form Recognizer?

Redux form with compose not working throwing error

Azure Bot Framework V4 (NodeJS) - LUIS recognizer returns error?

Unable to share project in Azure Form Recognizer studio. "Please make sure you have the permission to access Storage Account"

Kaggle Digit Recognizer Using SVM (e1071): Error in predict.svm(ret, xhold, decision.values = TRUE) : Model is empty

Form Recognizer/Computer Vision pbm file support

Form Recognizer S0 tier limitations

MS Form Recognizer Tool Create Project

Ruby on Rails - nested model form error messages

NoReverseMatch error for combined form and model_formset

Validation error on custom model attributes not displayed in form

Laravel form model binding htmlentities error