Skip to content

Fine Tuning on Custom Dataset - Thai  #896

@MdotO

Description

@MdotO

Hi ,
I had a look at the current training scripts and aim to fine tune the thai model, with weight thai_g1.pth, on our custom dataset.
To actually load the weights, which will serve as pretrained weights, I need to know the thai_filtered.yml file and also other opt arguments, much like the "en_filtered.yml" which was present in the sample train folder/trainer.ipynb

I could create / experiment with my own configs but the problem is that my custom dataset is small . Thus I would like to freeze most of the layers and train for the last few layers. Again, all this would depend on me being able to properly load weights/knowing the model architecture.
Can you provide those opts/configs for the thai model you trained? Also additionally, i think it will be useful to share these configs alongside the weights for other languages as well!

I was looking at the the easyocr/model/model.py file and we need only supply inp,out and hidden size . Can you please confirm whether this is the right direction ?

Thanks!

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