Giter Site home page Giter Site logo

Comments (4)

yuwen-lu avatar yuwen-lu commented on July 4, 2024 1

Aha, that makes a lot of sense, thank you!

I was confused because another paper cited your work but didn't mention the label-conditioned part in their approach. They didn't open source their code so I came here.

Thanks for your explanation!

from const_layout.

ktrk115 avatar ktrk115 commented on July 4, 2024

Thank you for your question! And sorry for the late response.

This function assumes that the two input layouts have the same label set and that _bi and _bj are bbox sequences of the same length, i.e., both have the same number of a specific type of elements. The code for creating two sets of layouts that have the same label set can be found here.

from const_layout.

yuwen-lu avatar yuwen-lu commented on July 4, 2024

Thanks for the explanation!

But since the code took an intersection between the 2 key sets (line 130), it seems like only the shared labels and their bounding boxes are considered in computing the max iou? My question is largely, what happens when the generated result has different quantity of keys/bounding boxes?

from const_layout.

ktrk115 avatar ktrk115 commented on July 4, 2024

Yes, we can only compute the max iou with the shared labels and their bounding boxes. Since our problem setting is label-conditioned layout generation, we evaluated the models with given labels, i.e., using the same labels as the test set (see generation code).

For different quantities of keys (layouts?) or bounding boxes, the max iou becomes ill-defined and would cause unwanted behavior such as ignoring partial boxes.

from const_layout.

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.