Git Product home page Git Product logo

Comments (7)

BrenoAV avatar BrenoAV commented on September 27, 2024 2

What I do understand, please correct me if I'm wrong.

You can take these values from here layers/functions/detection_gmm.py:

uc1

For example, in the demo.py file... When you test some image you can use the while loop to obtain the uncertainty for each bbox, something like this:

max_loc_al_uc = torch.max(detections[0][i][j][5:9]) # 4 values (four coordinates values)
max_loc_ep_uc = torch.max(detections[0][i][j][9:13]) # 4 values (four coordinates values)
cl_al_uc = torch.max(detections[0][i][j][13:14]) # 1 value
cl_ep_uc = torch.max(detections[0][i][j][14:15]) # 1 value

from al-mdn.

BrenoAV avatar BrenoAV commented on September 27, 2024 2

For the localization, the 4 values are the uncertainty about the center, height, and weight {x, y, w, h}. On pg. 4 of the paper in section 3.3 Scoring Function: "[...] For localization, $u^{ij}$ is the maximum value over the 4 bounding box outputs. [...]"

And in the function you cited, you want to take the labeled_set because they have high score values, labeling them and continue the active learning loop.

from al-mdn.

abwgmo avatar abwgmo commented on September 27, 2024 1

Thank you @BrenoAV very much for your answer indeed the same thing that I understood but I have a small concern concerning the four values ​​for the random and epistimological localisation why it sends 4 values ​​instead of a single value as the case of the classification. and for the function can we use it if we want to select a set of images to label ?

from al-mdn.

abwgmo avatar abwgmo commented on September 27, 2024 1

thank you once again @BrenoAV for your help and support now things seem understandable.

from al-mdn.

jwchoi384 avatar jwchoi384 commented on September 27, 2024

Hello @BrenoAV
As you can see this line, output contains scores, box coordinates, aleatoric & epistemic uncertainties of each task.
You can print out each uncertainty value using detections variable, like scores and box coordinates.
To output normalized values, you need to know the mean and variance of each uncertainty distribution for the dataset.
For doing this, you can use this function.

from al-mdn.

BrenoAV avatar BrenoAV commented on September 27, 2024

It makes sense now for me, thank you very much @jwchoi384

from al-mdn.

abwgmo avatar abwgmo commented on September 27, 2024

hello please if you have a concrete example how to recover them for each image?
@jwchoi384 @BrenoAV

from al-mdn.

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.