- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
File "/opt/intel/openvino_2019.3.376/deployment_tools/model_optimizer/extensions/front/TopKNormalize.py", line 38, in find_and_replace_pattern
assert topk_node.has_valid('k'), 'The TopK node "{}" misses "k" attribute'.format(topk_node.name)
AssertionError: The TopK node "TopK_101" misses "k" attribute
Some debug gives me:
1. 'k' is not in self.graph.node["TopK_101"].keys()
2. However, 'k' is present in the attribute of self.graph.node["TopK_101"].['pb']
input: "253"
output: "254"
output: "255"
name: "TopK_101"
op_type: "TopK"
attribute {
name: "axis"
i: 3
type: INT
}
attribute {
name: "k"
i: 100
type: INT
}
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please answer the below questions:
- What is the topology of the model
- Is the model a public model or custom model
- What is the model optimizer command you have used to convert the model
We recommend to use the latest version of OpenVINO(2020.2). Could you please give a try and let us know the results.
Regards,
Ram prasad
![](/skins/images/4D2C80A4F3BA3A0D4303300CBEF817A4/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page