Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Root cause analysis:
When --reverse_input_channels command is specified, MO generates incorrect mapping, where framework input name doesn't correspond to input name in IE. This happens because ReverseInputChannels inserts preprocessing transformations after Parameter nodes. As default behavior of MO is to save framework name to the end of subgraph, the resulting mapping contains record like:
Such record leads to error in DL Benchmark as framework name doesn't correspond to IE input name.
Solution:
Use "source" attributes save mode in set_source() in ReverseInputChannels, which takes attributes from the source node and makes framework name be saved at the beginning of subgraph. This mode should be used only for Parameter nodes, for other nodes framework name should correspond to the last node of subgraph.
Ticket: 54589
Code:
Validation:
Documentation: