You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "", line 3, in
File "/opt/miniconda3/lib/python3.7/site-packages/turbo_transformers/layers/modeling_bert.py", line 495, in call
outputs = self.onnxmodel.run(inputs=data)
AttributeError: 'BertModelNoPooler' object has no attribute 'run'
请问有大佬遇到过类似问题吗,非常感谢各位的答复。
The text was updated successfully, but these errors were encountered:
大家好,
我在hugging face上面下载了bert-base-uncased模型来测试bert_example.py脚本,操作完全按照TurboTransformers/example/python/README.md这个里面来操作,不过因为本地编译有问题,所以我这里用的是作者提供的编译好的镜像(docker pull thufeifeibear/turbo_transformers_cpu:latest),结果报以下错误:
Traceback (most recent call last):
File "", line 3, in
File "/opt/miniconda3/lib/python3.7/site-packages/turbo_transformers/layers/modeling_bert.py", line 495, in call
outputs = self.onnxmodel.run(inputs=data)
AttributeError: 'BertModelNoPooler' object has no attribute 'run'
请问有大佬遇到过类似问题吗,非常感谢各位的答复。
The text was updated successfully, but these errors were encountered: