- 04 Mar, 2021 1 commit
-
-
Nicolas Hug authored
* WIP, still needs tests and docs * tests * flake8 * Docs + fixed some tests * proper error messages
-
- 03 Mar, 2021 3 commits
-
-
Philip Meier authored
* add custom user agent for download_url * fix progress bar * lint * [test] use repo instead of nightly for download tests
-
KAI ZHAO authored
-
Philip Meier authored
-
- 02 Mar, 2021 2 commits
-
-
Philip Meier authored
* add tests for PhotoTour dataset * fix grayscale image generation * fix test_feature_types for a examples of a single feature * make image size variable instead of hard coding it * make dataset length variable instead of hard coding it * replace numpy with torch * fix typo
-
Philip Meier authored
-
- 01 Mar, 2021 11 commits
-
-
Francisco Massa authored
-
Philip Meier authored
* add tests for FakeData dataset * improve skip reason Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
* add tests for SEMEION dataset * add missing imports Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
* add tests for HMDB51 dataset * lint Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
* add tests for Kinetics400 * use create_random_string() Co-authored-by:
Philip Meier <pmeier.github@posteo.de> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
-
Philip Meier authored
Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 26 Feb, 2021 1 commit
-
-
Nicolas Hug authored
* deprecate _video modules * flake8 Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 25 Feb, 2021 3 commits
-
-
Philip Meier authored
* always use default config as base * fix test_all_configs decorator * lint * add a utility function to create a random string * move output check of inject_fake_data to dedicated method * always disable download and extract functionality
-
Philip Meier authored
-
Philip Meier authored
* make UsageError an Exception rather than RuntimeError * separate fake data injection and dataset args handling * adapt tests for Coco * fix Coco implementation * add documentation * fix VideoDatasetTestCase * adapt UCF101 tests * cleanup * allow FileNotFoundError for test without fake data * Revert "fix Coco implementation" This reverts commit e2b693881654b3e2462a73e6d22bb01c1b738f8a. * lint * fix UCF101 tests
-
- 23 Feb, 2021 2 commits
-
-
Philip Meier authored
* enable default frames per clips for video test cases * add tests for UCF101 * remove old tests as well as fake data generation * better explain frames_per_clip overriding * lint Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Francisco Massa authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/3422 In CUDA-10.1 or below it is a no-op, but few of the tests will start to fail if update to 10.2 or newer, for example: ``` torchvision/transforms/transforms.py", line 1043, in forward transformed_tensor = torch.mm(flat_tensor, self.transformation_matrix) RuntimeError: Deterministic behavior was enabled with either `torch.use_deterministic_algorithms(True)` or `at::Context::setDeterministicAlgorithms(true)`, but this operation is not deterministic because it uses CuBLAS and you have CUDA >= 10.2. To enable deterministic behavior in this case, you must set an environment variable before running your PyTorch application: CUBLAS_WORKSPACE_CONFIG=:4096:8 or CUBLAS_WORKSPACE_CONFIG=:16:8. For more information, go to https://docs.nvidia.com/cuda/cublas/index.html#cublasApi_reproducibility ``` Reviewed By: meyering Differential Revision: D26563045 fbshipit-source-id: 65e5fabc8cdb471a72f931df55389ed7c0063e54 Co-authored-by:
Nikita Shulga <nshulga@fb.com>
-
- 22 Feb, 2021 4 commits
-
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* use common download utils in VOC and SBDataset * add tests for VOC * use common base class for VOC datasets * remove old voc test and fake data generation Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 18 Feb, 2021 1 commit
-
-
Philip Meier authored
* add base class for datasets tests * add better type hints * add documentation to subclasses * add utility functions to create files / folders of random images and videos * fix imports * remove class properties * fix smoke test * fix type hints * fix random size generation * add Caltech256 as example * add utility function to create grid of combinations * add CIFAR100? as example * lint * add missing import * improve documentation * create 1 frame videos by default * remove obsolete check * return path of files created with utility functions * [test] close PIL file handles before deletion * fix video folder creation * generalize file handle closing * fix lazy imports * add test for transforms * fix explanation comment * lint * force load opened PIL images * lint * copy default config to avoid inplace modification * enable additional arg forwarding
-
- 15 Feb, 2021 2 commits
-
-
vfdev authored
Fixes #3393
-
Vasilis Vryniotis authored
* Replace type T with accumulator. * Upcast tensors of box ops to avoid overflow in multiplications.
-
- 12 Feb, 2021 4 commits
-
-
Vasilis Vryniotis authored
Summary: In opt mode, the linker could strip out the symbols related to the torchvision ops if they had not been explicitly requested. Adding link-whole is one way of fixing this. Reviewed By: datumbox, ppwwyyxx Differential Revision: D26249713 fbshipit-source-id: 4e55e2ebb483922fe308fd8b83456439bde728c9
-
Vasilis Vryniotis authored
* Fix test flakiness caused by rounding. * Update test/test_transforms.py * Styles Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/3370 Pull Request resolved: https://github.com/pytorch/vision/pull/3361 Convert pytorch_gpu to use GPU/RE Reviewed By: datumbox Differential Revision: D26264102 fbshipit-source-id: b45179215ecb1142f6468386c4fee1759dd82f0c
-
Eli Uriegas authored
(cherry picked from commit 2f40a483d73018ae6e1488a484c5927f2b309969) Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
- 11 Feb, 2021 2 commits
-
-
bmanga authored
* On MSVC, instruct the linker not to drop the _register_ops symbol * Remove workaround for ops registration on windows Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* remove generated dataset folders after download tests * revert unnecessary style changes
-
- 10 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 09 Feb, 2021 1 commit
-
-
clint (woonhyuk baek) authored
* aspect ratio must be a sampling from log scale. reference from: https://github.com/pytorch/vision/blob/8317295c1d272e0ba7b2ce31e3fd2c048235fc73/torchvision/transforms/transforms.py#L833-L836 * add random erasing unittest code * Increased threshold for difference in sampling rate * move outside of the loop * log_ratio move outside of the loop. RandomResizedCrop also Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 04 Feb, 2021 2 commits
-
-
Nicolas Hug authored
Summary: This diff adds a new target to torchvision which enables users to use torchvision ops from C++. For now, the `cpp_library` is not used by the `python_cpp_library`. We should instead refactor the logic in torchvision to directly use `cpp_library` instead. There is currently an inconsistency between fbcode and OSS users. OSS users can import torchvision via ``` #include <torchvision/vision.h> ``` while fbcode users need to do ``` #include <torchvision/csrc/vision.h> ``` It would be good to fix this discrepancy in the future. I didn't directly use `test_frcnn_tracing.cpp` due to complications for getting the `.pt` file in a way that works for both OSS and fbcode, so instead we added a self-contained test that should validate that the torchvision ops are properly registered and visible to JIT Reviewed By: datumbox Differential Revision: D26225669 fbshipit-source-id: 5dd9fb98dd58e854f95806e4860d02f54fc04ea4 Co-authored-by:Francisco Massa <fmassa@fb.com>
-
Philip Meier authored
* extract some functionality from places365 fakedata for common use * add a common DatasetTestcase * add fakedata generation and tests for STL10 * lint Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-