question

DivyaRustagi-3948 avatar image
0 Votes"
DivyaRustagi-3948 asked DivyaRustagi-3948 commented

TRAINING FAILED - Incompatible Label Names with contents of fields.json and the label schema version [Azure Form Recognizer]

Help!

UPDATE: I noticed that my renamed table tags had not been configured so they were not matching the label schema in fields.json. I want to think I fixed it by reconfiguring all those tables.

BUT, now I have error code 3014:

{"modelInfo":{"modelId":"6a121281-52b4-4b80-a8ed-20f776a22dfa","status":"invalid",

"createdDateTime":"2021-08-05T07:35:47Z",

"lastUpdatedDateTime":"2021-08-05T07:35:50Z"},

"trainResult":{"averageModelAccuracy":0.0,

"errors":[{"code":"3014","message":"Generic error during training."}]}}


I originally had some '/' in my labels, but now I have completely removed them and replaced them with '|' in some cases. It's hard to troubleshoot because I have way too many labels, so I can't easily rename everything.

I'd appreciate it if someone could help me out here.

Using version 2.1.preview.3 for the sample labeling tool.

120640-image.png



Did inspect element, and look like I am running into Error code 2101.





azure-form-recognizer
image.png (103.8 KiB)
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DivyaRustagi-3948 For the first error you reported I think you might have fixed it based on error message.
For the second error 3014, I believe the issue might be with the version of the train API you are calling for train. If you have used reference of files which used 2.1-preview.3 version from the labeling tool you should ensure the same API version is used. Also, ensure the training and analyze API versions also match if the training is successful.

0 Votes 0 ·

120832-image.png


120816-image.png



Looks like the API versions are the same. This is from project settings and the bottom corner of the sample labeling tool. What am I missing?

@romungi-MSFT thanks for your replies!

0 Votes 0 ·
image.png (7.9 KiB)
image.png (8.9 KiB)

@DivyaRustagi-3948 I would debug the issue by creating a new project in the labeling tool with a sample set of image or form files to check if training requests are working for this resource.
If the training is successful, then there is some issue in the label or field files of this project which needs correction. Unfortunately, the failure responses might not be detailed but having a reference set of files which works helps to debug this issue further. You could also try to GET or LIST the failed custom model id to check if there is more information.


1 Vote 1 ·
Show more comments

0 Answers