Code Monkey home page Code Monkey logo

Comments (4)

zhufq00 avatar zhufq00 commented on August 16, 2024

如果遇到neg_examples.min()异常了,trycatch把负样本距离设为1e-6就行,对三个标签取分别三个batch没这个效果好。

from self-similarity-grouping.

wangyujie413 avatar wangyujie413 commented on August 16, 2024

如果遇到neg_examples.min()异常了,trycatch把负样本距离设为1e-6就行,对三个标签取分别三个batch没这个效果好。

你试了分别取三个batch的效果么?结果差多少?我试了下分别取结果还没单个的好

from self-similarity-grouping.

zhufq00 avatar zhufq00 commented on August 16, 2024

差的不多,map2%左右

from self-similarity-grouping.

chongyangwang-song avatar chongyangwang-song commented on August 16, 2024

你好,有两个问题想要请教一下

  1. 由于每张图片根据三个聚类结果有三个标签,代码里是根据第一个标签进行PK采样得到一个batch的图片数据,来进行triplet loss的计算。
    但是,如何保证这个batch里的每一张图片在根据后两个聚类结果打上伪标签时,在这个batch中能找到正样本来保证triplet loss的正确计算呢?
  2. 在selftraining.py文件中的compute_dist()函数中采用了源域数据特征来计算距离,怎么解释呢?我看论文里并没有提到

源数据特征就没用,放在那迷惑人呢

from self-similarity-grouping.

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.