mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
19 lines
387 B
Python
19 lines
387 B
Python
|
dataset_type = 'IcdarDataset'
|
||
|
data_root = 'data/icdar2017'
|
||
|
|
||
|
train = dict(
|
||
|
type=dataset_type,
|
||
|
ann_file=f'{data_root}/instances_training.json',
|
||
|
img_prefix=f'{data_root}/imgs',
|
||
|
pipeline=None)
|
||
|
|
||
|
test = dict(
|
||
|
type=dataset_type,
|
||
|
ann_file=f'{data_root}/instances_val.json',
|
||
|
img_prefix=f'{data_root}/imgs',
|
||
|
pipeline=None)
|
||
|
|
||
|
train_list = [train]
|
||
|
|
||
|
test_list = [test]
|