Coder Social home page Coder Social logo

bug and question about hdmapnet HOT 3 OPEN

FlowEternal avatar FlowEternal commented on July 18, 2024 6
bug and question

from hdmapnet.

Comments (3)

Francis777 avatar Francis777 commented on July 18, 2024 1

Hi @liqi17thu, I find the two adaptations you mentioned in 3.(1) very interesting to think about.

  1. Using softmax instead of sigmoid as activation for prediction
    I understand this as you still want to encourage the network to predict only 1 class(with high likelihood), rather than in typical multi-label classification setting where the prediction for each class is treated as independent variables. Is that correct?
  2. Normalising the labels
    I assume you're doing standard normalisation rather than softmax, so this won't change the BCE loss for the classes with label 0, but will change the BCE loss of the 2 classes with label 1 from NLL(red curve below) to (blue curve below), this would mean that the averaged loss is lowest when the network predicts probability 0.5 for both classes with label 1, but relatively high when it predicts probability 1 for one of the 2 correct classes. This seems opposite to the motivation of 1, so I'd love to hear more about your thoughts on the design of this loss, thanks!

from hdmapnet.

liqi0126 avatar liqi0126 commented on July 18, 2024
  1. Thanks for pointing out this! We have fixed this on the main branch.
  2. Your modification looks great! Is this only a visualization change or did you also modify the labels? Also, feel free to create a pull request for this modification.
  3. (1) We use BCE loss and one adaptation is that we also "softmax" the label, that is if there are two 1s, then we will normalize them to 0.5. But I guess it would be fine to directly use sigmoid as the activation function.
    (2) This configuration is used throughout the whole paper. For the second question, a larger perception range should result in worse numerical results because it could be harder for sensors to perceive roads at a long distance. As for the resolution, I think a larger resolution would result in heavier computation costs. Also the solution should not be too small because a road divider won't have a width, say 0.3m.

from hdmapnet.

Vishal1711 avatar Vishal1711 commented on July 18, 2024

How you visualize generated label?

from hdmapnet.

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.