- 08 Jul, 2020 2 commits
-
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/431 Reviewed By: alexander-kirillov Differential Revision: D22266546 fbshipit-source-id: c1d585d66edf0eb85e84ba0b39bca338ab892b6b
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/432 Differential Revision: D22416154 Pulled By: ppwwyyxx fbshipit-source-id: ba9d6c3ac76be87abc1762c893c795bcc29ed4d9
-
- 07 Jul, 2020 3 commits
-
-
Yuxin Wu authored
Summary: Both _write_metrics and _detect_anomaly require stream synchronization. Therefore move them into a separate stream and after launching DDP allreduce. Improves 1~2% throughput and the speed is similar to removing both. Reviewed By: rbgirshick Differential Revision: D22381820 fbshipit-source-id: 9628f90725f5daea49f04f7988fea954da236331
-
Yuxin Wu authored
Summary: similar to RPN Reviewed By: rbgirshick Differential Revision: D22367132 fbshipit-source-id: 9d3dfced6943d291ca18c3d46a126d93fc06b796
-
Davi Nakajima An authored
Summary: Created a generic PhotometricTransform for transformations that only affect the color aspect of the image and not the coordinates Reviewed By: ppwwyyxx Differential Revision: D22301246 fbshipit-source-id: 06e713333ac9ff44ac0f0c564ada33c1f9844815
-
- 04 Jul, 2020 1 commit
-
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/430 Differential Revision: D22380308 Pulled By: ppwwyyxx fbshipit-source-id: 517732df1916c4796842a12f61b5142d7b45c25f
-
- 03 Jul, 2020 3 commits
-
-
Yuxin Wu authored
Reviewed By: rbgirshick Differential Revision: D22251484 fbshipit-source-id: 2d2cfb99f40e10b7af4e87a99bea14b3ee98a48c
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/429 In the past we don't have this config option, so we use some heuristics in code. It's better to set it explicitly now that we have an option. Reviewed By: alexander-kirillov, bowenc0221 Differential Revision: D22370318 fbshipit-source-id: 269fdfbf146263ba416424a24da0ad987acd4475
-
Ross Girshick authored
Summary: Adds support for LVIS V1 to D2 (https://github.com/facebookresearch/detectron2/commit/513bf19f0cd93885a4d65f7655f13abfe72309af). Model zoo udpates with v1 baselines will be a separate diff. Reviewed By: ppwwyyxx Differential Revision: D22197019 fbshipit-source-id: 8c7896d301c8b5b72678bcd3ede5a93ed6c68139
-
- 30 Jun, 2020 2 commits
-
-
Marc Szafraniec authored
Summary: Adding rotation to DensePose's TTA Reviewed By: patricklabatut Differential Revision: D20623980 fbshipit-source-id: 006f516a821c705dea6affbe47e2b4aea08abb3c
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/426 Differential Revision: D22281945 Pulled By: ppwwyyxx fbshipit-source-id: cc0ea8dbc5959143e4940b096b22aebc332ed638
-
- 29 Jun, 2020 2 commits
-
-
Yuxin Wu authored
Summary: 1. Add `input_args` declaration in each Augmentation. Default to "image", but it allows an augmentation to take arbitrary inputs. 2. Adding `AugInput` that provides access to these input fields and define how to transform the inputs. This allows chaining a list of augmentation, while still leave most of the actual transform in the hand of the user (i.e. DatasetMapper) Reviewed By: rbgirshick Differential Revision: D22092005 fbshipit-source-id: 0ded1bfbde1581bd52429ba6c2e9579a4423545b
-
Gu Wang authored
Summary: Fix https://github.com/facebookresearch/detectron2/issues/1684 . Allowing inference when annotations are not available for custom datasets. Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1683 Differential Revision: D22275669 Pulled By: ppwwyyxx fbshipit-source-id: bdf3e139e5747a4a084afe33dda3580460add7bd
-
- 28 Jun, 2020 1 commit
-
-
Jon Morton authored
Summary: Add support for using giou loss for rpn proposal regression. Add options for configuring rpn bbox reg loss type and loss weight. Reviewed By: ppwwyyxx Differential Revision: D16974627 fbshipit-source-id: 43e0cba64a1ac403ada69955755de66285c9631c
-
- 27 Jun, 2020 2 commits
-
-
Yuxin Wu authored
Summary: don't export everything Reviewed By: rbgirshick Differential Revision: D22262954 fbshipit-source-id: dbf82221fbc320525645add4febe44d1cd78a74b
-
Zach Carmichael authored
Summary: Workaround for the PIL bug https://github.com/python-pillow/Pillow/issues/3973 - the exif orientation metadata is used to correctly transpose a PIL image when reading an image. The current approach silences any exceptions here, leading to strange behavior, such as issue https://github.com/facebookresearch/detectron2/issues/933. This is indeed a PIL issue, but the fix here performs the same function that is necessary to correctly orient images. The only differences between the committed function `apply_exif_orientation` and the PIL `exif_transpose` is that a copy of the image is not generated if no transpose is needed, and that the exif data is not updated in the transposed image. As `read_image` returns a NumPy ndarray, this information is discarded, anyway. Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1666 Differential Revision: D22238978 Pulled By: ppwwyyxx fbshipit-source-id: 497c97b99fbfcf9857cbdf7516df10da4b42278d
-
- 26 Jun, 2020 1 commit
-
-
Vasil Khalidov authored
Summary: Correct transform data loading to satisfy the following requirements: 1. Train-time data loaders that use the transforms and are executed in separate processes should operate on CPU only; 2. Test-time augmentation should be able to convert the transform tensors to a particular device Reviewed By: patricklabatut Differential Revision: D22066573 fbshipit-source-id: e2b97c362e05d07f734987ba768db4b521f3c897
-
- 25 Jun, 2020 5 commits
-
-
Yuxin Wu authored
Summary: Rename the file and update import paths. Reviewed By: rbgirshick Differential Revision: D22201091 fbshipit-source-id: 10ca2442732b434f6f2eebfc81631df69fc3f08c
-
Vasil Khalidov authored
Summary: Adds an inference-based loader and associated tests. Inference-based loader loader consists of: - an input data loader - a model - a data sampler Inference-based loader takes input data batches from the input data loader, applies the model to each batch and outputs data produced by the data sampler when applied to model outputs. Reviewed By: patricklabatut Differential Revision: D21881798 fbshipit-source-id: 7614ab316cc7acff6141dde65a2c64495ca72da2
-
Vasil Khalidov authored
Summary: Adjust the interface of `VideoKeyframeDataset`: 1. Can be imported from `densepose.data.video`, not from `densepose.data`; 2. `list_keyframes` and `read_keyframes` now both accept path-like object + stream index; 3. Fix a bug with arguments order in `video_list_from_file` Reviewed By: patricklabatut Differential Revision: D22153239 fbshipit-source-id: 37a358dfbe8270368fb16fae79a56f17c8a5d573
-
chenbohua3 authored
Summary: This is a refined version of https://github.com/facebookresearch/detectron2/issues/1483 to make anchor_generator scriptable. Thanks for your work ppwwyyxx :) Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1518 Reviewed By: rbgirshick Differential Revision: D22213759 Pulled By: ppwwyyxx fbshipit-source-id: 5796548e4cd33dedd3d09de0f8ab03ea032bb7c9
-
Yuxin Wu authored
Reviewed By: rbgirshick Differential Revision: D22177876 fbshipit-source-id: 6e9a04dc1738c6056a95a50534093f1e8481f4f9
-
- 24 Jun, 2020 5 commits
-
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/425 Differential Revision: D22204963 Pulled By: ppwwyyxx fbshipit-source-id: 0503b64062fe3d071d85916553a540a53aa7f4c6
-
Yuxin Wu authored
Reviewed By: rbgirshick Differential Revision: D22133128 fbshipit-source-id: 7c5aa18bed253ef61480758b067fe3dd3272e327
-
Nicolas Carion authored
Summary: Add a new behavior in the RandomCrop transform to be able to sample a size in an absolute range (instead of relative as it is now). Original implementation by alexander-kirillov Pull Request resolved: https://github.com/fairinternal/detectron2/pull/424 Reviewed By: rbgirshick Differential Revision: D22198875 Pulled By: alexander-kirillov fbshipit-source-id: ef6a874d39e010e303f99f7b65f0939c9f475278
-
LeafyLi authored
Summary: Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1640 Differential Revision: D22197942 Pulled By: ppwwyyxx fbshipit-source-id: 1432436537453694bd5deb25f7cf8a99db351011
-
Yuxin Wu authored
Reviewed By: rbgirshick Differential Revision: D21847287 fbshipit-source-id: 15071c51edd541db80426f06ba66ce82903470ca
-
- 23 Jun, 2020 3 commits
-
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/423 close https://github.com/facebookresearch/detectron2/issues/1659 and use correct dtype (uint vs int) Differential Revision: D22177488 fbshipit-source-id: 57899d327130bd3938f34200c943323e4d6c8b36
-
Yuxin Wu authored
Summary: **Issue**: when a part of dataset contains no annotations and random cropping is enabled in `config` like the following: ```python INPUT: CROP: ENABLED: True TYPE: "absolute" SIZE: (1080, 1920) ``` an `IndexError` is raised in line: https://github.com/facebookresearch/detectron2/blob/cd4d88eacfc15b79c6150769d3f8c0eb72b182d7/detectron2/data/dataset_mapper.py#L91 since the `dataset_dict["annotations"]` is empty. A small change was made to address this issue. Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1633 Differential Revision: D22164776 Pulled By: ppwwyyxx fbshipit-source-id: db98b70b4440575376139b89e717ecaa0fb0a2f2
-
Steve Branson authored
Summary: Implementation of COCOeval.evaluate() and COCOeval.accumulate() in c++. The c++ evaluate() function is similar speed to Google's implementation, but the c++ accumulate() function is slower (I haven't looked into why, but it's not currently the bottleneck) Not implementing IOUs in c++ is currently the bottleneck of this implementation There is some unknown time overhead of a couple of seconds in calling c++ functions from python (maybe something is being implicitly converted). On the COCO validation set, precision outputs exactly match the PythonAPI (the Google version is off by around 1e-4) On the COCO trainset, computational speedup and precision comparisons are similar Reviewed By: ppwwyyxx Differential Revision: D21406448 fbshipit-source-id: 137500f58c5375be68215a78c8400820d668844b
-
- 21 Jun, 2020 1 commit
-
-
RUPESH authored
Summary: The current method had an import issue for DensePoseResult hence added a line to resolve. This PR is just an addition to the documentation and hence won't cause any conflicts. Thanks for your contribution! If you're sending a large PR (e.g., >50 lines), please open an issue first about the feature / bug, and indicate how you want to contribute. Before submitting a PR, please run `dev/linter.sh` to lint the code. See https://detectron2.readthedocs.io/notes/contributing.html#pull-requests about how we handle PRs. Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1644 Differential Revision: D22152589 Pulled By: ppwwyyxx fbshipit-source-id: 8aad10aec2083733ed2e90815db75c5ecf95890e
-
- 20 Jun, 2020 2 commits
-
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/421 Differential Revision: D22150065 fbshipit-source-id: f796adb02e301f9e091c1a6b5d818f5c747cd1c6
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/422 Differential Revision: D22132768 fbshipit-source-id: 23659d462d6a859b5d3c0b276b7a20cd98269c3f
-
- 19 Jun, 2020 3 commits
-
-
Pakorn Vongseela authored
Summary: Relate: https://github.com/facebookresearch/detectron2/issues/991 Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/1603 Differential Revision: D22118724 Pulled By: ppwwyyxx fbshipit-source-id: c6ad85e8f250345cf2e2abf512323ae1166051ae
-
Yuxin Wu authored
Summary: Because the inputs are already meaningful "annotations" - it logically makes sense to clip them here instead of later. Reviewed By: rbgirshick Differential Revision: D22125857 fbshipit-source-id: beefab1adb74076ae153ffdf39f548c85736e951
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/420 Differential Revision: D22121580 Pulled By: ppwwyyxx fbshipit-source-id: 4cd5e7f3933dbbcbd8d81b87b5480ad2dd3a8445
-
- 18 Jun, 2020 2 commits
-
-
Yuxin Wu authored
Summary: prepare for more code in transform_gen.py Reviewed By: rbgirshick Differential Revision: D22068356 fbshipit-source-id: cb661ee57289515064b0ea71ce185f9f854d3254
-
Yuxin Wu authored
Summary: no need to register for it Reviewed By: rbgirshick Differential Revision: D22015026 fbshipit-source-id: a945aa48dfad90850eef7dd17a9e038f8f195bbb
-
- 17 Jun, 2020 1 commit
-
-
Yuxin Wu authored
Summary: it's updated! Reviewed By: rbgirshick Differential Revision: D22076151 fbshipit-source-id: a2923e3bd247d7208941c8ec49178ab42db5af32
-
- 16 Jun, 2020 1 commit
-
-
Yuxin Wu authored
Summary: Pull Request resolved: https://github.com/fairinternal/detectron2/pull/419 Differential Revision: D22060877 Pulled By: ppwwyyxx fbshipit-source-id: b97c6d35d118743caf2d6cec2f4825989d8e986b
-