Skip to content

Commit 65f0896

Browse files
authored
AC: fix output for old api in text spotting (#3095)
1 parent c70b055 commit 65f0896

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/evaluators/custom_evaluators/text_spotting_evaluator.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,8 @@ def __init__(self, network_info, launcher, suffix, delayed_model_loading=False):
358358

359359
class RecognizerDecoderDLSDKModel(RecognizerDLSDKModel):
360360
def __init__(self, network_info, launcher, suffix, delayed_model_loading=False):
361-
def preprocess_out(out_name):
362-
if not out_name.endswith('/sink_port_0'):
363-
return out_name + '/sink_port_0'
364-
return out_name
365361
self.model_inputs = network_info['inputs']
366-
self.model_outputs = {out: preprocess_out(name) for out, name in network_info['outputs'].items()}
362+
self.model_outputs = network_info['outputs']
367363
super().__init__(network_info, launcher, suffix, delayed_model_loading)
368364

369365

0 commit comments

Comments
 (0)