Community
cancel
Showing results for 
Search instead for 
Did you mean: 
89 Views

Error while trying pass the public intel model to model optimizer in intel devcloud

 

(base) u38804@s001-n053:~/public/faster_rcnn_inception_v2_coco$ ls
faster_rcnn_inception_v2_coco_2018_01_28
(base) u38804@s001-n053:~/public/faster_rcnn_inception_v2_coco$ cd faster_rcnn_inception_v2_coco_2018_01_28
(base) u38804@s001-n053:~/public/faster_rcnn_inception_v2_coco/faster_rcnn_inception_v2_coco_2018_01_28$ ls
checkpoint  frozen_inference_graph.pb  model.ckpt.data-00000-of-00001  model.ckpt.index  model.ckpt.meta  pipeline.config  saved_model
(base) u38804@s001-n053:~/public/faster_rcnn_inception_v2_coco/faster_rcnn_inception_v2_coco_2018_01_28$ 
(base) u38804@s001-n053:~/public/faster_rcnn_inception_v2_coco/faster_rcnn_inception_v2_coco_2018_01_28$ python /opt/intel/openvino/deployment_tools/model_optimizer/mo.py --input_model frozen_inference_graph.pb --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --tensorflow_use_custom_operations_config /opt/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/faster_rcnn_support.json
Traceback (most recent call last):
  File "/opt/intel/openvino/deployment_tools/model_optimizer/mo.py", line 28, in <module>
    from mo.main import main
  File "/glob/development-tools/versions/oneapi/beta06/openvino_2020.2.120/deployment_tools/model_optimizer/mo/main.py", line 26, in <module>
    from mo.pipeline.unified import unified_pipeline
  File "/glob/development-tools/versions/oneapi/beta06/openvino_2020.2.120/deployment_tools/model_optimizer/mo/pipeline/unified.py", line 19, in <module>
    from mo.pipeline.common import get_ir_version
  File "/glob/development-tools/versions/oneapi/beta06/openvino_2020.2.120/deployment_tools/model_optimizer/mo/pipeline/common.py", line 27, in <module>
    from mo.back.ie_ir_ver_2.emitter import port_renumber, serialize_constants, generate_ie_ir, serialize_mean_image
  File "/glob/development-tools/versions/oneapi/beta06/openvino_2020.2.120/deployment_tools/model_optimizer/mo/back/ie_ir_ver_2/emitter.py", line 18, in <module>
    from defusedxml.minidom import parseString
ModuleNotFoundError: No module named 'defusedxml'

 

Tags (1)
0 Kudos
1 Reply
ChithraJ_Intel
Moderator
89 Views

Hi  Franck,

Thanks for reaching out to us. We could observe you have a different thread with similar content and this issue has already been resolved in that thread (Link : https://software.intel.com/en-us/forums/intel-devcloud/topic/856468 ). Since the issue has been already resolved, we are closing this case as it's a duplicated thread.

Please feel free to raise a new thread in case of further queries.

Reply