问题描述
我正在使用here
给出的代码如果我更新
trainable=False
为trainable=True
进行转移学习并使用我们的图像运行,然后在
处发生错误 converted_tflite_model = converter.convert()
InvalidArgumentError错误回溯(最近一次通话) _import_graph_def_internal中的/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/importer.py(graph_def、input_map、return_elements、validate_colocation_constraints,名称,op_dict,producer_op_list) 500个结果= c_api.TF_GraphImportGraphDefWithResults( -> 501 graph._c_graph,序列化,选项)#pylint:disable = protected-access 502个结果= c_api_util.ScopedTFImportGraphDefResults(结果)
InvalidArgumentError:节点Func / StatefulPartitionedCall / StatefulPartitionedCall / StatefulPartitionedCall / keras_layer_2 / StatefulPartitionedCall / StatefulPartitionedCall_1 / input / _1600的输入0传递自Func / StatefulPartitionedCall / StatefulPartitionedCall / StatefulPartitionedCall / keras_layer801的float资源。
在处理上述异常期间,发生了另一个异常:
ValueError跟踪(最近一次通话最后一次)
请您帮助我们解决这个问题(我确实搜索过类似的主题,很遗憾无法解决此问题)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)