Spaces:
Sleeping
Sleeping
File size: 706 Bytes
174ad5e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
_base_ = ['textdet.py']
_base_.train_preparer.gatherer.img_dir = 'textdet_imgs/train'
_base_.test_preparer.gatherer.img_dir = 'textdet_imgs/test'
_base_.train_preparer.packer.type = 'TextSpottingPacker'
_base_.test_preparer.packer.type = 'TextSpottingPacker'
_base_.test_preparer.obtainer.files.append(
dict(
url='https://download.openmmlab.com/mmocr/data/1.x/textspotting/'
'ctw1500/lexicons.zip',
save_name='ctw1500_lexicons.zip',
md5='168150ca45da161917bf35a20e45b8d6',
content=['lexicons'],
mapping=[['ctw1500_lexicons/lexicons', 'lexicons']]))
_base_.delete.append('ctw1500_lexicons')
config_generator = dict(type='TextSpottingConfigGenerator')
|