openvino - 使用 OpenVINO 工具包转换posenet模型?
问题描述
我正在尝试使用 OpenVINO 模型优化器转换posenet模型(MobileNetV1架构)。但它抛出如下错误。
我正在使用以下命令进行转换。
python3 mo_tf.py --input_model /vino/models/posenet/_models/model-mobilenet_v1_101.pb --input_meta_graph /vino/models/posenet/_models/checkpoints/model-mobilenet_v1_101.ckpt.meta --output_dir /vino/models/posenet/
我收到的错误是:
Model Optimizer arguments:
Common parameters:
- Path to the Input Model: /vino/models/posenet/_models/model-mobilenet_v1_101.pb
- Path for generated IR: /vino/models/posenet/
- IR output name: model-mobilenet_v1_101
- Log level: ERROR
- Batch: Not specified, inherited from the model
- Input layers: Not specified, inherited from the model
- Output layers: Not specified, inherited from the model
- Input shapes: Not specified, inherited from the model
- Mean values: Not specified
- Scale values: Not specified
- Scale factor: Not specified
- Precision of IR: FP32
- Enable fusing: True
- Enable grouped convolutions fusing: True
- Move mean values to preprocess section: False
- Reverse input channels: False
TensorFlow specific parameters:
- Input model in text protobuf format: False
- Path to model dump for TensorBoard: None
- List of shared libraries with TensorFlow custom layers implementation: None
- Update the configuration file with input/output node names: None
- Use configuration file used to generate the model with Object Detection API: None
- Operations to offload: None
- Patterns to offload: None
- Use the config file: None
Model Optimizer version: 2019.1.0-341-gc9b66a2
[ ERROR ] Unknown configuration of input model parameters
我怀疑,我使用了错误的命令,但即使在浏览了它的文档之后也无法弄清楚。任何关于我做错了什么的线索都会非常有帮助。
解决方案
尝试只提供 input_meta_graph,而不提供 input_model。
推荐阅读
- python - 无法使我的脚本产生特定的输出
- ios - 带有步骤进度的自定义进度视图
- azure-devops - 当实验主题和多阶段管道处于开启模式时,如何在自定义 azure devops 插件中添加自定义摘要选项卡?
- c - C中位域的并发更新
- excel - 将副本另存为 CSV MSDOS(不关闭/更改工作簿)
- github - 可以将 github probot 与 splunk 集成吗?
- mysql - Mysql 未在 xampp 中启动:意外关闭
- spring - Spring Boot 2.2.1 RELEASE 构建错误相对路径
- swift - 索引标签 UITapGestureRecognizer 在应用于插座集合时没有响应
- bash - 如果没有给出输出文件,Crontab Bash 脚本似乎超时