Comments (3)
Traceback (most recent call last):
File "write_vecs2bin.py", line 18, in <module>
from bert_server.sentence_bert_server import SentenceBERT
File "/src/bert_server/sentence_bert_server.py", line 19, in <module>
faq_config.read(os.path.join(dir_name, "../config/befaq_conf.ini"))
File "/usr/local/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/usr/local/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 34: ordinal not in range(128)
from befaq.
应该是python的官方docker容器没有locales, 中文语言包导致。还在尝试中
from befaq.
解决了。python容器需要手动安装下locales locales-all包
from befaq.
Related Issues (17)
- 大佬 这是不是我 es的问题 没有连接上 HOT 1
- 求助 HOT 7
- 建议集成上语义理解功能 HOT 1
- workers大于1时会卡住 HOT 1
- 支持ES6吗 HOT 4
- sentence-bert HOT 4
- sentense-bert如何应用 HOT 1
- 最新的版本上有一些 error code HOT 2
- docker中无法启动main_faq.py HOT 7
- 请问怎么测试算法的性能呢? HOT 4
- 分词查询问题 HOT 1
- 我觉得使用 SentenceTransformer 作为句子向量化不好 HOT 1
- 如何增量更新? HOT 1
- sentence transformer 你们是直接用的多语言预训练模型吗?没有自己用中文重新训练? HOT 1
- 使用ES7.10.1召回时报错 HOT 1
- 用什么指标可以评估你这个方法整体的效果呢 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from befaq.