Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

While converting openvino (xml) to Tensorflow saved_output_model, getting following error.temp_sorted_tf_edge.append(tf_edges[to_layer][ports.index(str(idx))]) IndexError: list index out of range #127

Closed
ajaybedi opened this issue Sep 22, 2022 · 0 comments
Labels
not bug not bug

Comments

@ajaybedi
Copy link

Issue Type

Bug

OS

Mac OS

OS architecture

x86_64

Programming Language

Python

Framework

Other

Download URL for ONNX / OpenVINO IR

Using openvino2tensorflow tool.

Convert Script

openvino2tensorflow --model_path <model_name>.xml --output_saved_model --model_output_path output_folder

Description

Conersion should happen smoothly.

Relevant Log Output

TensorFlow/Keras model building process starts ======================================
Layer structure =====================================================================
Traceback (most recent call last):
  File "/model-conversion/git/env/bin/openvino2tensorflow", line 7887, in <module>
    main()
  File "/model-conversion/git/env/bin/openvino2tensorflow", line 7871, in main
    convert(model, model_output_path, output_saved_model, output_h5, output_weight_and_json, output_pb, dont_convert_from_keras_model,
  File "/model-conversion/git/env/bin/openvino2tensorflow", line 592, in convert
    temp_sorted_tf_edge.append(tf_edges[to_layer][ports.index(str(idx))])
IndexError: list index out of range

Source code for simple inference testing code

No response

@PINTO0309 PINTO0309 pinned this issue Sep 22, 2022
@PINTO0309 PINTO0309 unpinned this issue Sep 22, 2022
@PINTO0309 PINTO0309 added the not bug not bug label Sep 22, 2022
Repository owner locked as spam and limited conversation to collaborators Sep 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
not bug not bug
Projects
None yet
Development

No branches or pull requests

2 participants