Community
cancel
Showing results for 
Search instead for 
Did you mean: 
李__鹏
Beginner
78 Views

[ ERROR ] Graph contains a cycle. Can not proceed. For more information please refer to Model Optimizer FAQ (<INSTALL_DIR>/dep

我用tensorflow训练的模型无法转换成openvino使用

//The model I trained with tensorflow can not be converted into openvino.

 

C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\model_optimizer>python mo_tf.py --input_model ssdv1_1.pb
Model Optimizer arguments:
Common parameters:
        - Path to the Input Model:      C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\model_optimizer\ssdv1_1.pb
        - Path for generated IR:        C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\model_optimizer\.
        - IR output name:       ssdv1_1
        - 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
        - Offload unsupported operations:       False
        - Path to model dump for TensorBoard:   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:        1.2.185.5335e231
[ ERROR ]  Graph contains a cycle. Can not proceed.
 For more information please refer to Model Optimizer FAQ (<INSTALL_DIR>/deployment_tools/documentation/docs/MO_FAQ.html), question #97.

0 Kudos
1 Reply
Severine_H_Intel
Employee
78 Views

Dear OpenVINO user, 

If you use a SSD TF topology, you should look at our documentation on how to support it, you need to add several arguments to your command line.

in R4 release at this link: C:/Intel/computer_vision_sdk_2018.4.420/deployment_tools/documentation/docs/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html

in R3 release at this link: C:/Intel/computer_vision_sdk_2018.3.343/deployment_tools/documentation/docs/TensorFlowObjectDetectionAPIModels.html

Best, 

Severine

Reply