mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
* refactor textdet configs * remove duplicate keys in _base_ * remove import from config * syncbn to bn on cpu * minimize change
19 lines
388 B
Python
19 lines
388 B
Python
dataset_type = 'IcdarDataset'
|
|
data_root = 'data/icdar2015'
|
|
|
|
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_test.json',
|
|
img_prefix=f'{data_root}/imgs',
|
|
pipeline=None)
|
|
|
|
train_list = [train]
|
|
|
|
test_list = [test]
|