XiHen
XiHen
貌似环境兼容问题
原始报错`TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("Placeholder:0", shape=(3, 3, 3, 10), dtype=float32) is not an element of this graph.` 加了``` from keras import backend as K K.clear_session() ```...
**问题描述** UIE原始模型的输入有三个: input_ids、position_ids以及常量fill constant 通过paddle2onnx.command.c_paddle_to_onnx函数转onnx后输入结构发生大的变动。 **更多信息 :** - 用于部署的推理引擎: onnx - 为什么需要转换为ONNX格式:需要适配国产化系统 - Paddle2ONNX版本: 1.1.0 - 你的联系方式(Email/Wechat/Phone): **报错截图** UIE原始输入模型结构:  转onnx后的输入模型结构:  **其他信息**