Skip to content
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

ModuleNotFoundError: No module named 'uer.encoders.synt_encoder' #17

Closed
baiziyuandyufei opened this issue Jul 15, 2020 · 1 comment
Closed

Comments

@baiziyuandyufei
Copy link

win10+pycharm,运行FastBERT\pypi\examples\single_sentence_classification\test.py,出错:
ModuleNotFoundError: No module named 'uer.encoders.synt_encoder'。
在windows命令行执行没有问题。

@baiziyuandyufei
Copy link
Author

应该从fastbert路径写起
如:from fastbert.uer.layers.embeddings import BertEmbedding, WordEmbedding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant