Article ID: 000059199 Content Type: Error Messages Last Reviewed: 05/20/2022

Unable to Convert “MXNet yolo3_darknet53_voc” into Intermediate Representation (IR)

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Command-line to convert "MXNet yolo3_darknet53_voc" into IR

Description

Conversion of MXNET yolov3_darnket53_voc into IR returns to this error:

[ ERROR ] Cannot infer shapes or values for node "yolov30_box_nms0".
[ ERROR ] Operation _contrib_box_nms not not supported. For gluoncv ssd topologies use cmd parameter: '--enable_ssd_gluoncv'
For more information please refer to Model Optimizer FAQ, question #102. 
[ ERROR ]
[ ERROR ] It can happen due to bug in custom shape infer function <function BoxNms.infer at 0x000002A81D24B438>.
[ ERROR ] Or because the node inputs have incorrect values/shapes.
[ ERROR ] Or because input shapes are incorrect (embedded to the model or passed via --input_shape).

Resolution

Convert MXNet yolo3_darknet53_voc into IR:

python mo.py --input_model <path_to_yolo3_darknet53_voc_model>\yolo3_darknet53_voc-0000.params --input_shape [1,255,255,3] --transformations_config "<INSTALL_DIR>\deployment_tools\model_optimizer\extensions\front\mxnet\yolo_v3_mobilenet1_voc.json"

Additional information

Refer to Converting GluonCV* Models for more information.

Related Products

This article applies to 2 products