Skip to content

FineTuning Segmentation detecting different structure than active #746

@nostalgic-math-student

Description

@nostalgic-math-student

Hello, I have found an issue while trying segtrain finetuning.

My data is ALTO XML files and image to back the text, I would like to do segmentation tasks with segtrain models.
So I have this batch of models which I would like to finetune with an extra batch of data in the same ALTO Format SCHEMA version 4.2
However when I try to run ketos segtrain I get this error:

ValueError: Training data and model class mapping differ (bl: set(), regions: {'composed'}

Where I have checked every file has the same structure and format (I ran the parser by my own) but Kraken check warns of "regions composed" not present in the files.

Weird enough matter, if I try to do "fineTune" using the same training data I don't get this error again, meaning there is something I may have missed.

Thanks for the help, hope this is not an error but might be something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions