- 02 Aug, 2022 1 commit
-
-
Aditya Oke authored
* Fix bug in calculating cIoU for unequal sizes * Remove comment * what the epsilon? * Fixing DIoU * Optimization by Francisco. * Fix the expected values on CompleteBoxIoU * Apply suggestions from code review Co-authored-by:
Abhijit Deo <72816663+abhi-glitchhg@users.noreply.github.com> * Adding cartesian product test. * remove static Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Abhijit Deo <72816663+abhi-glitchhg@users.noreply.github.com>
-
- 22 Jul, 2022 1 commit
-
-
Philip Meier authored
* upgrade usort to * Also update black * Actually use 1.0.2 * Apply pre-commit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 18 May, 2022 1 commit
-
-
Aditya Oke authored
* Cleanup ops * Address nits Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 09 May, 2022 1 commit
-
-
Yassine Alouini authored
* [FEAT] Add distance IoU and distance IoU loss + some tests (WIP for tests). * [FIX] Remove URL from docstring + remove assert since it causes a big performance drop. * [FIX] eps isn't None. * [TEST] Update existing box dIoU test + add dIoU loss tests (inspired from cIoU ones). * [ENH] Some pre-commit fixes + remove print + mypy. * [ENH] Pass the device in the assertion for the dIoU loss test. * [FIX] Remove type hints from the dIoU box test. * [ENH] Refactor box and loss for dIoU functions + fix half tests. * [FIX] Precommits fix. * [ENH] Some improvement for the distance IoU tests thanks to code review. * [ENH] Upcast in distance boxes computation to avoid overflow. * [ENH] Revert the refactor of distance IoU loss back since it introduced a bug and can be slow. * Precommit fix. * [FIX] Few changes introduced by merge conflict. * Add code reference * Fix test Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 28 Apr, 2022 1 commit
-
-
Abhijit Deo authored
* added ciou loss * "formatting with flake8 and ufmt" * formatting with ufmt and flake8 * minor changes * changes as per the suggestions * added reference in torchvision/ops/__init__.py * sample test * tests formatted * added description * formatting * edited tests * changes in tests * added tests for multiple boxes * minor edits * minor edit * doc added * minor edits * Update test_ops.py * formatting test file * changes as per the suggestions * formatting and adding some more tests * bounding box added * removed unnecessary comment * added docstring * added type annotations * removed potential bug * Update torchvision/ops/boxes.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/ops/boxes.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update test/test_ops.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 28 Mar, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 15 Mar, 2022 1 commit
-
-
Joao Gomes authored
* replace most asserts with exceptions * fix formating issues * fix linting and remove more asserts * fix regresion * fix regresion * fix bug * apply ufmt * apply ufmt * fix tests * fix format * fix None check * fix detection models tests * non scriptable any * add more checks for None values * fix retinanet test * fix retinanet test * Update references/classification/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/classification/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * make value checks more pythonic: * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * make value checks more pythonic * make more checks pythonic * fix bug * appy ufmt * fix tracing issues * fib typos * fix lint * remove unecessary f-strings * fix bug * Update torchvision/datasets/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/datasets/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/ops/boxes.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/ops/poolers.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/utils.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * address PR comments * Update torchvision/io/_video_opt.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/detection/generalized_rcnn.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/feature_extraction.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/optical_flow/raft.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * address PR comments * addressing further pr comments * fix bug * remove unecessary else * apply ufmt * last pr comment * replace RuntimeErrors Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 16 Dec, 2021 1 commit
-
-
Kai Zhang authored
* log API v3 * make torchscript happy * make torchscript happy * add missing logs to constructor * log ops C++ API as well * fix type hint * check function with isinstance Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 09 Dec, 2021 1 commit
-
-
Kai Zhang authored
* revamp log api usage method
-
- 01 Dec, 2021 1 commit
-
-
Yuxin Wu authored
According to the benchmark link https://github.com/pytorch/vision/issues/1311#issuecomment-781329339 , for GPU the threshold should be higher (which is why detectron2 used 40k). This PR changes the threshold to be device dependent. Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 29 Oct, 2021 1 commit
-
-
Francisco Massa authored
* Add logging to torchvision ops * Hack to make torchscript work * Bugfix * Bugfix * Lint * mypy... let's silence it * Fighting with mymy * One more try
-
- 20 Oct, 2021 1 commit
-
-
Prabhat Roy authored
* Fixed unused variables in ops * Fixed test failure
-
- 04 Oct, 2021 1 commit
-
-
Philip Meier authored
* add ufmt as code formatter * cleanup * quote ufmt requirement * split imports into more groups * regenerate circleci config * fix CI * clarify local testing utils section * use ufmt pre-commit hook * split relative imports into local category * Revert "split relative imports into local category" This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51. * pin black and usort dependencies * fix local test utils detection * fix ufmt rev * add reference utils to local category * fix usort config * remove custom categories sorting * Run pre-commit without fixing flake8 * got a double import in merge Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 24 Sep, 2021 1 commit
-
-
Aditya Oke authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 21 Sep, 2021 1 commit
-
-
Allen Goodman authored
* ops.masks_to_bounding_boxes * test fixtures * unit test * ignore lint e201 and e202 for in-lined matrix * ignore e121 and e241 linting rules for in-lined matrix * draft gallery example text * removed type annotations from pytest fixtures * inlined fixture * renamed masks_to_bounding_boxes to masks_to_boxes * reformat inline array * import cleanup * moved masks_to_boxes into boxes module * docstring cleanup * updated docstring * fix formatting issue * gallery example * use torch * use torch * use torch * use torch * updated docs and test * cleanup * updated import * use torch * Update gallery/plot_repurposing_annotations.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Update gallery/plot_repurposing_annotations.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Update gallery/plot_repurposing_annotations.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Autodoc * use torch instead of numpy in tests * fix build_docs failure * Closing quotes. Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com>
-
- 07 Apr, 2021 2 commits
-
-
Nicolas Hug authored
* some doc improvements * flake8 Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Aditya Oke authored
-
- 08 Mar, 2021 1 commit
-
-
Nicolas Hug authored
* new batched_nms implem * flake8 * hopefully fix torchscipt tests * Use where instead of nonzero * Use same threshold (4k) for CPU and GPU * Remove use of argsort * use views again * remove print * trying stuff, I don't know what's going on * previous passed onnx checks so the error isn't in _vanilla func. Trying to return vanilla now * add tracing decorators * cleanup * wip * ignore new path with ONNX * use vanilla if tracing...???? * Remove script_if_tracing decorator as it was conflicting with _is_tracing * flake8 * Improve coverage Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Feb, 2021 1 commit
-
-
Nicolas Hug authored
* Specify coordinate constraints * some more * flake8
-
- 15 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Replace type T with accumulator. * Upcast tensors of box ops to avoid overflow in multiplications.
-
- 11 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 22 Jan, 2021 1 commit
-
-
Nicolas Hug authored
-
- 22 Dec, 2020 1 commit
-
-
Samuel Marks authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 15 Dec, 2020 1 commit
-
-
Zhiqiang Wang authored
* Replacing all torch.jit.annotations with typing * Replacing remaining typing
-
- 09 Oct, 2020 1 commit
-
-
Francisco Massa authored
* Add compatibility checks for C++ extensions * Fix lint
-
- 07 Oct, 2020 1 commit
-
-
Aditya Oke authored
* fixies small bug in box_convert * activates jit test * Passes JIT test * fixes typo * adds error tests, removes assert * implements to proposal2
-
- 01 Oct, 2020 1 commit
-
-
Aditya Oke authored
* adds boxes conversion * adds documentation * adds xywh tests * fixes small typo * adds tests * Remove sphinx theme * corrects assertions * cleans code as per suggestion Signed-off-by:
Aditya Oke <okeaditya315@gmail.com> * reverts assertion * fixes to assertEqual * fixes inplace operations * Adds docstrings * added documentation * changes tests * moves code to box_convert * adds more tests * Apply suggestions from code review Let's leave those changes to a separate PR * fixes documentation Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 24 Sep, 2020 2 commits
-
-
Aditya Oke authored
* tries adding genaralized_iou * fixes linting * Adds docs for giou, iou and box area * fixes lint * removes docs to fixup in other PR * linter fix * Cleans comments * Adds tests for box area, iou and giou * typo fix for testCase * fixes typo * fixes box area test * fixes implementation * updates tests to tolerance
-
Francisco Massa authored
Replace nonzero by where, now that it works with just a condition
-
- 06 Jul, 2020 1 commit
-
-
Vukašin Manojlović authored
* Add type annotations for torchvision.ops * Fix type annotations for torchvision.ops * Fix typo in import * Fix undefined name in FeaturePyramidNetwork
-
- 26 Jun, 2020 1 commit
-
-
eellison authored
* Try remove eager scripting calls * remove script call Co-authored-by:
eellison <eellison@fb.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 07 May, 2020 2 commits
-
-
Francisco Massa authored
* Fix mypy type annotations * follow torchscript Tuple type * redefine torch_choice output type * change the type in cached_grid_anchors * minor bug Co-authored-by:
Guanheng Zhang <zhangguanheng@devfair0197.h2.fair> Co-authored-by:
Guanheng Zhang <zhangguanheng@learnfair0341.h2.fair>
-
Negin Raoof authored
* Fixing nms on boxes when no detection * test * Fix for scale_factor computation * remove newline * Fix for mask_rcnn dynanmic axes * Clean up * Update transform.py * Fix for torchscript * Fix scripting errors * Fix annotation * Fix lint * Fix annotation * Fix for interpolate scripting * Fix for scripting * refactoring * refactor the code * Fix annotation * Fixed annotations * Added test for resize * lint * format * bump ORT * ort-nightly version * Going to ort 1.1.0 * remove version * install typing-extension * Export model for images with no detection * Upgrade ort nightly * update ORT * Update test_onnx.py * updated tests * Updated tests * merge * Update transforms.py * Update cityscapes.py * Update celeba.py * Update caltech.py * Update pkg_helpers.bash * Clean up * Clean up for dynamic split * Remove extra casts * flake8
-
- 05 May, 2020 1 commit
-
-
Francisco Massa authored
-
- 04 May, 2020 1 commit
-
-
Fahri Ali Rahman authored
* Improve documentation for NMS * update nms doc for special case
-
- 31 Mar, 2020 2 commits
-
-
Negin Raoof authored
* fixes and tests for variable input size * transform test fix * Fix comment * Dynamic shape for keypoint_rcnn * Update test_onnx.py * Update rpn.py * Fix for split on RPN * Fixes for feedbacks * flake8 * topk fix * Fix build * branch on tracing * fix for scalar tensor * Fixes for script type annotations * Update rpn.py * clean up * clean up * Update rpn.py * Updated for feedback * Fix for comments * revert to use tensor * Added test for box clip * Fixes for feedback * Fix for feedback * ORT version revert * Update ort * Update .travis.yml * Update test_onnx.py * Update test_onnx.py * Tensor sizes * Fix for dynamic split * Try disable tests * pytest verbose * revert one test * enable tests * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update test_onnx.py * Update .travis.yml * Passing device * Fixes for test * Fix for boxes datatype * clean up Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* remove sys.version_info == 2 * remove sys.version_info < 3 * remove from __future__ imports
-
- 26 Nov, 2019 1 commit
-
-
Francisco Massa authored
-
- 25 Nov, 2019 1 commit
-
-
eellison authored
* almost working... * respond to comments * add empty tensor op, handle different output types in generalized rcnn * clean ups * address comments * more changes * it's working! * torchscript bugs * add script/ eager test * eval script model * fix flake * division import * py2 compat * update test, fix arange bug * import division statement * fix linter * fixes * changes needed for JIT master * cleanups * remove imagelist_to * requested changes * Make FPN backwards-compatible and torchscript compatible We remove support for feature channels=0, but support for it was already a bit limited * Fix ONNX regression
-
- 18 Sep, 2019 1 commit
-
-
Francisco Massa authored
* Remove C++ extensions in favor of custom ops * Remove unused custom_ops.cpp file * Rename _custom_ops.py * Reorganize functions * Minor improvements and fixes * Fix lint * Fully scriptable ops * Import types used by annotations
-