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.

Summarize Openvino R3

Mspiz
New Contributor I
652 Views

Hi,

trying summarize_graph inside Openvino R3 I have this behavior:

python  mo/utils/summarize_graph.py --input_model=model.pb 
  File "mo/utils/summarize_graph.py", line 12
    def children(op_name: str, graph: tf.Graph):
                        ^
SyntaxError: invalid syntax

It is know issue?

Cheers,

Carmine

 

0 Kudos
2 Replies
Monique_J_Intel
Employee
652 Views

Hi Carmine,

This is not a known issue. However, I was able to reproduce your issue. I ran this command with python 2.7.12

python summarize_graph.py --input_model ~/Desktop/firstcnn/myfirstgraphdef/myfirstcnn.pb

and received your error and then I ran the command with Python 3.5.2

python3 summarize_graph.py --input_model ~/Desktop/firstcnn/myfirstgraphdef/myfirstcnn.pb

and the summarize graph showed the inputs and outputs. Let me know if this helps at all?

Kind Regards,

Monique Jones

 

0 Kudos
Mspiz
New Contributor I
652 Views

 

Thanks, let you know as soon as possible.

Cheers,

Carmine Spizuoco

0 Kudos
Reply