Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mspiz
New Contributor I
104 Views

Summarize Openvino R3

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
104 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

 

Mspiz
New Contributor I
104 Views

 

Thanks, let you know as soon as possible.

Cheers,

Carmine Spizuoco

Reply