Skip to content

Commit

Permalink
[Config] CTW1500 (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaotongxiao authored Mar 28, 2023
1 parent 59d89e1 commit bb591d2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions configs/textdet/_base_/datasets/ctw1500.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit bb591d2

Please sign in to comment.