Form Recognizer - Model training failure when train custom model with cross page table

Tuyến Trần 6 Reputation points
2022-10-19T11:15:38.847+00:00

I keep getting "Model training failure - InternalServerError: An unexpected error occurred" when trying to train a custom model with cross page table. The model could be train when I only using documents with table contain in one page but couldn't recognize the table data after the first page in testing. All the files used for training are under the input requirement and I have label each row of the table across the different pages in a single table.
Below are sample image of the cross page table and single page table documents.
251986-image.png251956-image1.png252011-image2.png

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,342 questions
{count} vote

4 answers

Sort by: Most helpful
  1. HouMez 331 Reputation points
    2022-11-10T23:20:47.633+00:00

    Hi,
    The workaround we found so far is to use the fields.json file from an old project (from when cross page table still worked), you can rename or add new fields, rename the columns of the table object or add new columns, but DO NOT rename the table object. The issue seems to be related to the table object elements in the fields.json file of new projects. Hope this could help for now.


  2. HouMez 331 Reputation points
    2022-11-24T13:59:38.74+00:00

    Hi @Tuyến Trần ,
    A workaround until the fix, is to edit the fields.json file by replacing the GUID in the itemType and definitions/fieldKey tag with the table name followed by _object, here is an example:

    263866-2022-11-24-14h48-17.png

    263927-2022-11-24-14h50-01.png

    Hope this helps.

    0 comments No comments

  3. HouMez 331 Reputation points
    2022-12-07T15:11:24.617+00:00

    Hi @Tuyến Trần ,
    This issue has been fixed on Form Recognizer Studio.

    0 comments No comments

  4. YutongTie-MSFT 46,091 Reputation points
    2022-12-08T00:31:40.263+00:00

    Hello everyone,

    Product team has rolled out a hotfix for this issue, it will be back to original behavior for new labels.

    For existing labels that already uses GUID in fields.json. Please perform a “Rename Field” action for the table field. Studio will correct the fields and definitions after the “Rename Field” action.
    d67d7cb4-dadf-4bf1-81cb-0b50cc29d607

    Please let me know if you still have any issue.

    Regards,
    Yutong