- 28 Feb, 2020 1 commit
-
-
Joseph Spisak authored
-
- 27 Feb, 2020 1 commit
-
-
Eldar Kurtic authored
-
- 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
-
- 24 Feb, 2020 4 commits
- 14 Feb, 2020 4 commits
-
-
junji hashimoto authored
* Add vision.cpp in libtorchvision.so * Define CMAKE_INSTALL_LIBDIR like https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html * Delete null-check of CMAKE_INSTALL_LIBDIR
-
bmanga authored
-
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>
-
Eli Uriegas authored
* ci: Add verbosity to pytest results, store in ci Makes the pytest runs for building conda packages more verbose and stores the results for viewing inside of CircleCI Signed-off-by:
Eli Uriegas <eliuriegas@fb.com> * test: Skip inception v3 in test_quantized_models Was causing timeouts on circleci due to long run time, re-enable when tests can be brought to a reasonable time again. Signed-off-by:
Eli Uriegas <eliuriegas@fb.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 4 commits
-
-
Francisco Massa authored
-
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
-
bmanga 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
-
- 03 Feb, 2020 1 commit
-
-
bmanga authored
-
- 30 Jan, 2020 1 commit
-
-
os-gabe authored
-
- 29 Jan, 2020 6 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 * Fix indentation
-
bmanga authored
* Add cmake config file generation for torchvision (Torch::Vision) * Update README * Update cmake config to export TorchVision::Vision target, adding dependencies * Update readme * Fix path issues and rename target to TorchVision::TorchVision
-
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
-
Eli Uriegas authored
Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
- 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 8 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>
-
Edgar Riba authored
-
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>
-
peterjc123 authored
-
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 3 commits
-
-
Philip Meier authored
-
Danny Vilela authored
* Update README to reflect strict dependency on torch==1.4.0 * 1.4 or newer.
-
Ebey Abraham authored
-