-
Notifications
You must be signed in to change notification settings - Fork 328
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
ls_bert运行报错 #148
Comments
能不能贴一个运行流程? |
The pypi version hasn't update Bert support, you can build from source and try. |
我就是从源代码python setup.py install的啊 |
Lines 130 to 139 in a57966a
Check here to install inference env and run python setup.py install again.
|
We have updated the pypi version to 2.1.2. which includes the BERT inference. You can try again. |
我也遇到了这个问题,pypi version to 2.1.2也会报错 |
2.1.2 works for me, could you share the error log? |
AttributeError: module 'lightseq.inference' has no attribute 'Bert' |
could you share the pip list version and your terminal screeshot |
version = "2.1.2" |
Just want to make sure your |
pwd is correct |
I try it successfully:
|
你这个问题是因为里面有个叫lightseq的文件夹,你import的是文件夹而不是你安装的lightseq库,你可以在gpu上把lightseq文件夹删除就好了 |
Another reason is that he directly clones and uses |
我安装了lightseq==2.1.1
但是运行时
找了半天bert在哪也没找到,可以告诉我咋解决吗,还是我少了什么步骤
The text was updated successfully, but these errors were encountered: