@@ -1285,20 +1285,19 @@ def single_option_cases(key, *args):
1285
1285
single_option_cases ('-m' , ModelArg ('wav2vec2-base' ))
1286
1286
)),
1287
1287
1288
- # TODO: Demo supports only topologies with the following input tensor name: image
1289
- # PythonDemo(name='text_spotting_demo', device_keys=['-d'],
1290
- # model_keys=['-m_m', '-m_te', '-m_td'], test_cases=combine_cases(
1291
- # TestCase(options={'--no_show': None, '--delay': '1', **MONITORS,
1292
- # '-i': DataPatternArg('text-detection')}),
1293
- # [
1294
- # TestCase(options={
1295
- # '-m_m': ModelArg('text-spotting-0005-detector'),
1296
- # '-m_te': ModelArg('text-spotting-0005-recognizer-encoder'),
1297
- # '-m_td': ModelArg('text-spotting-0005-recognizer-decoder'),
1298
- # '--no_track': None
1299
- # }),
1300
- # ]
1301
- # )),
1288
+ PythonDemo (name = 'text_spotting_demo' , device_keys = ['-d' ],
1289
+ model_keys = ['-m_m' , '-m_te' , '-m_td' ], test_cases = combine_cases (
1290
+ TestCase (options = {'--no_show' : None , '--delay' : '1' , ** MONITORS ,
1291
+ '-i' : DataPatternArg ('text-detection' )}),
1292
+ [
1293
+ TestCase (options = {
1294
+ '-m_m' : ModelArg ('text-spotting-0005-detector' ),
1295
+ '-m_te' : ModelArg ('text-spotting-0005-recognizer-encoder' ),
1296
+ '-m_td' : ModelArg ('text-spotting-0005-recognizer-decoder' ),
1297
+ '--no_track' : None
1298
+ }),
1299
+ ]
1300
+ )),
1302
1301
1303
1302
PythonDemo (name = 'text_to_speech_demo' , device_keys = ['-d' ],
1304
1303
model_keys = ['-m_duration' , '-m_forward' , '-m_upsample' , '-m_rnn' , '-m_melgan' ], test_cases = combine_cases (
0 commit comments