Spaces:
Sleeping
Sleeping
File size: 995 Bytes
9bf4bd7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
union14m_data_root = '../data/Union14M-L/'
union14m_challenging = dict(
type='OCRDataset',
data_root=union14m_data_root,
ann_file='train_annos/mmocr1.0/train_challenging.json',
test_mode=True,
pipeline=None)
union14m_hard = dict(
type='OCRDataset',
data_root=union14m_data_root,
ann_file='train_annos/mmocr1.0/train_hard.json',
pipeline=None)
union14m_medium = dict(
type='OCRDataset',
data_root=union14m_data_root,
ann_file='train_annos/mmocr1.0/train_medium.json',
pipeline=None)
union14m_normal = dict(
type='OCRDataset',
data_root=union14m_data_root,
ann_file='train_annos/mmocr1.0/train_normal.json',
pipeline=None)
union14m_easy = dict(
type='OCRDataset',
data_root=union14m_data_root,
ann_file='train_annos/mmocr1.0/train_easy.json',
pipeline=None)
union14m_val = dict(
type='OCRDataset',
data_root=union14m_data_root,
ann_file='train_annos/mmocr1.0/val_annos.json',
pipeline=None)
|