Spaces:
Sleeping
Sleeping
File size: 2,266 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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
union14m_root = '../data/Union14M-L/'
union14m_benchmark_root = '../data/Union14M-L/Union14M-Benchmarks'
union14m_benchmark_artistic = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/artistic'),
ann_file=f'{union14m_benchmark_root}/artistic/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_contextless = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/contextless'),
ann_file=f'{union14m_benchmark_root}/contextless/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_curve = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/curve'),
ann_file=f'{union14m_benchmark_root}/curve/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_incomplete = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/incomplete'),
ann_file=f'{union14m_benchmark_root}/incomplete/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_incomplete_ori = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/incomplete_ori'),
ann_file=f'{union14m_benchmark_root}/incomplete_ori/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_multi_oriented = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/multi_oriented'),
ann_file=f'{union14m_benchmark_root}/multi_oriented/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_multi_words = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/multi_words'),
ann_file=f'{union14m_benchmark_root}/multi_words/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_salient = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_benchmark_root}/salient'),
ann_file=f'{union14m_benchmark_root}/salient/annotation.json',
test_mode=True,
pipeline=None)
union14m_benchmark_general = dict(
type='OCRDataset',
data_prefix=dict(img_path=f'{union14m_root}/'),
ann_file=f'{union14m_benchmark_root}/general/annotation.json',
test_mode=True,
pipeline=None)
|