terrifyzhao / bert-utils

一行代码使用BERT生成句向量,BERT做文本分类、文本相似度计算
Apache License 2.0
1.65k stars 425 forks source link

No module named "bert" #42

Open xudekuan opened 5 years ago

xudekuan commented 5 years ago

When I use "from bert.extrac_feature import BertVector", the error massage is showed

No module named "bert"

How to solve it? Thank you very much.

terrifyzhao commented 5 years ago

@xudekuan 我猜你外面还有一层路径

weixiang-xu commented 4 years ago

try “from bert.extract_feature import BertVector”