File size: 732 Bytes
14c9181
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
wildreceipt_openset_data_root = 'data/wildreceipt/'

wildreceipt_openset_train = dict(
    type='WildReceiptDataset',
    data_root=wildreceipt_openset_data_root,
    metainfo=dict(category=[
        dict(id=0, name='bg'),
        dict(id=1, name='key'),
        dict(id=2, name='value'),
        dict(id=3, name='other')
    ]),
    ann_file='openset_train.txt',
    pipeline=None)

wildreceipt_openset_test = dict(
    type='WildReceiptDataset',
    data_root=wildreceipt_openset_data_root,
    metainfo=dict(category=[
        dict(id=0, name='bg'),
        dict(id=1, name='key'),
        dict(id=2, name='value'),
        dict(id=3, name='other')
    ]),
    ann_file='openset_test.txt',
    test_mode=True,
    pipeline=None)