Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.
在公司Linux服务器上执行tf.import_graph_def(graph_def,name='graph')导入训练好的图时,报了个错误:ValueError:NodeDefmentionsattr'Truncate'notinOpy:DstT;attr=SrcT:type;attr=DstT:type>;NodeDef:graph/Cast=Cast[DstT=DT_FLOAT,SrcT=