Skip to content

Commit 4ead44a

Browse files
Leslie-Fangdmsuehir
authored andcommitted
Failed running run_frozen_graph_ssdmob.py (#31)
Failed running ssd-mobilenet run_frozen_graph_ssdmob.py in python3 because of the python3 Syntax Here is the error message ``` File "/workspace/intelai_models/inference/int8/run_frozen_graph_ssdmob.py", line 186 print tensor.shape ^ SyntaxError: Missing parentheses in call to 'print' ``` Change the Syntax to support python3
1 parent 55aa6f5 commit 4ead44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/object_detection/tensorflow/ssd-mobilenet/inference/int8/run_frozen_graph_ssdmob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def run_inference_for_single_image(graph):
183183

184184
if (args.evaluate_tensor is not None):
185185
for tensor in output_dict[args.evaluate_tensor]:
186-
print tensor.shape
186+
print(tensor.shape)
187187
return None, None
188188

189189
# all outputs are float32 numpy arrays, so convert types as appropriate

0 commit comments

Comments
 (0)