[Fix] COCOTextv2 config (#1737)

pull/1673/head
Tong Gao 2023-02-20 18:43:20 +08:00 committed by GitHub
parent 9b0f1da1e7
commit 6eaa0673f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ data_obtainer = dict(
data_converter = dict(
type='TextDetDataConverter',
splits=['train', 'val'],
splits=['train'],
data_root=data_root,
gatherer=dict(type='mono_gather', mapping='"train.json"'),
gatherer=dict(type='mono_gather', train_ann='train.json'),
parser=dict(
type='COCOTextDetAnnParser',
variant='cocotext',