Giter Club home page Giter Club logo

Comments (2)

the-full avatar the-full commented on June 28, 2024 1

Thank you for your prompt reply, which I believe has answered my question thoroughly. I will now close this issue and once again, thank you for your time and effort!

from equiadapt.

sibasmarak avatar sibasmarak commented on June 28, 2024

Hi @the-full, thank you for your kind and encouraging words!

Ideally, yes, you should use the invert_canonicalization function. However, we do not rely on it during the training for two reasons:

  1. Our training/experiments for instance segmentation task involves training the canonicalization function only (no fine-tuning of segmentation models) with the prior regularization. Once we train a canonicalization function to learn the mapping to the prior distribution, we can use it with any architecture (in our case, both MaskRCNN and Segment-Anything Model)! Therefore, we do not use the invert_canonicalization and set task_weight as 0 in our experiments.

  2. Additionally, some specific design decisions were taken to avoid using invert_canonicalization in the case of (frozen) large pretrained models (here). Effectively, if the canonicalizer is trained well, we can expect the output of the prediction network to be identical to the output for the canonical inputs (which is the ground truth because the predominant orientation in the datasets is the canonical one). However, feel free to use the function before computing the loss (and I'd recommend this if you are training from scratch and not using the prior regularization).

During inference, instead of invert_canonicalization function, we use custom invert functions for masks and bboxes.

If your issues are addressed, please go ahead and close this issue. Thank you!

from equiadapt.

Related Issues (3)

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.