no error!
一个无情的靓女
立志成为一个无情的算法大佬
展开
-
彻底解决!TF-IDF中的 TypeError: doc2bow expects an array of unicode tokens on input, not a single string
彻底解决! TF-IDF中的 TypeError: doc2bow expects an array of unicode tokens on input, not a single string原创 2022-08-01 10:11:07 · 1143 阅读 · 0 评论 -
成功解决 UnicodeEncodeError: ‘gbk‘ codec can‘t encode character ‘\xe7‘ in position 1502: illegal multiby
UnicodeEncodeError原创 2022-07-22 15:26:42 · 1153 阅读 · 0 评论 -
sentence transformers安装
sentence-transformers安装原创 2022-07-19 16:12:14 · 2741 阅读 · 0 评论 -
成功解决ModuleNotFoundError: No module named ‘tensorflow.compat.v2‘
报错:ModuleNotFoundError: No module named ‘tensorflow.compat.v2’原因:tf.compat.v2这个包与你当前的tensorflow的版本不匹配,需要升级到1.14 , 1.15, or 2.0的版本。解决方法:pip install tensorflow==1.15原创 2021-08-17 15:53:27 · 13594 阅读 · 0 评论 -
成功解决TypeError: ‘NoneType‘ object is not iterable
原代码: question_similar_List = get_question_similarList(question,bearer) for question_similar in question_similar_List: search_dict.setdefault(question, {})[question_similar] = answer_list print(search_dict)报错:TypeError: ‘NoneType’原创 2021-08-11 14:50:03 · 15325 阅读 · 2 评论 -
成功解决fuzzywuzzy安装问题
## 成功解决fuzzywuzzy安装问题pip install fuzzywuzzy报错:ERROR: Could not find a version that satisfies the requirement fuzzywuzzy (from versions: none) ERROR: No matching distribution found for fuzzywuzzy各种尝试之后…在pycharm控制台输入:pip install fuzzywuzzy ,回车下载成功!...原创 2021-08-02 15:03:18 · 2206 阅读 · 1 评论