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
在运行实例代码时报错 from senta import Senta my_senta = Senta() use_cuda = True my_senta.init_model(model_class="ernie_1.0_skep_large_ch", task="sentiment_classify", use_cuda=use_cuda) 这一步没有报错,在 texts = ["中山大学是岭南第一学府"] result = my_senta.predict(texts) print(result) 这一步时,报了如下错误,不知道该如何修改。 TypeError: init(): incompatible constructor arguments. The following argument types are supported: 1. paddle.fluid.core_avx.PaddleTensor()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在运行实例代码时报错
from senta import Senta
my_senta = Senta()
use_cuda = True
my_senta.init_model(model_class="ernie_1.0_skep_large_ch", task="sentiment_classify", use_cuda=use_cuda)
这一步没有报错,在
texts = ["中山大学是岭南第一学府"]
result = my_senta.predict(texts)
print(result)
这一步时,报了如下错误,不知道该如何修改。
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. paddle.fluid.core_avx.PaddleTensor()
The text was updated successfully, but these errors were encountered: