提交 d3da09eb 编写于 作者: Y yu yunfeng 提交者: jinhai

update


Former-commit-id: 24fae9b08e6090ec33c14eed92d673de28b53117
上级 3d9ff381
......@@ -14,7 +14,7 @@
#include "Index.h"
#include "faiss/index_io.h"
#include "faiss/IndexIVF.h"
#include <faiss/IVFlib.h>
#include "faiss/IVFlib.h"
#include "server/ServerConfig.h"
namespace zilliz {
......@@ -86,7 +86,6 @@ bool Index::search(idx_t n, const float *data, idx_t k, float *distances, long *
try {
if(auto ivf_index = std::dynamic_pointer_cast<faiss::IndexIVF>(index_)) {
ivf_index->nprobe = Nprobe::GetInstance().GetNprobe();
std::cout << "nprobe = " << ivf_index->nprobe << std::endl;
}
index_->search(n, data, k, distances, labels);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册