- 26 Sep, 2018 1 commit
-
-
Ahmed Abobakr authored
Summary: Fixing error: TypeError: Layout of the output array img is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels) in vis_class(..) and vis_bbox(..) methods when calling vis_one_image_opencv(..). Pull Request resolved: https://github.com/facebookresearch/Detectron/pull/555 Reviewed By: rbgirshick Differential Revision: D10027949 Pulled By: ir413 fbshipit-source-id: e34b8b881ffe231984f270910f778c5abe79e489
-
- 22 Sep, 2018 1 commit
-
-
Ashwin Bharambe authored
Summary: Detectron code is inconsistent about when it uses (1, 1, 1, 1) as the regression weights vs. `cfg.MODEL.BBOX_REG_WEIGHTS` (which has a default value of (10, 10, 5, 5)). This change allows the caller to make the call (heh!) about what to use. Reviewed By: rbgirshick Differential Revision: D9981875 fbshipit-source-id: 8798408bd2592486eb1a2e40ccb70b9bedfdbf46
-
- 19 Sep, 2018 1 commit
-
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D9940697 fbshipit-source-id: 60a7d76a6ac2ef89a58f6c3dca8adce27ffd74f7
-
- 15 Sep, 2018 1 commit
-
-
Georgia Gkioxari authored
Reviewed By: rbgirshick Differential Revision: D9818825 fbshipit-source-id: a1f2182a7760568987100aa7402aca9327dee952
-
- 06 Sep, 2018 1 commit
-
-
Ashwin Bharambe authored
Summary: Negative labels were never set if `len(bg_inds) <= num_bg`. This condition happens when there aren't as many negative anchor samples compared to the typical batch size (256). Since detection scales are typically ~800, there are plenty of negative samples and this bug is likely never hit. In any case, it is certainly a bug which should be fixed! Reviewed By: rbgirshick Differential Revision: D9647703 fbshipit-source-id: fada9f4f2e0a0b5c1619940328c505e73f9a1c7e
-
- 03 Sep, 2018 1 commit
-
-
gadcam authored
Summary: Fix for #620 & #293. Pull Request resolved: https://github.com/facebookresearch/Detectron/pull/624 Reviewed By: ir413 Differential Revision: D9574052 Pulled By: rbgirshick fbshipit-source-id: f44cea71e5cf6e613d319322db62a60ecb814a75
-
- 31 Aug, 2018 1 commit
-
-
Peizhao Zhang authored
Summary: Renamed should_stop to has_stopped in roi_loader. Reviewed By: rbgirshick Differential Revision: D9596732 fbshipit-source-id: b34a5b20d215fa7423d96c9a8a9cf271b500b530
-
- 29 Aug, 2018 1 commit
-
-
Peizhao Zhang authored
Summary: Pull Request resolved: https://github.com/facebookresearch/Detectron/pull/638 Potential fix for training stuck caused by data loader failure. Reviewed By: rbgirshick Differential Revision: D9513621 fbshipit-source-id: 123974eac83f40ef2f582a90fedea790fdc442d1
-
- 24 Aug, 2018 1 commit
-
-
Ross Girshick authored
Summary: Make data loader threads daemonic so the main process can exit when an exception is raised. Reviewed By: ashwinb, newstzpz Differential Revision: D9478059 fbshipit-source-id: 00bfaab51295b63c2f95ac1be99ae56a0ccf9d94
-
- 21 Aug, 2018 1 commit
-
-
Ross Girshick authored
Summary: In some cases, eg training from scratch with a high LR or w/o activation normalization, we saw a "Negative Areas Found" exception. The RPN proposal generation code filters proposals that have a height or width that are too small. By default we use a `min_size` of 0. In a distant other part of the code, it computes the area of the proposals in order to determine FPN scale assignment. An issue arises because the `+ 1` in the `x2 - x1 + 1` width (and height) computation is not scale invariant. It turns out that the filter based on `min_size` was performed in the scaled input coordinates while the FPN scale assignment areas are computed using the unscaled, original image size. Thus a `min_size` of 0 can result in proposals with a negative area as measured wrt the original image. Uuuugh :P. This diff addresses the issue by filtering based on the area in the unscaled input image and also using a generous (though still small) margin of 1 pixel for `min_size`. Reviewed By: KaimingHe Differential Revision: D8773216 fbshipit-source-id: b4ffbc5b6a831176b2656810edea3d3d4e52d687
-
- 17 Aug, 2018 1 commit
-
-
Ross Girshick authored
Reviewed By: ir413 Differential Revision: D9360044 fbshipit-source-id: c44c392d065a2cb53db3bbd1d0f83b8ecd80a430
-
- 08 Aug, 2018 1 commit
-
-
daquexian authored
Summary: Based on orionr's work - [x] Solve [the problem about GenerateProposals](https://github.com/facebookresearch/Detectron/pull/334#issuecomment-378764468) - [x] Use the existing [ResizeNearest](https://github.com/caffe2/caffe2/blob/master/caffe2/operators/resize_op.cc#L57) layer instead of UpsampleNearest. ResizeNearest has cpu implementation and neon optimization - [x] Make it work (with https://github.com/pytorch/pytorch/pull/7091) With this PR, FPN is supported in cooperation with https://github.com/pytorch/pytorch/pull/7091. I have verified that it works on `e2e_faster_rcnn_R-50-FPN_1x.yaml` Pull Request resolved: https://github.com/facebookresearch/Detectron/pull/372 Reviewed By: newstzpz Differential Revision: D9213242 Pulled By: rbgirshick fbshipit-source-id: 8fc7b77e6cbf08adaafd760505dd760df59bfd79
-
- 03 Aug, 2018 1 commit
-
-
Ashwin Bharambe authored
Reviewed By: rbgirshick Differential Revision: D9133758 fbshipit-source-id: a698a637b294b7f2aef4c181cb47505187be3935
-
- 02 Aug, 2018 1 commit
-
-
Ashwin Bharambe authored
Summary: AFAIK, this is what the rest of the codebase does. I don't want to see logger.debug() messages show up during normal runs. Differential Revision: D9071531 fbshipit-source-id: 4ac5ef57ee47bf958e35d723c379f695554f0ef0
-
- 31 Jul, 2018 1 commit
-
-
Yanghan Wang authored
Summary: Fix typo Reviewed By: newstzpz Differential Revision: D9065042 fbshipit-source-id: 6e5bb566813febcb21c0c26afe429e2dc7a3eefc
-
- 27 Jul, 2018 1 commit
-
-
Ross Girshick authored
Reviewed By: ir413 Differential Revision: D9014510 fbshipit-source-id: a1320b1c221546ad795a94dce254e9520a0847fd
-
- 14 Jul, 2018 1 commit
-
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8836361 fbshipit-source-id: f7d8bad14e0d6309ae349616f2b837d7082e2d74
-
- 04 Jul, 2018 1 commit
-
-
Kaiming He authored
Summary: Add TRAIN.COPY_WEIGHTS (default False): When setting True, training will copy TRAIN.WEIGHTS to checkpoint folder and treat it as a candidate checkpoint. This is useful if we want to resume a checkpoint from another job (instead of using ImageNet pre-training). Reviewed By: rbgirshick Differential Revision: D8710711 fbshipit-source-id: 9c011227867c52eaaeb40e3c2679cff1cfccdc66
-
- 03 Jul, 2018 3 commits
-
-
Gioele Ciaparrone authored
Summary: - Added command line argument to infer_simple.py to choose a custom output image format. - Added command line argument to infer_simple.py to choose to output an image even when no object is found in it. Closes https://github.com/facebookresearch/Detectron/pull/400 Reviewed By: ir413 Differential Revision: D8705039 Pulled By: rbgirshick fbshipit-source-id: fbcd707821a58004971a88946a17f005545ecab4
-
Will Kuhn authored
Summary: Closes https://github.com/facebookresearch/Detectron/pull/515 Reviewed By: ir413 Differential Revision: D8704635 Pulled By: rbgirshick fbshipit-source-id: d68d89d31c886d00a66ef7d95909eb7ebc1db9fb
-
Will Kuhn authored
Summary: Closes https://github.com/facebookresearch/Detectron/pull/511 Reviewed By: ir413 Differential Revision: D8704693 Pulled By: rbgirshick fbshipit-source-id: c05064ab69c795f8b3263fc0b35ddb666019cd5f
-
- 28 Jun, 2018 1 commit
-
-
103yiran authored
Summary: Correct the `test_batch_permutation_op.py` and `test_spatial_narrow_as_op.py` link. Closes https://github.com/facebookresearch/Detectron/pull/527 Reviewed By: rbgirshick Differential Revision: D8677148 Pulled By: ir413 fbshipit-source-id: ce8898f48590b57ed964db113035fb4da8418668
-
- 26 Jun, 2018 1 commit
-
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8614301 fbshipit-source-id: 384df17bebd0a0186a0867cf16a7a7dfea5646ae
-
- 22 Jun, 2018 1 commit
-
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8541427 fbshipit-source-id: f681d75ad77ea0c7411e5c6099c6bb0c2497d571
-
- 21 Jun, 2018 1 commit
-
-
Norman Mu authored
Summary: change _DEPCRECATED_KEYS -> _DEPRECATED_KEYS Differential Revision: D8553498 fbshipit-source-id: 1431a9552efce47be3aa40718c954521481950de
-
- 12 Jun, 2018 2 commits
-
-
Kaiming He authored
Summary: Update from-scratch results in GN/README.md, given the freeze_at=0 fix. Reviewed By: ir413 Differential Revision: D8369007 fbshipit-source-id: a7df13364125dac09379c5aed647f4f9a8bbf23b
-
Kaiming He authored
Summary: Move freeze_at to config. Fix GN from-scratch scripts with freeze_at=0. Reviewed By: rbgirshick Differential Revision: D8325882 fbshipit-source-id: 9f362cb269ffd962056dfe8adc888083cff3d9b2
-
- 11 Jun, 2018 1 commit
-
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8332717 fbshipit-source-id: a3070cd83855b5c91a3395d8bbe6c4a70774a1b9
-
- 07 Jun, 2018 1 commit
-
-
Xinlei Chen authored
Summary: Remove code that seems redundant. Reviewed By: rbgirshick Differential Revision: D8200163 fbshipit-source-id: c3096c77a1c6b33eab5dc0ceb9414f3bdbbf71e9
-
- 06 Jun, 2018 1 commit
-
-
Kaiming He authored
Summary: The arg name has been changed by this diff: D7857548 Reviewed By: rbgirshick Differential Revision: D8283673 fbshipit-source-id: 961dc3773ce7b49d67874323a6dfef738538036d
-
- 01 Jun, 2018 1 commit
-
-
shenyunhang authored
Summary: I found that the json annotations for Pascal VOC downloaded from the [URL](https://storage.googleapis.com/coco-dataset/external/PASCAL_VOC.zip) in [detectron/datasets/data/README.md](https://github.com/facebookresearch/Detectron/blob/master/detectron/datasets/data/README.md#pascal-voc-annotations-in-coco-format) are split into three sets: 'train', 'val' and 'test'. Therefor, it's unable to use 'trainval' set directly. For example, the code can't found the 'voc_2007_trainval.json' file when using the following configure: ```python TRAIN: DATASETS: ('voc_2007_trainval',) Closes https://github.com/facebookresearch/Detectron/pull/299 Differential Revision: D8202450 Pulled By: ir413 fbshipit-source-id: 8d8bc8ce406b2d2ed4af57953846d21fa1968018
-
- 26 May, 2018 1 commit
-
-
Kaiming He authored
Summary: Fix a bug of aspect ratio grouping to support training batch size > 2. Reviewed By: rbgirshick Differential Revision: D8157964 fbshipit-source-id: 28eec6246cd6daf83aef30da245fe7bf340fbbc9
-
- 25 May, 2018 1 commit
-
-
Roy authored
Summary: Dilation value `cfg.MRCNN.DILATION` is only used to calculate padding for conv, but not assigned to the dilation argument of conv. Closes https://github.com/facebookresearch/Detectron/pull/388 Reviewed By: rbgirshick Differential Revision: D8160945 Pulled By: ir413 fbshipit-source-id: dca6a5cf7659f29a5d1d91e860c9dfff4963e7c3
-
- 24 May, 2018 5 commits
-
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8117250 fbshipit-source-id: 1cd6e033c3ed3057afeeb92ed86a20d807549b5a
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8117130 fbshipit-source-id: e75dd34c9748a17432fffe792f7a0871e09e2797
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8116895 fbshipit-source-id: 6d8b5be01189db16ec92c8b5b0010db810777170
-
Ilija Radosavovic authored
Reviewed By: rbgirshick Differential Revision: D8113057 fbshipit-source-id: 36ea85bb0e0f2a9f253c96cca5fd7f148b6746ab
-
Ross Girshick authored
Reviewed By: ir413 Differential Revision: D8083267 fbshipit-source-id: 96c17d79d117bf434a5b879a8bca4c88ea6b68e2
-
- 14 May, 2018 1 commit
-
-
shenyunhang authored
Summary: We fix some typos: lib -> detectron . Closes https://github.com/facebookresearch/Detectron/pull/429 Reviewed By: rbgirshick Differential Revision: D7988278 Pulled By: ir413 fbshipit-source-id: 5e673b51a831f95aa7d7ea2ce51c5c41a1715825
-
- 09 May, 2018 1 commit
-
-
Jing Huang authored
Summary: For RoIFeatureTransform Methods with ArgMax (RoIPoolF/RoIPoolLateQuantization), the current pipeline will report ``` TypeError: I/O blob #0 of unsupported type: (BlobReference("gpu_0/roi_features"), BlobReference("gpu_0/_argmax_roi_features")) of type <type 'tuple'> ``` as in the example training: https://our.intern.facebook.com/intern/fblearner/details/51149202/ Reviewed By: viswanathgs Differential Revision: D7907518 fbshipit-source-id: 38caa51c955f5a577d11c04688b9061cb6dd3c22
-