1. 28 Jun, 2019 1 commit
    • Cao Yuhang's avatar
      Support FP16 training (#520) · e7466395
      Cao Yuhang authored
      * add fp16 support
      
      * fpn donot need bn normalize
      
      * refactor wrapped bn
      
      * fix bug of retinanet
      
      * add fp16 ssd300 voc, cascade r50, cascade mask r50
      
      * fix bug in cascade rcnn testing
      
      * add support to fix bn training
      
      * add fix bn cfg
      
      * delete fixbn cfg, mv fixbn fp16 to a new branch
      
      * fix cascade mask fp16 bug in test
      
      * fix bug in cascade mask rcnn fp16 test
      
      * add more fp16 cfgs
      
      * add fp16 fast-r50 and faster-dconv-r50
      
      * add fp16 test, minor fix
      
      * clean code
      
      * fix config work_dir name
      
      * add patch func, refactor code
      
      * fix format
      
      * clean code
      
      * move convert rois to single_level_extractor
      
      * fix bug for cascade mask, the seg mask is ndarray
      
      * refactor code, add two decorator force_fp32 and auto_fp16
      
      * add fp16_enable attribute
      
      * add more comment, fix format and test assertion
      
      * fix pep8 format error
      
      * format commont and api
      
      * rename distribute to distributed, fix dict copy
      
      * rename function name
      
      * move function, add comment
      
      * remove unused parameter
      
      * mv decorators into decorators.py, hook related functions to hook
      
      * add auto_fp16 to forward of semantic head
      
      * add auto_fp16 to all heads and fpn
      
      * add docstrings and minor bug fix
      
      * simple refactoring
      
      * bug fix for patching forward method
      
      * roi extractor in fp32 mode
      
      * fix flake8 error
      
      * fix ci error
      
      * add fp16 support to ga head
      
      * remove parallel test assert
      
      * minor fix
      
      * add comment in build_optimizer
      
      * fix typo in comment
      
      * fix typo enable --> enabling
      
      * udpate README
      e7466395
  2. 22 Jun, 2019 1 commit
  3. 20 Jun, 2019 1 commit
    • Cao Yuhang's avatar
      Add reduction_override flag (#839) · 32df98e9
      Cao Yuhang authored
      * add reduction_override flag
      
      * change default value of reduction_override as None
      
      * add assertion, fix format
      
      * delete redudant statement in util
      
      * delete redudant comment
      32df98e9
  4. 19 Jun, 2019 1 commit
  5. 17 Jun, 2019 1 commit
  6. 11 Jun, 2019 2 commits
    • Kai Chen's avatar
      Refactoring for losses (#761) · ba26d8ce
      Kai Chen authored
      * refactoring for losses
      
      * update configs for guided anchoring
      
      * add all imported losses to __all__
      
      * allow weight=None for binary_cross_entropy
      
      * use losses in mmdetection for FCOSHead
      
      * bug fix for weight_reduce_loss
      
      * add eps to iou_loss and handle weight=None
      
      * unify loss api in FCOSHead
      
      * fix avg_factor
      ba26d8ce
    • Ge Zheng's avatar
      Avoid log(0) in iou_loss, which will lead to Nan. (#733) · afb7ec86
      Ge Zheng authored
      * Update losses.py
      
      * Update losses.py
      afb7ec86
  7. 25 May, 2019 1 commit
    • Jiangmiao Pang's avatar
      Code for CVPR 2019 Paper "Libra R-CNN: Towards Balanced Learning for Object Detection" (#687) · b581e19f
      Jiangmiao Pang authored
      * Code for components of Libra R-CNN
      
      * Configs and README for Libra R-CNN
      
      * update bfp
      
      * Update Model ZOO
      
      * add comments in non-local
      
      * fix shape
      
      * update bfp
      
      * update according to ck's comments
      
      * update des
      
      * update des
      
      * fix loss
      
      * fix according to ck's comments
      
      * fix activation in non-local
      
      * fix conv_mask in non-local
      
      * fix conv_mask in non-local
      
      * Remove outdated model urls
      
      * refactoring for bfp
      
      * change in_channels from list[int] to int
      
      * refactoring for nonlocal
      
      * udpate weight init of nonlocal
      
      * minor fix
      
      * update new model urls
      b581e19f
  8. 23 May, 2019 1 commit
    • Jiaqi Wang's avatar
      Code of CVPR 2019 Paper: Region Proposal by Guided Anchoring (#594) · 89022a26
      Jiaqi Wang authored
      * add two stage w/o neck and w/ upperneck
      
      * add rpn r50 c4
      
      * update c4 configs
      
      * fix
      
      * config update
      
      * update config
      
      * minor update
      
      * mask rcnn support c4 train and test
      
      * lr fix
      
      * cascade support upper_neck
      
      * add cascade c4 config
      
      * update config
      
      * update
      
      * update res_layer to new interface
      
      * refactoring
      
      * c4 configs update
      
      * refactoring
      
      * update rpn_c4 config
      
      * rename upper_neck as shared_head
      
      * update
      
      * update configs
      
      * update
      
      * update c4 configs
      
      * update according to commits
      
      * update
      
      * add ga rpn
      
      * test bug fix
      
      * test bug fix with loc_filter_thr is large
      
      * update configs
      
      * update configs
      
      * add ga_retinanet
      
      * ga test bug fix
      
      * update configs
      
      * update
      
      * init masked conv
      
      * update
      
      * update masked conv
      
      * update
      
      * support no ga_sampler
      
      * update
      
      * update
      
      * test with masked_conv
      
      * update comment
      
      * fix flake errors
      
      * fix flake 8 errors
      
      * refactor bounded iou loss
      
      * refactor ga_retina_head
      
      * update configs
      
      * refactor masked conv
      
      * fix flake8 error
      
      * refactor guided_anchor_head and ga_rpn_head
      
      * update configs
      
      * use_sigmoid_cls -> cls_sigmoid_loss; use_focal_loss -> cls_focal_loss
      
      * refactoring
      
      * cls_sigmoid_loss -> use_sigmoid_cls
      
      * fix flake8 error
      
      * add some docs
      
      * rename normalize to norm_cfg
      
      * update configs
      
      * add readme
      
      * update ga_faster config
      
      * update readme
      
      * update readme
      
      * rename configs as r50_caffe
      
      * merge master
      
      * refactor guided anchor target
      
      * update readme
      
      * update approx mas iou assigner
      
      * refactor guided anchor target
      
      * update docstring
      
      * refactor ga heads
      
      * fix flake8 error
      
      * update readme
      
      * update model url
      
      * update comments
      
      * refactor get anchors
      
      * update docstring
      
      * not use_loc_filter during training
      
      * add R-101 results
      
      * update to support build loss api
      
      * fix flake8 error
      
      * update readme with x-101 performances
      
      * update readme
      
      * add a link in project readme
      
      * refactor code about ga shape inside flags
      
      * update
      
      * update
      
      * add x101 config files
      
      * add ga_rpn r101 config
      
      * update some comments
      
      * add comments
      
      * add comments
      
      * update comments
      
      * fix flake8 error
      89022a26
  9. 20 May, 2019 1 commit
  10. 17 May, 2019 1 commit
    • Cao Yuhang's avatar
      Reimplement "FCOS: Fully Convolutional One-Stage Object Detection" (#586) · 8d38fd8c
      Cao Yuhang authored
      * add fcos
      
      * use P5 instead of C5
      
      * add relu before extra convs in FPN
      
      * add singleclass_nms, use caffe2 lr
      
      * fix log interval
      
      * use caffe2init and relu in extra layers
      
      * fix scale layer, use p5 instead of c5
      
      * fix focs target
      
      * refactor code
      
      * delete useless file
      
      * clean
      
      * refactor code
      
      * change num_classes to cls_out_channels
      
      * fix bug of in get_bboxes
      
      * fix bug in test
      
      * add r101 2x cfg
      
      * ms use value mode, add x101-64x4d cfg
      
      * add more comment and rename some variable
      
      * rename centers to points, modify doc string of distance2bbox
      
      * add fcos detector, replace frozen with requires_grad
      
      * add README.md
      
      * add r101-1x performance, rename cfg, add detector FCOS
      
      * update fcos r50 2x performance, remove fpn caffe2 initialize
      
      * fix flake8 error
      
      * rename cfg
      
      * fix grammar error of some comments
      
      * minor fix comment
      
      * change work_dir to be consistent with config name
      
      * add FCOS support in README
      8d38fd8c
  11. 15 Apr, 2019 1 commit
  12. 14 Apr, 2019 2 commits
  13. 11 Apr, 2019 3 commits
  14. 03 Apr, 2019 1 commit
    • Mordekaiser's avatar
      fix OHEM with cascade rcnn (#373) · ee7e679a
      Mordekaiser authored
      * fix OHEM with cascade_rcnn
      
      * fix OHEM with cascade_rcnn
      
      * delete space
      
      * delete white space
      
      * delete unused lib
      
      * Delete cascade_rcnn_ohem_r101_fpn_1x.py
      
      * fix unreasonable code
      
      * fix Single quote
      
      * fix code style
      
      * fix code style
      
      * fix file permission
      ee7e679a
  15. 13 Feb, 2019 2 commits
  16. 09 Feb, 2019 1 commit
  17. 30 Jan, 2019 1 commit
  18. 22 Jan, 2019 1 commit
  19. 14 Jan, 2019 1 commit
  20. 13 Jan, 2019 1 commit
  21. 25 Dec, 2018 1 commit
  22. 20 Dec, 2018 1 commit
  23. 12 Dec, 2018 2 commits
  24. 11 Dec, 2018 6 commits
  25. 10 Dec, 2018 5 commits