Skip to content

Commit 66839d1

Browse files
authored
Use output itself rather than index for unnamed outputs (#151)
1 parent 5e64d0b commit 66839d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_api/python/openvino/model_api/adapters/openvino_adapter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def get_output_layers(self):
278278
else output.shape
279279
)
280280

281-
output_name = output.get_any_name() if output.get_names() else i
281+
output_name = output.get_any_name() if output.get_names() else output
282282
outputs[output_name] = Metadata(
283283
output.get_names(),
284284
list(output_shape),

0 commit comments

Comments
 (0)