flywme / searchserver Goto Github PK
View Code? Open in Web Editor NEW一个基于 faiss 的检索服务.
一个基于 faiss 的检索服务.
Application still requires some synchronization related changes.
Also the parameters related to index file needs to added in config.json file.
编译的过程中报了以下错误,麻烦帮忙看下:
cmake version 3.2.2
Ubuntu:14.04
root@shvm-5-51:~/SearchServer/build# cmake ..
-- Build Searcher 0.1.0
-- Build Searcher without CUDA support.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_TOOLKIT_INCLUDE (ADVANCED)
used as include directory in directory /root/SearchServer
used as include directory in directory /root/SearchServer
used as include directory in directory /root/SearchServer
used as include directory in directory /root/SearchServer/src
used as include directory in directory /root/SearchServer/src/common
used as include directory in directory /root/SearchServer/src/libRestServer
used as include directory in directory /root/SearchServer/src/libSearch
used as include directory in directory /root/SearchServer/test
used as include directory in directory /root/SearchServer/test
used as include directory in directory /root/SearchServer/test
used as include directory in directory /root/SearchServer/test
used as include directory in directory /root/SearchServer/test
used as include directory in directory /root/SearchServer/test
used as include directory in directory /root/SearchServer/test
-- Configuring incomplete, errors occurred!
See also "/root/SearchServer/build/CMakeFiles/CMakeOutput.log".
读取data.bin的实现在FaissInterface.cpp
的bool faissSearch::load
里。
具体存储规则如下:
首先是5个int,只有前三个有意义,分别对应:数据维度(dimension),向量数量(count),fileFormatVersion,0,0
。
接下来为count组数据,每组数据的以一个int长度的id开头,然后是dim * sizeof(float)长度的数据表示向量数据。
有兴趣来微博做faiss相关实习吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.