1. 19 Feb, 2019 3 commits
  2. 18 Feb, 2019 2 commits
    • Preston Parry's avatar
      Update install example to avoid directory assumptions (#451) · b0c198dc
      Preston Parry authored
      The previous instruction examples assumed that the directory `~/github` existed, and did not include any check to create it if the directory did not exist. I updated to install in whatever directory the user is current in. 
      
      I also updated to make it clear how the CUDA version is specified, and fixed a typo in activating the conda env.
      b0c198dc
    • Csaba Botos's avatar
      clarifying directory structure and fixing typo (#448) · f2b9a9a0
      Csaba Botos authored
      A few addition:
      I added the top level directory `cityscapes` since the `tools/cityscapes/convert_cityscapes_to_coco.py` script has the directory structure `gtFine_trainvaltest/gtFine` hardcoded into it which is fine but was not clear at first.
      
      Also added a **Note** to warn people to install detectron as well, since the script uses `detectron.utils.boxes` and `detectron.utils.segm` modules which has further dependencies in the detectron lib.
      f2b9a9a0
  3. 15 Feb, 2019 5 commits
    • Ren Jin's avatar
      e60f4ec8
    • Cheng-Yang Fu's avatar
      Add RetinaNet Implementation (#102) · 6b1ab017
      Cheng-Yang Fu authored
      * Add RetinetNet parameters in cfg.
      
      * hot fix.
      
      * Add the retinanet head module now.
      
      * Add the function to generate the anchors for RetinaNet.
      
      * Add the SigmoidFocalLoss cuda operator.
      
      * Fix the bug in the extra layers.
      
      * Change the normalizer for SigmoidFocalLoss
      
      * Support multiscale in training.
      
      * Add retinannet  training script.
      
      * Add the inference part of RetinaNet.
      
      * Fix the bug when building the extra layers in retinanet.
      Update the matching part in retinanet_loss.
      
      * Add the first version of the inference of RetinaNet.
      Need to check it again to see if is there any room for speed
      improvement.
      
      * Remove the  retinanet_R-50-FPN_2x.yaml first.
      
      * Optimize the retinanet postprocessing.
      
      * quick fix.
      
      * Add script for training RetinaNet with ResNet101 backbone.
      
      * Move cfg.RETINANET to cfg.MODEL.RETINANET
      
      * Remove the variables which are not used.
      
      * revert boxlist_ops.
      Generate Empty BoxLists instead of [] in retinanet_infer
      
      * Remove the not used commented lines.
      Add NUM_DETECTIONS_PER_IMAGE
      
      * remove the not used codes.
      
      * Move retinanet related files under Modeling/rpn/retinanet
      
      * Add retinanet_X_101_32x8d_FPN_1x.yaml script.
      This model is not fully validated. I only trained it around 5000
      iterations and everything is fine.
      
      * set RETINANET.PRE_NMS_TOP_N as 0 in level5 (p7), because previous setting may generate zero detections and could cause
      the program break.
      This part is used in original Detectron setting.
      
      * Fix the rpn only bug when the training ends.
      
      * Minor improvements
      
      * Comments and add Python-only implementation
      
      * Bugfix and remove commented code
      
      * keep the generalized_rcnn same.
      Move the build_retinanet inside build_rpn.
      
      * Add USE_C5 in the MODEL.RETINANET
      
      * Add two configs using P5 to generate P6.
      
      * fix the bug when loading the Caffe2 ImageNet pretrained model.
      
      * Reduce the code depulication of RPN loss and RetinaNet loss.
      
      * Remove the comment which is not used.
      
      * Remove the hard coded number of classes.
      
      * share the foward part of rpn inference.
      
      * fix the bug in rpn inference.
      
      * Remove the conditional part in the inference.
      
      * Bug fix: add the utils file for permute and flatten of the box
      prediction layers.
      
      * Update the comment.
      
      * quick fix. Adding import cat.
      
      * quick fix: forget including import.
      
      * Adjust the normalization part according to Detectron's setting.
      
      * Use the bbox reg normalization term.
      
      * Clean the code according to recent review.
      
      * Using CUDA version for training now. And the python version for training
      on cpu.
      
      * rename the directory to retinanet.
      
      * Make the train and val datasets are consistent with mask r-cnn setting.
      
      * add comment.
      6b1ab017
    • Himanshu Pandey's avatar
      595694cb
    • CoinCheung's avatar
      f2513645
    • Levi Viana's avatar
      Some cleaning and changing default argument from `boxlist_nms` (#429) · 327bc29b
      Levi Viana authored
      * Adding support to Caffe2 ResNeXt-152-32x8d-FPN-IN5k backbone for Mask R-CNN
      
      * Clean up
      
      * Fixing path_catalogs.py
      
      * Back to old ROIAlign_cpu.cpp file
      327bc29b
  4. 13 Feb, 2019 2 commits
  5. 12 Feb, 2019 2 commits
    • Francisco Massa's avatar
      Add RPN configs (#66) · 6286a6c8
      Francisco Massa authored
      * Add RPN config files
      
      * Add more RPN models
      6286a6c8
    • Francisco Massa's avatar
      [WIP] Add Keypoint R-CNN (#69) · e0a525a0
      Francisco Massa authored
      * [WIP] Keypoints inference on C2 models work
      
      * Training seems to work
      
      Still gives slightly worse results
      
      * e2e training works but gives 3 and 5 mAP less
      
      * Add modification proposed by @ChangErgou
      
      Improves mAP by 1.5 points, to 0.514 and 0.609
      
      * Keypoints reproduce expected results
      
      * Clean coco.py
      
      * Linter + remove unnecessary code
      
      * Merge criteria for empty bboxes in has_valid_annotation
      
      * Remove trailing print
      
      * Add demo support for keypoints
      
      Still need further cleanups and improvements, like adding fields support for the other ops in Keypoints
      
      * More cleanups and misc improvements
      
      * Fixes after rebase
      
      * Add information to the readme
      
      * Fix md formatting
      e0a525a0
  6. 07 Feb, 2019 1 commit
    • Tong Xiao's avatar
      Registry for RoI Box Predictors (#402) · 1589ce09
      Tong Xiao authored
      * Registry for RoI Box Predictors
      
      - Add a registry ROI_BOX_PREDICTOR
      - Use the registry in roi_box_predictors.py, replacing the local factory
      - Minor changes in structures/bounding_box.py: when copying a box with
      fields, check if the field exists
      - Minor changes in logger.py: make filename a optional argument with
      default value of "log.txt"
      
      * Add Argument skip_missing=False
      1589ce09
  7. 06 Feb, 2019 1 commit
  8. 05 Feb, 2019 2 commits
    • Akiomi KAMAKURA's avatar
    • zimenglan's avatar
      agnostic-regression for bbox (#390) · 9cb251d3
      zimenglan authored
      * make pixel indexes 0-based for bounding box in pascal voc dataset
      
      * replacing all instances of torch.distributed.deprecated with torch.distributed
      
      * replacing all instances of torch.distributed.deprecated with torch.distributed
      
      * add GroupNorm
      
      * add GroupNorm -- sort out yaml files
      
      * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes
      
      * modification on 'group_norm' and 'conv_with_kaiming_uniform' function
      
      * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication
      
      * use 'kaiming_uniform' to initialize resnet, disable gn after fc layer, and add dilation into ResNetHead
      
      * agnostic-regression for bbox
      9cb251d3
  9. 04 Feb, 2019 1 commit
  10. 01 Feb, 2019 1 commit
  11. 31 Jan, 2019 1 commit
  12. 30 Jan, 2019 1 commit
  13. 25 Jan, 2019 1 commit
  14. 23 Jan, 2019 4 commits
    • zimenglan's avatar
      use 'kaiming_uniform' to initialize resnet, disable gn after fc layer (#377) · 9b53d15c
      zimenglan authored
      * make pixel indexes 0-based for bounding box in pascal voc dataset
      
      * replacing all instances of torch.distributed.deprecated with torch.distributed
      
      * replacing all instances of torch.distributed.deprecated with torch.distributed
      
      * add GroupNorm
      
      * add GroupNorm -- sort out yaml files
      
      * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes
      
      * modification on 'group_norm' and 'conv_with_kaiming_uniform' function
      
      * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication
      
      * use 'kaiming_uniform' to initialize resnet, disable gn after fc layer, and add dilation into ResNetHead
      9b53d15c
    • Forest's avatar
      Add note about cudapopcallerror (#375) · 7cdf122d
      Forest authored
      7cdf122d
    • Cheng-Yang Fu's avatar
      Add COCO_2017 in paths_catalog.py (#373) · 1cd78d10
      Cheng-Yang Fu authored
      * Add new section "Projects using maskrcnn-benchmark".
      
      * Update README.md
      
      update the format.
      
      * Update README.md
      
      * Add coco_2017_train and coco_2017_val
      
      * Update README.md
      
      Add the instructions about COCO_2017
      1cd78d10
    • Cheng-Yang Fu's avatar
      Adding a new section to include the works using maskrcnn-benchmark. (#371) · 193e8c01
      Cheng-Yang Fu authored
      * Add new section "Projects using maskrcnn-benchmark".
      
      * Update README.md
      
      update the format.
      
      * Update README.md
      193e8c01
  15. 22 Jan, 2019 1 commit
  16. 21 Jan, 2019 4 commits
    • Francisco Massa's avatar
      Revert "swich to new pytorch api (#359)" (#364) · 205fa4e7
      Francisco Massa authored
      This reverts commit 6cbb3d27.
      205fa4e7
    • 103yiran's avatar
      swich to new pytorch api (#359) · 6cbb3d27
      103yiran authored
      6cbb3d27
    • zimenglan's avatar
      add GroupNorm (#346) · 3b27142e
      zimenglan authored
      * make pixel indexes 0-based for bounding box in pascal voc dataset
      
      * replacing all instances of torch.distributed.deprecated with torch.distributed
      
      * replacing all instances of torch.distributed.deprecated with torch.distributed
      
      * add GroupNorm
      
      * add GroupNorm -- sort out yaml files
      
      * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes
      
      * modification on 'group_norm' and 'conv_with_kaiming_uniform' function
      
      * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication
      3b27142e
    • 103yiran's avatar
      Uniform annotation format (#357) · abf36b94
      103yiran authored
      abf36b94
  17. 14 Jan, 2019 2 commits
  18. 30 Dec, 2018 1 commit
  19. 22 Dec, 2018 1 commit
  20. 21 Dec, 2018 2 commits
    • Lei Yang's avatar
      Update checkpoint.py (#299) · 9b6aa824
      Lei Yang authored
      * Update checkpoint.py
      
      if edit "{save_dir}/last_checkpoint" by vim, "\n" will auto append to the end of file. which will raise 
      
      ```
      FileNotFoundError: [Errno 2] No such file or directory: 'save_dir/model_0060000.pth\n'
      ```
      
      * Update checkpoint.py
      
      if edit "{save_dir}/last_checkpoint" by vim, "\n" will auto append to the end of file. which will raise
      ```
      FileNotFoundError: [Errno 2] No such file or directory: 'save_dir/model_0060000.pth\n'
      ```
      9b6aa824
    • benjaminrwilson's avatar
      Added distributed training check (#287) · f66c1d40
      benjaminrwilson authored
      f66c1d40
  21. 18 Dec, 2018 1 commit
  22. 17 Dec, 2018 1 commit