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
python3.8.19 numpy 1.23.0 bert4torch 0.5.1 builtins.ValueError: could not broadcast input array from shape (2,13) into shape (2,) 降低numpy版本还是不行
The text was updated successfully, but these errors were encountered:
要看你的输入是什么,如果你是代码中指定的类型,应该不会报错,如需要进一步的排查,需要看下你的源代码
Sorry, something went wrong.
使用的你task_sentiment_classification.py这个代码,输入是 列表
看你的输入,感觉你是sequence_padding(tokenizer.encode(text, maxlen=maxlen)), 以下是我的inputs
sequence_padding(tokenizer.encode(text, maxlen=maxlen))
No branches or pull requests
python3.8.19
numpy 1.23.0
bert4torch 0.5.1
builtins.ValueError: could not broadcast input array from shape (2,13) into shape (2,)
降低numpy版本还是不行
The text was updated successfully, but these errors were encountered: