-
Notifications
You must be signed in to change notification settings - Fork 518
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
argument 'input' (position 1) must be Tensor, not str #202
Comments
Open
我也有这个问题 然后重新用conda install -c huggingface transformers语句安装了transformer之后运行还是这样报错 请问是我安装transformer的语句不对吗 |
_, pooled_output = self.bert(text_bert_indices, token_type_ids=bert_segments_ids, return_dict=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
argument 'input' (position 1) must be Tensor, not str
The text was updated successfully, but these errors were encountered: