-
Notifications
You must be signed in to change notification settings - Fork 802
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
centos系统运行gen_data_st.py时报错 #495
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
centos运行python3 plugins/gen_data_st.py时,出现以下错误,请问大佬们这个是什么问题
Embedding 加载完成
文件列表生成完成 1
处理进度 100 %
处理完成
新建索引
Traceback (most recent call last):
File "/opt/wenda/wenda/plugins/gen_data_st.py", line 159, in
vectorstore_old = Vectorstore.load_local(
File "/opt/python3/lib/python3.9/site-packages/langchain/vectorstores/faiss.py", line 449, in load_local
index = faiss.read_index(
File "/opt/python3/lib/python3.9/site-packages/faiss/swigfaiss.py", line 10206, in read_index
return _swigfaiss.read_index(args)
RuntimeError: Error in faiss::FileIOReader::FileIOReader(const char) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open memory/default/index.faiss for reading: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/wenda/wenda/plugins/gen_data_st.py", line 166, in
vectorstore.save_local('memory/default')
AttributeError: 'NoneType' object has no attribute 'save_local'
The text was updated successfully, but these errors were encountered: