We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
详细错误如下: NotImplementedError: There's 3 ops are not supported yet =========== select_input =========== =========== logical_not =========== =========== conditional_block ===========
采用paddlenlp的BERTModel模型,只是在模型内部增加了求解loss和if判断,导致导出onnx报错
The text was updated successfully, but these errors were encountered:
自己分析,是由于if判断造成的,但是为什么if attention_mask is None,不会报错。但是if len(attention_mask.shape) == 2:会报错呢?
Sorry, something went wrong.
Hello, paddle2onnx does not support control flow now.
No branches or pull requests
详细错误如下:
NotImplementedError:
There's 3 ops are not supported yet
=========== select_input ===========
=========== logical_not ===========
=========== conditional_block ===========
采用paddlenlp的BERTModel模型,只是在模型内部增加了求解loss和if判断,导致导出onnx报错
The text was updated successfully, but these errors were encountered: