Git Product home page Git Product logo

Comments (2)

alcinos avatar alcinos commented on August 30, 2024 1

Hi @melongua

The difference is as follows:

  • tokens_positive is the alignment that we use for computing the loss. It works in tandem with the boxes information: it is assumed that len(tokens_positive) == len(boxes), and that the first set of tokens corresponds to the first box and so on.

  • tokens_positive_eval is used only during Flickr evaluation. It is meant to contain the phrases for which we want ranked boxes. In this case there is no boxes associated in the ground-truth (for eg when we perform evaluation on test). This should be seen as the way to query the model on a given set of phrases.

I hope this clarifies a bit the role, feel free to ask if you have further questions.

from mdetr.

melongua avatar melongua commented on August 30, 2024

Hi @alcinos,

Thank you for your quick response, just to double-check:
Is it correct to say that the only difference between them is their association with the ground truth boxes, and the word span information contained in them is the same?
Or put it in another way, when evaluated on test split, there is no difference in using tokens_positive or tokens_positive_eval as there is no box association?

from mdetr.

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.