GithubHelp home page GithubHelp logo

Comments (4)

yl-1993 avatar yl-1993 commented on August 19, 2024

@xiaoxiong74 你好,抱歉回复迟了,谢谢你的issue。这个NoneType的问题应该是我们代码中这一行的bug导致的,我们会尽快修复这个问题。

结果差的原因可能有两个方面,第一是训练和测试用的knn build的方式不同,我们之前观察到如果用hnsw训练,用faiss测试,聚类性能会有所下降;第二是faiss_gpu本身,我们默认用了IVF来加速搜索,得到的knn不是完全精确的,可以尝试只用最基础的faiss_gpu来得到knn graph。

from learn-to-cluster.

xiaoxiong74 avatar xiaoxiong74 commented on August 19, 2024

@yl-1993 感谢你的回复,我后面直接尝试使用faiss_gpu的内积暴力搜索,结果是准确的。

from learn-to-cluster.

zhaoxin111 avatar zhaoxin111 commented on August 19, 2024

@yl-1993 感谢你的回复,我后面直接尝试使用faiss_gpu的内积暴力搜索,结果是准确的。

请问你用的faiss-gpu内积暴力搜索是哪个方法?在作者的knn内只看到了knn_brute_force。

from learn-to-cluster.

xiaoxiong74 avatar xiaoxiong74 commented on August 19, 2024

@yl-1993 感谢你的回复,我后面直接尝试使用faiss_gpu的内积暴力搜索,结果是准确的。

请问你用的faiss-gpu内积暴力搜索是哪个方法?在作者的knn内只看到了knn_brute_force。

@zhaoxin111 自己调用faiss的gpu相关方法即可,如GpuIndexFlatIP(res, dim)。

from learn-to-cluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.