Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

openvino tiny-yolo IR generation error


Trying to use tiny-yolo v2 with openvino and ROS. Successfully converted to get the meta and pb files but when I try to run

sudo python3 ./ --input_model /home/burro/yolo/darkflow/built_graph/tiny-yolo.pb --batch 1 --tensorflow_use_custom_operations_config /opt/intel/computer_vision_sdk_2018.5.445/deployment_tools/model_optimizer/extensions/front/tf/yolo_v1_v2.json

I get the following errors:

Model Optimizer arguments:
Common parameters:
    - Path to the Input Model:     /home/burro/yolo/darkflow/built_graph/tiny-yolo.pb
    - Path for generated IR:     /opt/intel/computer_vision_sdk_2018.5.445/deployment_tools/model_optimizer/.
    - IR output name:     tiny-yolo
    - Log level:     ERROR
    - Batch:     1
    - 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
    - Offload unsupported operations:     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:     /opt/intel/computer_vision_sdk_2018.5.445/deployment_tools/model_optimizer/extensions/front/tf/yolo_v1_v2.json
Model Optimizer version:
[ ERROR ]  
Detected not satisfied dependencies:
    tensorflow: not installed, required: 1.2.0

Please install required versions of components or use install_prerequisites script


I do have tensorflow installed, I can import it with python3. I'm on Ubuntu 16.04 i7-8700T

0 Kudos
0 Replies