Skip to content

Question: I need help for training my custom dataset #25

@kerberosargos

Description

@kerberosargos

Hello firstly thank you.

I am using mmocr. I have create "iiit5k" by using mmocr's as following command

python tools/dataset_converters/prepare_dataset.py IIIT5K --task textrecog --overwrite-cfg

I have created cropped image by using textsnake model as following images

00bc6b1efa4849a79bb2d29e1765f93b-ezsam_2

00bc6b1efa4849a79bb2d29e1765f93b-ezsam_1

My question is "Can I train your model with those type images as a sentences? "

My mmocr iiit5k's textrecog_train.json file as following

{
	"metainfo": {
		"dataset_type": "TextRecogDataset",
		"task_name": "textrecog"
	},
	"data_list": [
		{
			"instances": [
				{
					"text": "Z NO: 2808"
				}
			],
			"img_path": "textrecog_imgs\\train\\00bc6b1efa4849a79bb2d29e1765f93b-ezsam_2.png"
		},
		{
			"instances": [
				{
					"text": "EKÜ NO: 0001"
				}
			],
			"img_path": "textrecog_imgs\\train\\00bc6b1efa4849a79bb2d29e1765f93b-ezsam_1.png"
		}
	]
}

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