- 27 Apr, 2020 1 commit
-
-
Philip Meier authored
* only display extensions if available * add tests * fix lint
-
- 16 Apr, 2020 1 commit
-
-
dwSun authored
-
- 01 Apr, 2020 1 commit
-
-
Philip Meier authored
-
- 31 Mar, 2020 2 commits
-
-
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
-
- 30 Mar, 2020 1 commit
-
-
Fernando Pérez-García authored
* Improve code readability and docstring * Remove unused argument * Improve make_dataset() readability
-
- 17 Mar, 2020 2 commits
-
-
Tee Jung authored
-
Francisco Massa authored
* Base decoder for video. (#1747) 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 * Integrated base decoder into VideoReader class and video_utils.py (#1766) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1766 Replaced FfmpegDecoder (incompativle with VUE) by base decoder (compatible with VUE). Modified python utilities video_utils.py for internal simplification. Public interface got preserved. Reviewed By: fmassa Differential Revision: D19415903 fbshipit-source-id: 4d7a0158bd77bac0a18732fe4183fdd9a57f6402 * Optimizating base decoder performance. (#1852) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1852 Changed base decoder internals for a faster clip processing. Reviewed By: stephenyan1231 Differential Revision: D19748379 fbshipit-source-id: 58a435f0a0b25545e7bd1a3edb0b1d558176a806 * Minor fix and decoder class members access. Summary: Found and fix a bug in cropping algorithm (simple mistyping). Also derived classes need access to some decoder class members, like initialization parameters - make it protected. Reviewed By: stephenyan1231, fmassa Differential Revision: D19895076 fbshipit-source-id: 691336c8e18526b085ae5792ac3546bc387a6db9 * Added missing header for less dependencies. (#1898) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1898 Include streams/samplers shouldn't depend on decoder headers. Add dependencies directly to the place where they are required. Reviewed By: stephenyan1231 Differential Revision: D19911404 fbshipit-source-id: ef322a053708405c02cee4562b456b1602fb12fc * Implemented VUE Asynchronous Decoder Summary: For Mothership we have found that asynchronous decoder provides a better performance. Differential Revision: D20026194 fbshipit-source-id: 627b91844b4e3f917002031dd32cb19c239f4ba8 * fix a bug in API read_video_from_memory (#1942) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1942 In D18720474, it introduces a bug in `read_video_from_memory` API. Thank weiyaowang for reporting it. Reviewed By: weiyaowang Differential Revision: D20270179 fbshipit-source-id: 66348c99a5ad1f9129b90e934524ddfaad59de03 * extend decoder to support new video_max_dimension argument (#1924) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1924 Extend `video reader` decoder python API in Torchvision to support a new argument `video_max_dimension`. This enables the new video decoding use cases. When setting `video_width=0`, `video_height=0`, `video_min_dimension != 0`, and `video_max_dimension != 0`, we can rescale the video clips so that its spatial resolution (height, width) becomes - (video_min_dimension, video_max_dimension) if original height < original width - (video_max_dimension, video_min_dimension) if original height >= original width This is useful at video model testing stage, where we perform fully convolution evaluation and take entire video frames without cropping as input. Previously, for instance we can only set `video_width=0`, `video_height=0`, `video_min_dimension = 128`, which will preserve aspect ratio. In production dataset, there are a small number of videos where aspect ratio is either extremely large or small, and when the shorter edge is rescaled to 128, the longer edge is still large. This will easily cause GPU memory OOM when we sample multiple video clips, and put them in a single minibatch. Now, we can set (for instance) `video_width=0`, `video_height=0`, `video_min_dimension = 128` and `video_max_dimension = 171` so that the rescale resolution is either (128, 171) or (171, 128) depending on whether original height is larger than original width. Thus, we are less likely to have gpu OOM because the spatial size of video clips is determined. Reviewed By: putivsky Differential Revision: D20182529 fbshipit-source-id: f9c40afb7590e7c45e6908946597141efa35f57c * Fixing samplers initialization (#1967) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1967 No-ops for torchvision diff, which fixes samplers. Differential Revision: D20397218 fbshipit-source-id: 6dc4d04364f305fbda7ca4f67a25ceecd73d0f20 * Exclude C++ test files Co-authored-by:
Yuri Putivsky <yuri@fb.com> Co-authored-by:
Zhicheng Yan <zyan3@fb.com>
-
- 16 Mar, 2020 1 commit
-
-
NVS Abhilash authored
-
- 12 Mar, 2020 1 commit
-
-
NVS Abhilash authored
-
- 04 Mar, 2020 1 commit
-
-
Tongzhou Wang authored
-
- 10 Feb, 2020 1 commit
-
-
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.
-
- 29 Jan, 2020 1 commit
-
-
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
-
- 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 1 commit
-
-
Tongzhou Wang authored
-
- 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
-
- 16 Dec, 2019 1 commit
-
-
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
-
- 10 Dec, 2019 2 commits
-
-
James Thewlis authored
-
Surgan Jandial authored
* tgz updates * tgz updates * tgz updates
-
- 05 Dec, 2019 1 commit
-
-
Francisco Massa authored
-
- 04 Dec, 2019 1 commit
-
-
Gerald Baier authored
The current link to the dataset is dead. The change links to the dataset's author's personal page, which describe the dataset and is also referenced at https://github.com/fyu/lsun.
-
- 18 Nov, 2019 1 commit
-
-
Tongzhou Wang authored
-
- 13 Nov, 2019 1 commit
-
-
Rahul Somani authored
-
- 07 Nov, 2019 1 commit
-
-
Henry Xia authored
-
- 31 Oct, 2019 1 commit
-
-
Rahul Somani authored
-
- 29 Oct, 2019 1 commit
-
-
Francisco Massa authored
* Unify video metadata in VideoClips * Bugfix * Make tests a bit more robust
-
- 24 Oct, 2019 1 commit
-
-
Max Lübbering authored
* Removed unnecessary class variables. * The integrity of dataset files is now being checked right after the download finished. Thus making sure that a corrupt file is not being extracted. In case of corruption we throw a RuntimeError. * Added missing md5 hashes to MNIST, FashionMNIST, KMNIST, EMNIST and QMNIST datasets. * Removed printing of error message when integrity check failed. Reformulated error message. * Reformatted code to be lint conform. * Fixed formatting in utils.py
-
- 22 Oct, 2019 1 commit
-
-
Zhicheng Yan authored
* extend DistributedSampler to support group_size * Fix lint
-
- 21 Oct, 2019 1 commit
-
-
Philip Meier authored
* remove download process * address comments * fix logic error * bug fixes * removed unused import * add docstrings * flake8 * remove download BC * fix test * removed unused code * flake 8 * add MD5 verification before extraction * add mock to test * * unify _verify_archive() method and function * remove force flag for parse_*_archive functions * cleanup * flake8
-
- 08 Oct, 2019 1 commit
-
-
Zhicheng Yan authored
-
- 07 Oct, 2019 3 commits
-
-
Adam J. Stewart authored
* Fix DeprecationWarning for collections.Iterable import * Simplify version comparison
-
Jaesun Park authored
* Fix hmdb51.py typo * Fix ucf101.py typo
-
Zhicheng Yan authored
-
- 04 Oct, 2019 1 commit
-
-
Zhicheng Yan authored
* move sampler into TV core. Update UniformClipSampler * Fix reference training script * Skip test if pyav not available * change interpolation from round() to floor() as round(0.5) behaves differently between py2 and py3
-
- 03 Oct, 2019 1 commit
-
-
Zhicheng Yan authored
* add metadata to video dataset classes. bug fix. more robustness * query video backend within VideoClips class * Fix tests * Fix lint
-
- 26 Sep, 2019 1 commit
-
-
Francisco Massa authored
* Fix nightly builds * Fix lint * Disable video_reader tests on Travis * Disable one more test that segfaults on Travis * Fix typo in expression
-
- 24 Sep, 2019 3 commits
-
-
ekosman authored
* Expose num_workers in VideoClips * add documentation for num_workers in VideoClips * add documentation for num_workers in VideoClips * add documentation for num_workers in VideoClips
-
Zhicheng Yan authored
* add _backend argument to __init__() of class VideoClips * minor fix * minor fix * Make backend private in VideoClips * Fix lint
-
Ardalan authored
* add tar.xz archive handler * update unittest for tar.xz archive * remove .tar.xz unittest * add separate .tar.xz unittest * update PY2 compatibility
-
- 23 Sep, 2019 1 commit
-
-
ekosman authored
-