[Config] CTW1500 (#1814)

pull/1817/head
Tong Gao 2023-03-28 10:40:53 +08:00 committed by GitHub
parent 59d89e10c7
commit bb591d2b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1,17 +1,15 @@
ctw1500_textdet_data_root = 'data/det/ctw1500'
ctw1500_textdet_data_root = 'data/ctw1500'
ctw1500_textdet_train = dict(
type='OCRDataset',
data_root=ctw1500_textdet_data_root,
ann_file='instances_training.json',
data_prefix=dict(img_path='imgs/'),
ann_file='textdet_train.json',
filter_cfg=dict(filter_empty_gt=True, min_size=32),
pipeline=None)
ctw1500_textdet_test = dict(
type='OCRDataset',
data_root=ctw1500_textdet_data_root,
ann_file='instances_test.json',
data_prefix=dict(img_path='imgs/'),
ann_file='textdet_test.json',
test_mode=True,
pipeline=None)