models icon indicating copy to clipboard operation
models copied to clipboard

when i run model_builder_test.py in terminal, it pops the error from google.protobuf.internal import python_message File "D:\python35\lib\site-packages\google\protobuf\internal\python_message.py", line 846 except struct.error, e: ^ SyntaxError: invalid syntax

Open sainttelant opened this issue 9 years ago • 1 comments

as mentioned above, it pops the error as follows details:

Traceback (most recent call last): File "D:\python35\Lib\site-packages\tensorflow\models\object_detection\builders\model_builder_test.py", line 18, in import tensorflow as tf File "D:\python35\lib\site-packages\tensorflow_init_.py", line 24, in from tensorflow.python import * File "D:\python35\lib\site-packages\tensorflow\python_init_.py", line 52, in from tensorflow.core.framework.graph_pb2 import * File "D:\python35\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 8, in from google.protobuf import reflection as _reflection File "D:\python35\lib\site-packages\google\protobuf\reflection.py", line 68, in from google.protobuf.internal import python_message File "D:\python35\lib\site-packages\google\protobuf\internal\python_message.py", line 846 except struct.error, e: ^ SyntaxError: invalid syntax

sainttelant avatar Aug 04 '17 01:08 sainttelant

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there. Thanks!

shivaniag avatar Aug 04 '17 22:08 shivaniag