Skip to content
Snippets Groups Projects
  1. Apr 08, 2020
    • Wenwei Zhang's avatar
      Refactor category orders in heads (#2374) · 70eedbd3
      Wenwei Zhang authored
      
      * Refactor (all): all category -1 in anchor/bbox head and anchor/bbox target assign
      
      * Fix (datasets): remove label + 1 in datasets
      
      * Fix (bbox_head): fix bug of fc_cls that forget + 1
      
      * Fix (atss_head & free_anchor): fix cat -1 bugs
      
      * Fix (mask_head): remove label + 1 in mask heads
      
      * fix atss
      
      * Fix (rpn): fix cross_entropy_loss bug of RPN
      
      * Fix (anchor_head): fix typo
      
      * Refactor (anchor_head): use background_label rather than num_classes to indicate background class
      
      * Refactor (docstring): add and reformat docstrings
      
      * fix mask iou head
      
      * Fix (mask_head): fix cat -1 bug
      
      * Fix (mask_head): fix bug in mask inference
      
      * Add (tests): add tests for mask rcnn and mask heads
      
      * Refactor (unittest): refactor test_forward
      
      * Refactor (new_empty): use new_full rather than new_empty
      
      * Refactor (background_label): check background_label
      
      * Add TODO
      
      * Refactor (unittest): allow BP in unittest
      
      Co-authored-by: default avatarCao Yuhang <yhcao6@gmail.com>
      70eedbd3
  2. Apr 06, 2020
    • Wenwei Zhang's avatar
      Change V2.0 coors (#2380) · 7ed8d51e
      Wenwei Zhang authored
      * Refactor (all): change coordinate system
      
      * Fix (mask_head): fix cat -1 bug in mask_paste
      
      * Fix (unittest)
      : modify unittest and pass CI
      
      * reformat to pass CI
      
      * Fix round coordinates bugs
      
      * clean file
      
      * Fix (test): use cpu version of aligned roi_align in tests
      
      * Refactor (mask): clean np.stack
      
      * Refactor (head): reformat code and fix missing -1
      
      * Reformat: reformat and add doc strings
      
      * Refactor (mask_head): more clea docstring
      7ed8d51e
    • Cao Yuhang's avatar
      Rename BitMap to Bitmap, perfect unit test. (#2391) · 5db9b2e3
      Cao Yuhang authored
      * rename BitMap to Bitmap, add input check for polygon
      
      * fix test mask
      
      * fix test config
      
      * complete test
      
      * add mask contest test for bitmap resize
      
      * update with np.diag
      
      * perfect test polygon resize
      
      * perfect test polygon crop
      5db9b2e3
  3. Apr 04, 2020
    • Jerry Jiarui XU's avatar
      Support CPU mode for inference (#2385) · da09e7e5
      Jerry Jiarui XU authored
      
      * add CPU only mode which can be activated during install
      
      * fixed flake8 errors for too long lines, still have to deal with "import not at top of file"
      
      * reversing changes in MinIoURandomCrop, that not relevant to the CPU_ONLY pull request
      
      * moving the CPU_ONLY checks into deeper parts of the code
      
      * completing previous commit
      
      * using isort for imports sorting
      
      * yapf fix
      
      * followed @xvjiarui suggestions for the pull request
      
      * use mmdet.CPU_ONLY and replace the "--cpu" flag in setup.py with automatic check of cuda
      
      * make setup code cleaner
      
      * back to original implementation of MinIoURandomCrop
      
      * build all extensions with CUDA, if available
      
      * fixed DC
      
      * update doc
      
      * fixed masked_conv2d_ext
      
      * set warning once, update comment
      
      Co-authored-by: default avatarYossi Biton <yossi.biton@alibaba-inc.com>
      Co-authored-by: default avatarYossi Biton <yossibit10@gmail.com>
      da09e7e5
    • Kai Chen's avatar
      add unit tests for fp16 decorators (#2381) · 8549d10c
      Kai Chen authored
      8549d10c
  4. Apr 03, 2020
  5. Apr 02, 2020
  6. Apr 01, 2020
  7. Mar 31, 2020
    • Wenwei Zhang's avatar
      Encapsulate the second stage into RoI heads (#1999) · c29a789c
      Wenwei Zhang authored
      * create roi_head
      
      * create roi_head
      mv shared_head into roi_head
      
      * fix conflict
      
      * refactor(cascade rcnn): create cascade head in roi head, simplify cascade rcnn
      
      * type: fix
      scope: cascade_head
      subject: mv stage_loss_weight from train_cfg to roi_head creation
      
      * type: fix
      scope: roi_heads
      subject: handle the case when train_cfg is None
      
      * type: fix
      scope: roi_heads mask inference
      subject: fix test_cfg.rcnn bug to test_cfg
      
      * fix mask eval bug
      
      * refactor(double_head): refactor double head roi head
      
      * fix(double_head): clean code and fix __init__.py
      
      * refactor(mask scoring): create mask scoring roi head
      
      * refactor(htc_head): add htc_head
      
      * fix(htc_head): add htc_head in __init__.py
      
      * fix (htc_head): fix htc_head bugs
      
      * fix (ms_roi_head): rm test_cfg.rcnn to test_cfg
      
      * feature (grid rcnn): grid roi head
      
      * fix (grid_head): fix grid head bug
      
      * reformat and change all cfgs
      
      * reformat (roi_head): reformat __init__.py for isort=4.3.21
      
      * fix roi_head test bug
      
      * fix (carafe): change carafe cfgs to use roi_head
      
      * fix (roi_head): fix missing roi_head refactor
      
      * reformat to pass CI
      
      * test all cfgs
      
      * match keys of configs with previous commit 77d073a
      
      * add and pass unittest for all roi heads
      
      * Refactor (roi_head): extract abstract base class for roi head
      
      * Refactor (roi_head): refactor init functions
      
      * Refactor (roi_head): weight init
      
      * Refactor (roi_head): add _bbox_forwrd & _mask_forward as basic functions
      
      * Fix (grid_roi_head): fix bug in bbox_forward_train
      
      * Refactor (roi_head): change to use img.device in forward_dummy)
      
      * Refactor (roi_heads): simplify init functions and _mask_forward
      
      * Fix (cascade_roi_head): fix init bug of cascade roi_head
      
      * Refactor (roi_head): use dict as outputs of _bbox_forward and _mask_forward
      
      * Refactor (test_config): scan valid configs rather than list them all
      c29a789c
  8. Mar 30, 2020
  9. Mar 29, 2020
  10. Mar 28, 2020
    • Jerry Jiarui XU's avatar
      refactor resnet, add deep_stem and avg_down opt (#2252) · 82b794da
      Jerry Jiarui XU authored
      * refactor resnet, add deep_stem and avg_down opt
      
      * move args into kwargs
      
      * add default
      
      * mv resnetv1d to resnet
      
      * fixed res_layer
      
      * add base_channels
      
      * add doc
      
      * add tests
      
      * update test
      
      * fixed backbone block conv_cfg/norm_cfg
      
      * add test
      
      * add tests
      82b794da
  11. Mar 27, 2020
  12. Mar 26, 2020
  13. Mar 25, 2020
  14. Mar 24, 2020
  15. Mar 23, 2020
    • Jerry Jiarui XU's avatar
      add new config sample and check scripts (#2216) · eeff0bef
      Jerry Jiarui XU authored
      * add new config sample and check scripts
      
      * context managere to prevent import
      
      * refactor backbone, add caffe
      
      * add fast rcnn
      
      * all basci config done
      
      * rm coco_proposal
      
      * add scratch, wider_face, voc
      
      * add reppoints
      
      * delete device id, auto resume
      
      * add libra_rcnn, ms_rcnn, nas_fpn
      
      * add hrnet, fcos
      
      * add free_anchor, gn, grid_rcnn, guided_anchoring, gcnet, ghm, gn+ws
      
      * finished all, but some need refactor and unified logic
      
      * fixed albu
      
      * update ReseNet101
      
      * reduce ResNet101, add norm_cfg, 4conv1fc
      
      * refactor caffe backbone
      
      * merge act_cfg, dcn from master
      
      * rename 2fc head, add 4conv1fc head
      
      * delete 4con1fc model
      
      * rename components -> _base_
      
      * flatten _base_
      
      * refactor _base_ structure
      
      * refactor config structure
      
      * reduce _base/models
      
      * rename all config
      
      * add _coco inside configs
      
      * fixed _coco in files
      
      * fixed albu in test
      
      * migrate to new sys
      
      * fixed test
      
      * fixed test
      
      * rm cascade, fast_rcnn
      
      * rm cascade, fast_rcnn from _base_
      
      * fixed fcos_center
      
      * rename from rule
      
      * collopse third party model
      
      * fixed test
      
      * fixed some minor bug
      
      * rename gn-neck_head -> gn-neck+head
      eeff0bef
  16. Mar 21, 2020
  17. Mar 20, 2020
  18. Mar 19, 2020
Loading