Labels file is invalid for the following reason(s): .... has labels with undefined subfields

Vittorio Tison 51 Reputation points
2021-08-10T17:43:20.927+00:00

Hi all, I am updating my custom form recognizer model to take advantage of the table labels.
It's a tax form, that has some sections that can be either filled or not, and some columns may be filled and others not.
I am getting the following error on basically all the training files:

Labels file is invalid for the following reason(s): .... has labels with undefined subfields

Do you have any hint?

Thank you and best regards,

Vittorio

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

2 answers

Sort by: Most helpful
  1. Vittorio Tison 51 Reputation points
    2021-08-12T05:31:04.61+00:00

    Hello again @GiftA-MSFT ,
    it gave me again the same error.
    Moved from -preview to -2.1.

    At the moment i have resolved the issue simply removing the column from my table.

    Best regards,

    Vittorio

    1 person found this answer helpful.

  2. GiftA-MSFT 11,171 Reputation points
    2021-08-11T21:40:48.597+00:00

    Hi, thanks for reaching out. Can you confirm if you're using Form Recognizer v2.1? In addition to training fixed or dynamic tables, this version supports empty-value labeling. If some documents in your training set do not have values for certain fields, you can label empty values and regions so that your model knows to extract values properly from analyzed documents. Hope this helps!


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.