CenterNet2 icon indicating copy to clipboard operation
CenterNet2 copied to clipboard

Training Loss Clarify

Open chuong98 opened this issue 3 years ago • 2 comments

📚 Documentation

Hi, thanks for the paper: I am a bit confused about the loss implementation. Take the ATSS as RPN as an example:

  1. In the first stage, training the RPN with Focal Loss and IoU loss, identical to ATSS.
  2. In the second stage, training with the Cross Entropy with Softmax output.

My question is about the Second Stage:

  1. Do you still need to predict the Box Regression, since the First Stage already does a very good job?
  2. For the classification, do you train on the product (P(Obj)*P(Cls)) in the second stage ? Or Only on P(Cls) as in conventional Faster-RCNN?

In other word, the training losses are identical to Faster-RCNN. But during inference, you use P(Obj)*P(Cls) as final output ?

chuong98 avatar Apr 12 '21 05:04 chuong98

I would also like to know the answer :)

nilskk avatar May 12 '21 20:05 nilskk

Documentation

Hi, thanks for the paper: I am a bit confused about the loss implementation. Take the ATSS as RPN as an example:

  1. In the first stage, training the RPN with Focal Loss and IoU loss, identical to ATSS.
  2. In the second stage, training with the Cross Entropy with Softmax output.

My question is about the Second Stage:

  1. Do you still need to predict the Box Regression, since the First Stage already does a very good job?
  2. For the classification, do you train on the product (P(Obj)*P(Cls)) in the second stage ? Or Only on P(Cls) as in conventional Faster-RCNN?

In other word, the training losses are identical to Faster-RCNN. But during inference, you use P(Obj)*P(Cls) as final output ?

You may find the answer in #15

jshilong avatar Jul 25 '21 14:07 jshilong