You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误信息
ValueError: (InvalidArgument) Broadcast dimension mismatch. Operands could not be broadcast together with the shape of X = [1, 256, 49, 33] and the shape of Y = [1, 256, 48, 32]. Received [49] in X is not equal to [48] in Y at i:2.
[Hint: Expected x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1 == true, but received x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1:0 != true:1.] (at C:\home\workspace\Paddle_release\paddle/fluid/operators/elementwise/elementwise_op_function.h:240)
[operator < elementwise_add > error]
感谢您参与 X2Paddle 社区! 问题模版为了 X2Paddle 能更好的迭代,例如新功能发布、 RoadMaps 和错误跟踪. 😸
问题描述
使用pip install x2paddle安装成功
然后使用指令 x2paddle --framework=onnx --model=model.onnx -save_dir=pd_model
onnx转paddle不成功,尝试用onnxsim简化,简化过的onnx还是转换paddle模型失败
ValueError: (InvalidArgument) Broadcast dimension mismatch. Operands could not be broadcast together with the shape of X = [1, 256, 49, 33] and the shape of Y = [1, 256, 48, 32]. Received [49] in X is not equal to [48] in Y at i:2.
[Hint: Expected x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1 == true, but received x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1:0 != true:1.] (at C:\home\workspace\Paddle_release\paddle/fluid/operators/elementwise/elementwise_op_function.h:240)
[operator < elementwise_add > error]
具体信息
转换模型后用处
模型来源
应用场景
用于PC端 X64
版本信息
PaddlePaddle => ❔
X2Paddle => ❔
来源框架版本(PyTorch/TF/ONNX/Caffe) => ❔
您的联系方式(邮箱/微信/电话)
The text was updated successfully, but these errors were encountered: