File size: 372 Bytes
9bf4bd7
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
svtp_textrecog_data_root = '../data/common_benchmarks/SVTP'

svtp_textrecog_train = dict(
    type='OCRDataset',
    data_root=svtp_textrecog_data_root,
    ann_file='textrecog_train.json',
    pipeline=None)

svtp_textrecog_test = dict(
    type='OCRDataset',
    data_root=svtp_textrecog_data_root,
    ann_file='annotation.json',
    test_mode=True,
    pipeline=None)