- 25 Feb, 2020 3 commits
-
-
Phoenix Meadowlark authored
* Improved error messages for transforms.functional.normalize(). Split the original TypeError into 1. a TypeError if `tensor` is not a torch.Tensor and 2. a ValueError if `tensor` does not have the correct dimensionality. Added more detail to the error for when `tensor` has the wrong dimension to make it easier to diagnose. This is useful when this function isn't called directly by the user (e.g. when the user uses transforms.Normalize and can't directly see this functions doc string). Deleted hanging function `_is_tensor_image()`. It isn't used in this file and isn't used internally anywhere else in torchvision that I can see. (Some users will have used it despite the underscore prefix, but a quick google search for "F._is_tensor_image" suggests this is rare). * Value checking to prevent division by zero runtime crashes. Added a ValueError to check for and avoid division by zero in `div_`. Not preventing the call leads to runtime crashes, at least in some environments. * Fixed div by zero check for non-scalar inputs.
-
Francisco Massa authored
-
Lutz Roeder authored
-
- 14 Feb, 2020 1 commit
-
-
Robylyon93 authored
* docs for faster+mask rcnn coords is clearer * keypoint rcnn coords format is clearer Co-authored-by:rvirgolireply <51229032+rvirgolireply@users.noreply.github.com>
-
- 13 Feb, 2020 2 commits
-
-
Robylyon93 authored
Co-authored-by:rvirgolireply <51229032+rvirgolireply@users.noreply.github.com>
-
talcs authored
* replaced mean on dimensions 2,3 by adaptive_avg_pooling2d with destination of 1, to remove hardcoded dimension ordering * replaced reshape command by torch.squeeze after global_avg_pool2d, which is cleaner * reshape rather than squeeze for BS=1 * remove import torch
-
- 10 Feb, 2020 2 commits
-
-
Akshay Kulkarni authored
input to parameter mode can be 'fine' or 'coarse'. The code internally converts the mode = 'fine' input to 'gtFine' (same for coarse input and gtCoarse), but the docs mention that input to mode should be 'gtFine' or 'gtCoarse' inconsistently.
-
Bharat Raghunathan authored
-
- 04 Feb, 2020 1 commit
-
-
F-G Fernandez authored
* feat: Added __repr__ attribute to GeneralizedRCNNTransform Added more details to default __repr__ attribute for printing. * fix: Put back relative imports * style: Fixed pep8 compliance Switched strings with syntax to f-strings. * test: Added test for GeneralizedRCNNTransform __repr__ Checked integrity of __repr__ attribute * test: Fixed unittest for __repr__ Fixed the formatted strings in the __repr__ integrity check for GeneralizedRCNNTransform * fix: Fixed f-strings for earlier python versions Switched back f-strings to .format syntax for Python3.5 compatibility. * fix: Fixed multi-line string Fixed multiple-line string syntax for compatibility * fix: Fixed GeneralizedRCNNTransform unittest Fixed formatting of min_size argument of the resizing part
-
- 30 Jan, 2020 1 commit
-
-
os-gabe authored
-
- 29 Jan, 2020 3 commits
-
-
Francisco Massa authored
This reverts commit 28b7f8ae.
-
João Fernandes authored
* Force object annotiation to be an array * Remove unecessary parentheses * Change object check * Remove check for list * Add test coverage to xml parsing * Tidy up whitespace
-
Francisco Massa authored
-
- 28 Jan, 2020 1 commit
-
-
Francisco Massa authored
* torchscriptable functions for video io (#1653) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1653 created new torchscriptable video io functions as part of the api: read_video_meta_data_from_memory and read_video_from_memory. Updated the implementation of some of the internal functions to be torchscriptable. Reviewed By: stephenyan1231 Differential Revision: D18720474 fbshipit-source-id: 4ee646b66afecd2dc338a71fd8f249f25a3263bc * BugFix Co-authored-by:
Jon Guerin <54725679+jguerin-fb@users.noreply.github.com>
-
- 27 Jan, 2020 6 commits
-
-
Francisco Massa authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1747 Pull Request resolved: https://github.com/pytorch/vision/pull/1746 Added the implementation of ffmpeg based decoder with functionality that can be used in VUE and TorchVision. Reviewed By: fmassa Differential Revision: D19358914 fbshipit-source-id: abb672f89bfaca6351dda2354f0d35cf8e47fa0f Co-authored-by:
Yuri Putivsky <yuri@fb.com>
-
Francisco Massa authored
-
Negin Raoof authored
* adding new_empty_tensor symbolic * flake8 * fix for feedback * skipping the ORT test * fix for ORT test
-
Tongzhou Wang authored
-
eellison authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
abdjava authored
I have fixed a typo that was persent in the Normalize class changed line 150 from ``input[channel] = (input[channel] - mean[channel]) / std[channel]`` to ``output[channel] = (input[channel] - mean[channel]) / std[channel]``
-
- 22 Jan, 2020 4 commits
-
-
Philip Meier authored
-
Ebey Abraham authored
-
peterjc123 authored
-
Philip Meier authored
* initial fix * outsourced num bands lookup * fix doc * added pillow version requirement * simplify number of bands extraction * remove unrelated change * remove indirect dependency on pillow>=5.2.0 * extend docstring to transform * bug fix * added test
-
- 17 Jan, 2020 1 commit
-
-
Marco Martinelli authored
* Type of input featmap_names fixed in example. * Added missing imports.
-
- 16 Jan, 2020 1 commit
-
-
Lara Haidar authored
* update doc * update doc
-
- 14 Jan, 2020 1 commit
-
-
Gokkulnath TS authored
* Fixes #1716 Fixes EMNIST classes attribute is wrong #1716 * Fixed the Classes for Letters Split * Update mnist.py * Move classes attribute inside init definition * Fix Linting errors
-
- 13 Jan, 2020 2 commits
-
-
Francisco Massa authored
* Fix AnchorGenerator if moving from one device to another * Fixes for the test
-
Francisco Massa authored
-
- 10 Jan, 2020 1 commit
-
-
Sergey Zagoruyko authored
-
- 03 Jan, 2020 1 commit
-
-
Francisco Massa authored
Previous weights are not compatible with current PyTorch
-
- 02 Jan, 2020 3 commits
-
-
Francisco Massa authored
* Fix lint following #1695 * V2 * V3
-
Yuxin Wu authored
1. Let the IOU function compare with threshold. This avoid a division. Similar strategy is also used in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/non_max_suppression_op.cu.cc 2. Only compute the upper triangle of the mask. This speeds up the kernel about 20% (tested on GTX 1080Ti, with 20 input cases dumped from a Mask R-CNN inference job).
-
Prajjwal Bhargava authored
-
- 19 Dec, 2019 1 commit
-
-
Surgan Jandial authored
* scriptability checks * tests upds * linter upds * linter upds * upds * tuple list changes * linter updates
-
- 17 Dec, 2019 1 commit
-
-
Francisco Massa authored
* Make R-CNN models less verbose in script mode * Fix typo in warning message
-
- 16 Dec, 2019 3 commits
-
-
Francisco Massa authored
-
Oana Florescu authored
* remove windows skips from video_utils tests, now that they pass * replace lambda in videoclips in order to be pickled on windows and update tests
-
Francisco Massa authored
-
- 11 Dec, 2019 1 commit
-
-
TengQi Ye authored
-