zl程序教程

您现在的位置是:首页 >  其它

当前栏目

TensorFlow train error : raise self.ParseError('Expected identifier or number, got %s.' % result)

Error number or Tensorflow self expected RESULT Got
2023-09-27 14:25:48 时间

    使用TensorFlow Object Detection API训练时突然遇到这个报错,问题是前面我训练还好好的,查阅了别人类似问题的回答,可能是自己修改了config文件造成哪里缺失或者错误,有可能是编码问题(因为我用的Notepad++),索性把原来能正常训练的config文件复制过来,在此基础上修改,重新训练OK .

    报错信息:File "C:\Python35\lib\site-packages\google\protobuf\text_format.py", line 1340, in ConsumeIdentifierOrNumber
    raise self.ParseError('Expected identifier or number, got %s.' % result)
': Expected identifier or number, got {.11:4 : '          {

参考了以下两个回答:

       

关注【OpenCV与AI深度学习】获得更多学习资讯

扫描下面二维码即可关注