openvinotoolkit / openvino

OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference
https://docs.openvino.ai
Apache License 2.0
7.22k stars 2.25k forks source link

Not able to generate IR for ssd_resnet50_512 using mxnet #491

Closed rohit167 closed 2 years ago

rohit167 commented 4 years ago

Is this issue fixed? https://software.intel.com/zh-cn/node/814950

Receiving the same error while converting ssd_resnet50_512 from mxnet to IR.

ass <class 'extensions.ops.upsample.UpsampleOp'>.
[ WARNING ]  Node attributes: {'symbol_dict': {'op': '_contrib_MultiBoxTarget', 'name': 'multibox_target', 'attr': {'ignore_label': '-1', 'minimum_negative_samples': '0', 'negative_mining_ratio': '3', 'negative_mining_thresh': '0.5', 'overlap_threshold': '0.5', 'variances': '(0.1, 0.1, 0.2, 0.2)'}, 'inputs': [[502, 0, 0], [503, 0, 0], [488, 0, 0]]}, '_in_ports': {}, '_out_ports': {}, 'kind': 'op', 'name': 'multibox_target', 'type': '_contrib_MultiBoxTarget', 'op': '_contrib_MultiBoxTarget', 'infer': None}
..
mo.utils.error.Error: Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.load.mxnet.loader.MxNetLoader'>): Unexpected exception happened during extracting attributes for node label.
Original exception message: Operation '_contrib_MultiBoxTarget' not supported. Please register it as custom op.
lazarevevgeny commented 4 years ago

@rohit167, could you try to follow the instruction here https://github.com/openvinotoolkit/openvino/blob/master/docs/MO_DG/prepare_model/convert_model/mxnet_specific/Convert_GluonCV_Models.md to convert the model?

sahira-rizvi commented 2 years ago

Closing, feel free to re-open or start a new issues if additional assistance is needed.

Sincerely, Sahira