项目作者: yuancoder222

项目描述 :
KL-loss
高级语言: Cuda
项目地址: git://github.com/yuancoder222/KL-loss.git
创建时间: 2019-05-07T05:39:32Z
项目社区:https://github.com/yuancoder222/KL-loss

开源协议:

下载


kl-loss

This is only the caffe implementation for the KL loss in the paper:

Bounding Box Regression with Uncertainty for Accurate Object Detection

@inproceedings{klloss,
title={Bounding Box Regression with Uncertainty for Accurate Object Detection},
author={He, Yihui and Zhu, Chenchen and Wang, Jianren and Savvides, Marios and Zhang, Xiangyu },
booktitle={2019 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2019},
organization={IEEE}
}

How to write the prototxt?

if you have three inputs (not include weights)

  1. layer {
  2. name: "loss_kl"
  3. type: "KlLoss"
  4. bottom: "coor"
  5. bottom: "theta"
  6. bottom: "label"
  7. top: "kl_loss"
  8. propagate_down: 1
  9. propagate_down: 1
  10. propagate_down: 0
  11. loss_weight: 1
  12. }

if you have four inputs (include weights)

  1. layer {
  2. name: "loss_kl"
  3. type: "KlLoss"
  4. bottom: "coor"
  5. bottom: "theta"
  6. bottom: "label"
  7. bottom: "weight"
  8. top: "kl_loss"
  9. propagate_down: true
  10. propagate_down: true
  11. propagate_down: false
  12. propagate_down: false
  13. include {
  14. phase: TRAIN
  15. }
  16. }