fix rec output name error
@@ -327,6 +327,10 @@ def get_output_tensors(args, mode, predictor):
for output_name in output_names:
output_tensor = predictor.get_output_handle(output_name)
output_tensors.append(output_tensor)
+ else:
+ for output_name in output_names:
+ output_tensor = predictor.get_output_handle(output_name)
+ output_tensors.append(output_tensor)
return output_tensors
