Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to train and annotate on custom dataset #12

Closed
harsh2ai opened this issue Aug 5, 2022 · 2 comments
Closed

How to train and annotate on custom dataset #12

harsh2ai opened this issue Aug 5, 2022 · 2 comments

Comments

@harsh2ai
Copy link

harsh2ai commented Aug 5, 2022

@gwkrsrch
Its a great project but I do have couple on questions on how to annotate my custom dataset
I have 10K images with texts on them I want different categories from them like price objects count product name , product description, is there any tool to do so , if no then how can it be done.

@VictorAtPL
Copy link

hey @harsh2ai

for my dataset I used label-studio to annotate training, validation and test data: https://labelstud.io/templates/optical_character_recognition.html

based on the output of Label-studio I had to prepare the json which is expected by donut:

{"file_name": {image_path0}, "ground_truth": "{\"gt_parse\": {ground_truth_parse}, ... {other_metadata_not_used} ... }"}

@gwkrsrch
Copy link
Collaborator

Hi, deeply thanks to @VictorAtPL for the comments.
The introduced tool seems suitable enough to perform the annotation. On the other hand, since donut can be trained without bounding box information, labeling with a simpler/naive tool would also be an option. For example, in some simple IE tasks, it would also be okay to directly create a target ground-truth JSON with a text editor. Hope this helps to you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants