使用OpenVINO转换ssd_inception_v2_coc

2021-06-21  本文已影响0人  LabVIEW_Python

ssd_inception_v2_coco_2018_01_28模型下载地址:TensorFlow 1 Detection Model Zoo
OpenVINO版本:2021.3.394

第一步:新建tf1_ov虚拟环境,注意Python=3.6。选择3.7或3.8会导致install_prerequisites_tf.bat安装tensorflow版本出错。在pip库中,tensorflow 1.15支持的Python版本最高为3.6

第二步:运行install_prerequisites_tf.bat,配置model optimizer的运行环境

第三步,执行命令:python mo_tf.py --input_model C:\Users\jzhang6\Documents\model\ssd_inception_v2_coco_2018_01_28\frozen_inference_graph.pb --output_dir C:\Users\jzhang6\Documents\model\ssd_inception_v2_coco_2018_01_28 --tensorflow_object_detection_api_pipeline_config C:\Users\jzhang6\Documents\model\ssd_inception_v2_coco_2018_01_28\pipeline.config --transformations_config extensions\front\tf\ssd_v2_support.json

完成模型转换。 转换ssd_inception_v2_coco模型
上一篇 下一篇

猜你喜欢

热点阅读