Skip to content

Sample spreadsheet does not work during execution - Why? #6

@lefterisloukas

Description

@lefterisloukas

Hi, I am trying to pretrain a model based on your spreadsheet sample. However, the code rejects the sample for some reason.
The same happens for some manual spreadsheet samples that I've created.

I believe this happens due to lines 681-682 in tokenizer.py:

if (max(top_pos_list[icell]) == -1) or (max(left_pos_list[icell]) == -1):
    return None

But I can not understand thoroughly what's happening behind these conditions for these lists.
Can you please explain why your given spreadsheet sample is not working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions