GithubHelp home page GithubHelp logo

Comments (9)

zhmiao avatar zhmiao commented on July 3, 2024

Hello @jchhuang , thank you very much for the reply. Could you please be a little bit more specific on where do you think is having problems?

from openlongtailrecognition-oltr.

jchhuang avatar jchhuang commented on July 3, 2024

In equation(7), both the input to the two parts of loss function is vn(meta), I think it is wrong.

from openlongtailrecognition-oltr.

zhmiao avatar zhmiao commented on July 3, 2024

@jchhuang Actually it is correct. The cross entropy loss and large margin loss should both be applied on to the output from the meta embedding. Because we use meta embedding to do the final classification. About your problem of training, as long as the losses are calculated with hallucinator based on the outputs of hallucinator, in pytorch, they will be updated using loss.step().

from openlongtailrecognition-oltr.

jchhuang avatar jchhuang commented on July 3, 2024

In my opinion, there is no directly relationship between centroid and vmeta, so I think it is inappropriate to express the second part as lamda* LLm(vnmeta, {ci}). I think the vnmeta here should be replaced by vdirect.

from openlongtailrecognition-oltr.

zhmiao avatar zhmiao commented on July 3, 2024

Actually that is not right, the input of center loss is processed meta embedding. In the code it more clear: https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/master/run_networks.py#L162
We are learning centerloss regularized metric on the final meta embedding space. The centers were only initialized using direct embedding in the beginning of stage 2.

from openlongtailrecognition-oltr.

jchhuang avatar jchhuang commented on July 3, 2024

Thanks for your reply. I will reconsider this issue. thanks again

from openlongtailrecognition-oltr.

zhmiao avatar zhmiao commented on July 3, 2024

No problem. I will close this issue for now. Thanks.

from openlongtailrecognition-oltr.

jchhuang avatar jchhuang commented on July 3, 2024

I have a question:the ci in equation (9) is the centroid of vdirect or vmeta? Since only the centroid of vdirect is mentioned in the paper, so I think the computation of distance of centroid and vmeta do not make sense.

from openlongtailrecognition-oltr.

zhmiao avatar zhmiao commented on July 3, 2024

Like what I mentioned before, the centroids were only initialized using vdirect. After that the centroids are calculated using vmeta. So the equation (9) is also correct.

from openlongtailrecognition-oltr.

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.