1. 14 Apr, 2020 4 commits
  2. 10 Apr, 2020 2 commits
  3. 09 Apr, 2020 2 commits
  4. 08 Apr, 2020 2 commits
  5. 07 Apr, 2020 5 commits
  6. 06 Apr, 2020 3 commits
  7. 03 Apr, 2020 5 commits
    • Brian Hart's avatar
      improve stability of test_nms_cuda (#2044) · e61538cb
      Brian Hart authored
      * improve stability of test_nms_cuda
      
      This change addresses two issues:
      
      _create_tensors_with_iou() creates test data for the NMS tests. It
      takes care to ensure at least one pair of boxes (1st and last) have
      IoU around the threshold for the test. However, the constructed
      IoU for that pair is _so_ close to the threshold that rounding
      differences (presumably) between CPU and CUDA implementations may
      result in one suppressing a box in the pair and the other not.
      Adjust the construction to ensure the IoU for the box pair is
      near the threshold, but far-enough above that both implementations
      should agree.
      
      Where 2 boxes have nearly or exactly the same score, the CPU and
      CUDA implementations may order them differently. Adjust
      test_nms_cuda() to check only that the non-suppressed box lists
      include the same members, without regard for ordering.
      
      * adjust assertion in test_nms_cuda
      
      The CPU and CUDA nms implementations each sort the box scores
      as part of their work, but the sorts they use are not stable. So
      boxes with the same score maybe be processed in opposite order
      by the two implmentations.
      
      Relax the assertion in test_nms_cuda (following the model in
      pytorch's test_topk()) to allow the test to pass if the output
      differences are caused by similarly-scored boxes.
      
      * improve stability of test_nms_cuda
      
      Adjust _create_tensors_with_iou() to ensure we create at least
      one box just over threshold that should be suppressed.
      e61538cb
    • Francisco Massa's avatar
      Fix C++ lint (#2059) · 9ed2fa3c
      Francisco Massa authored
      9ed2fa3c
    • gslotman's avatar
      Fix some deprecated warnings (#2055) · 3c2c0022
      gslotman authored
      3c2c0022
    • Francisco Massa's avatar
      Add clang-format to CircleCI (#2057) · d0b32a11
      Francisco Massa authored
      * Add clang-format to CircleCI
      
      * Fix for clang-format version
      
      * Fix lint and remove Travis CI
      
      * Seeing if lost commit comes back
      
      * Fix lint
      
      * Re-enable all tests
      d0b32a11
    • Francisco Massa's avatar
      Add CircleCI job for python lint (#2056) · 0777b51e
      Francisco Massa authored
      * Add CircleCI job for python lint
      
      * Break lint
      
      * Fix
      
      * Fix lint
      
      * Re-enable all tests and remove travis python lint
      0777b51e
  8. 02 Apr, 2020 5 commits
  9. 01 Apr, 2020 4 commits
  10. 31 Mar, 2020 5 commits
    • Negin Raoof's avatar
      ONNX export for variable input sizes (#1840) · 986d2423
      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: default avatarFrancisco Massa <fvsmassa@gmail.com>
      986d2423
    • Philip Meier's avatar
      Document origin of preprocessing mean / std (#1965) · 504d20c6
      Philip Meier authored
      * guess documentation location
      
      * document mean/std origins
      
      * fix artifact
      
      * update for clarity
      
      * fix typo
      504d20c6
    • Philip Meier's avatar
      Remove python2 compability code (#2033) · 24f16a33
      Philip Meier authored
      * remove sys.version_info == 2
      
      * remove sys.version_info < 3
      
      * remove from __future__ imports
      24f16a33
    • Philip Meier's avatar
      Remove six dependency (#2017) · 42b8d462
      Philip Meier authored
      * remove six from python code
      
      * remove six from setup.py
      
      * remove six from tests
      
      * remove six from references
      
      * remove six from packaging
      
      * revert str to torch._six._string_classes
      
      * revert str to torch._six._string_classes
      42b8d462
    • Brian Johnson's avatar
      Update sphinx theme (#2031) · e1bd43cb
      Brian Johnson authored
      * Update requirements.txt
      
      * Update conf.py
      
      * Update conf.py
      e1bd43cb
  11. 30 Mar, 2020 3 commits