请有人帮我,我被这个例外困扰住了,它已经成为我的项目的秀场终结者
E/Unity: TFException: NodeDef mentions attr 'index_type' not in Op<name=Fill; signature=dims:int32, value:T -> output:T; attr=T:type>; NodeDef: GridAnchorGenerator/Meshgrid_3/ExpandedShape_1/ones = Fill[T=DT_INT32, index_type=DT_INT32](GridAnchorGenerator/Meshgrid_3/ExpandedShape_1/Reshape, GridAnchorGenerator/Meshgrid_3/ExpandedShape_1/ones/Const). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
at TensorFlow.TFStatus.CheckMaybeRaise (TensorFlow.TFStatus incomingStatus, System.Boolean last) [0x0004a] in <252020d87a4e4581ad2cfe3f9cc7a0ac>:0
at TensorFlow.TFGraph.Import (TensorFlow.TFBuffer graphDef, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) [0x00068] in <252020d87a4e4581ad2cfe3f9cc7a0ac>:0
at TensorFlow.TFGraph.Import (System.Byte[] buffer, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) [0x00055] in <252020d87a4e4581ad2cfe3f9cc7a0ac>:0
at TensorFlow.TFGraph.Import (System.Byte[] buffer, System.Stri
2019-12-30 12:18:35.766 28206-28223/? E/Unity: OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is not complete or incompatible with command
环境使用: Ubuntu 16.4使用Tensorflow对象检测API训练自定义模型。 Tensorflow版本1.14 python 3.6版 Windows Unity 2018.4.10f1,用于生成用于检测的android apk。
我尝试了以下方法: 1.直接将生成的.pb的名称更改为.bytes 2.尝试使用freeze_graph.py冻结图形,并且生成的.bytes文件响应相同。
谢谢, 哈纳维