- 14 Apr, 2020 3 commits
-
-
Philip Meier authored
-
theotheo authored
-
peterjc123 authored
-
- 10 Apr, 2020 2 commits
- 09 Apr, 2020 2 commits
-
-
Francisco Massa authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/2077 Pull Request resolved: https://github.com/facebookresearch/SlowFast/pull/164 This is a follow-up diff from D18720474 We will be releasing a new version of torchvision soon and the signature of those functions is not ready yet, following my comment in https://our.intern.facebook.com/intern/diff/D18720474/?transaction_id=561239541337402 Reviewed By: stephenyan1231 Differential Revision: D20914571 fbshipit-source-id: 1a7560b8f8e46ab42ef376c50b494a4f73923e94 Co-authored-by:
Francisco Massa <fmassa@fb.com>
-
Luan Pham authored
-
- 08 Apr, 2020 2 commits
-
-
Eli Uriegas authored
These are a bit difficult to debug when you can't see the commands that are running. So just output every command that's running to stdout using `set -x` Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
peterjc123 authored
-
- 07 Apr, 2020 5 commits
-
-
Brian Hart authored
Torchvision includes at least 3 bits of code that calculate box Intersection over Union values (and usually compare to a threshold): - box_iou in torchvision/ops/boxes.py - devIoU in torchvision/csrc/cuda/nms_cuda.cu - nms_cpu_kernel in torchvision/csrc/cpu/nms_cpu.cpp The calculations were performed slightly differently between those, leading to occasional differences in results. Update devIoU to use the same method as the others for better consistency. This change improves agreement between the CPU and CUDA calculations but the results can still differ slightly. Setting NVCC_FLAGS to include "--fmad=true" would provide still better agreement, but with likely cost to performance.
-
Philip Meier authored
-
peterjc123 authored
-
Francisco Massa authored
* Add tests for negative samples for Mask R-CNN and Keypoint R-CNN * Fix lint
-
AhnDW authored
* Replace **.is_cuda() to just is_cuda() * Replace type to scalar_type * Fix lint, clang-format * Fix lint, clang-format
-
- 06 Apr, 2020 3 commits
-
-
Yonghye Kwon authored
cleanup
-
peterjc123 authored
* Try building Windows nightlies on CircleCI * Update config.yml * Merge jobs * Use cmd * Debug * Fix PATH * Enable build matrix * Try integrate with regenerate.py * Fix upload path for Windows wheels * Bring fewer tests to CI * Run other tests only on master * Refactor code * Use nightly branch * Fix lint
-
Philip Meier authored
* type annotations for torchvision/utils.py * add missing annotation for make_grid * fix annotation for save_image * mirror PIL annotation for fp
-
- 03 Apr, 2020 5 commits
-
-
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.
-
Francisco Massa authored
-
gslotman authored
-
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
-
Francisco Massa authored
* Add CircleCI job for python lint * Break lint * Fix * Fix lint * Re-enable all tests and remove travis python lint
-
- 02 Apr, 2020 5 commits
-
-
Francisco Massa authored
Summary: Fix docstring formatting issues Reviewed By: fmassa Differential Revision: D20736644 fbshipit-source-id: 78f66045cfd4c84cb35ca84a1e1fa6aadcd50642 Co-authored-by:Patrick Labatut <plabatut@fb.com>
-
Francisco Massa authored
* Add test for large batches in DeformConv2d * Clean-up and (try) fix DeformConv2d * Simplifications and bugfixes * Try fix CUDA now
-
Eli Uriegas authored
CUDA 10.2 is compatible with Nvidia drivers >= 440 We should also be testing against the latest version of python wherever possible. Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
Francisco Massa authored
* Re-enable one torchvision CUDA CI for tests * Try with CUDA 9.2
-
peterjc123 authored
-
- 01 Apr, 2020 4 commits
-
-
Francisco Massa authored
-
Philip Meier authored
-
Andrew Murray authored
Co-authored-by:Andrew Murray <radarhere@users.noreply.github.com>
-
peterjc123 authored
-
- 31 Mar, 2020 5 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
* guess documentation location * document mean/std origins * fix artifact * update for clarity * fix typo
-
Philip Meier authored
* remove sys.version_info == 2 * remove sys.version_info < 3 * remove from __future__ imports
-
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
-
Brian Johnson authored
* Update requirements.txt * Update conf.py * Update conf.py
-
- 30 Mar, 2020 4 commits
-
-
Yuwen Xiong authored
* fix shape error for deform conv gpu op recover shape of columns for next iteration in for loops, previous version will cause error when batch_sz / n_parallel_imgs > 1 * fix shape error for deform conv cpu op recover shape of columns for next iteration in for loops, previous version will cause error when batch_sz / n_parallel_imgs > 1
-
PatrickBue authored
-
Mikhail Lobanov authored
-
theonekeyg authored
-