Skip to content

Question: RPN Loss vs. Class Loss #1

@sjlee-me

Description

@sjlee-me

First of all, thank you for uploading this great and easy to understand repository. I'm implementing Faster RCNN my own codes ( https://github.com/the-realest-one/faster-rcnn-pytorch ), with help from your repository.

My question is about loss functions.
I read faster-rcnn paper, and I found only one loss function which is a multi-task loss ( https://arxiv.org/pdf/1506.01497.pdf, formula (1))
But when I saw your loss.py, there are 4 loss functions. And I think rpn_loss_regr and rpn_loss_cls_fixed_num are components for paper's formula(1).

So my questions are:

  1. Are really rpn_loss_regr and rpn_loss_cls_fixed_num component functions of paper's formula(1) ?
  2. Are class_loss_cls and class_loss_regr in your loss.py component functions of Fast RCNN ? ( I was confused because there is only one loss function definition in the paper, but in your repository, there are loss functions for RPN and for Class. So I guess that the paper just didn't write out loss function of Fast RCNN part, and that class_loss_cls and class_loss_regr are for Fast RCNN)
  3. What is the license of your repository? (MIT, Apache, or something)

Because this is the first time I implement object detection network, my question would be awkward. But if you answer my question, it will be much helpful for me.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions