mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
18 lines
410 B
Python
Executable File
18 lines
410 B
Python
Executable File
toy_data_root = 'tests/data/rec_toy_dataset/'
|
|
|
|
toy_rec_train = dict(
|
|
type='OCRDataset',
|
|
data_root=toy_data_root,
|
|
data_prefix=dict(img_path='imgs/'),
|
|
ann_file='labels.json',
|
|
pipeline=None,
|
|
test_mode=False)
|
|
|
|
toy_rec_test = dict(
|
|
type='OCRDataset',
|
|
data_root=toy_data_root,
|
|
data_prefix=dict(img_path='imgs/'),
|
|
ann_file='labels.json',
|
|
pipeline=None,
|
|
test_mode=True)
|