Skip to content
New issue

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

text_classfiter报错 #17

Open
wanghuijia326 opened this issue Nov 20, 2019 · 1 comment
Open

text_classfiter报错 #17

wanghuijia326 opened this issue Nov 20, 2019 · 1 comment

Comments

@wanghuijia326
Copy link

wanghuijia326 commented Nov 20, 2019

初始化Predictor对象,调用predict方法,运行test.py文件后,报错:
InvalidArgumentError (see above for traceback): Inputs to operation transformer/transformer-1/multi_head_atten/Select of type Select must have the same size and shape. Input 0: [8,100,100] != input 1: [1024,100,100]

请问怎么解决呢?

@jiayalu123
Copy link

我也遇到了test.py时报错,但是不是这个错,也没有输出错误原因,您的问题解决了吗,请问能打一下您的代码吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants