- 15 Jan, 2021 1 commit
-
-
Ren Pang authored
* 'make_dataset' as staticmethod of 'DatasetFolder' * a better fix Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 11 Jan, 2021 1 commit
-
-
Josh Bradley authored
* initial commit of widerface dataset * comment out old code * improve parsing of annotation files * code cleanup and fix docstring comments * speed up check for quota exceeded * cleanup print statements * reformat code and remove print statements * minor code cleanup and reformatting * add more comments * reuse variable * reverse formatting changes * fix flake8 errors * add type annotations * fix mypy errors * add a base_folder to root directory * some formatting fixes * GDrive threshold does not throw 403 error * testing new download logic * cleanup logic for download and integrity check * use a better variable name * format fix * reorder list in docstring * initial widerface unit test - fails on MD5 check * use list of dictionaries to store dataset * fix docstring formatting * remove unnecessary error checking * fix type checker error * revert typo fix * rename var constants, use file context manager, verify str args * fix flake8 error * fix checking target_type argument values * create uncompressed dataset folders * cleanup unit tests for widerface * use correct os function * add more info to docstring * disable unittests for windows * fix _check_integrity logic * update docstring * remove citation * remove target_type option * fix formatting issue Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * remove comment and add more info to docstring * update type annotations * restart CI jobs Co-authored-by:
Joshua Bradley <jgbrad3@evoforge.org> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 07 Jan, 2021 1 commit
-
-
Ben Weinstein authored
* remove unused imports after manual review * Update torchvision/datasets/voc.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * remove two more instances Co-authored-by:
Ben Weinstein <benweinstein@Bens-MacBook-Pro.local> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 22 Dec, 2020 1 commit
-
-
Samuel Marks authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 07 Dec, 2020 1 commit
-
-
Robert-Jan Bruintjes authored
-
- 01 Dec, 2020 1 commit
-
-
Francisco Massa authored
* concatenate small tensors into big ones to reduce the use of shared file descriptor (#1694) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1694 - PT dataloader forks worker process to speed up the fetching of dataset example. The recommended way of multiprocess context is `forkserver` rather than `fork`. - Main process and worker processes will share the dataset class instance, which avoid duplicating the dataset and save memory. In this process, `ForkPickler(..).dumps(...)` will be called to serialize the objects, including objects within dataset instance recursively. `VideoClips` instance internally uses O(N) `torch.Tensor` to store per-video information, such as pts, and possible clips, where N is the No. of videos. - During dumping, each `torch.Tensor` will use one File Descriptor (FD). The OS default max limit of FD is 65K by using `ulimit -n` to query. The number of tensors in `VideoClips` often exceeds the limit. - To resolve this issue, we use a few big tensors by concatenating small tensors in the `__getstate__()` method, which will be called during pickling. This will only require O(1) tensors. - When this diff is landed, we can abondon D19173248 In D19173397, in ClassyVision, we change the mp context from `fork` to `forkserver`, and finally can run the PT dataloader without hanging issues. Reviewed By: fmassa Differential Revision: D19179991 fbshipit-source-id: c8716775c7c154aa33d93b25d112d2a59ea688a9 * Try to fix Windows * Try fix Windows v2 * Disable tests on Windows * Add back necessary part * Try fix OSX (and maybe Windows) * Fix * Try enabling Windows Co-authored-by:
Zhicheng Yan <zyan3@fb.com>
-
- 26 Nov, 2020 1 commit
-
-
Santiago Castro authored
* Add a warning if a clip can't be get from a video in VideoClips * Update torchvision/datasets/video_utils.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Add a test Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 20 Nov, 2020 1 commit
-
-
Philip Meier authored
-
- 06 Nov, 2020 1 commit
-
-
Bruno Korbar authored
* initial docstring * Revert "initial docstring" This reverts commit 2bf68ca26e58096885901da0cfa330530974e731. * revert the formatting changes * clear up per Victor's comment * Addressing PR comments Co-authored-by:Bruno Korbar <korbar@vggdev9.vggdev.cluster>
-
- 23 Oct, 2020 1 commit
-
-
Vaibhav Balloli authored
* Add float support to ColorJitter * Fix byclass EMNIST * Fix bymerge, balance, letters EMNIST * Fix whitespace indent * Revert unrelated file changes * Revert unrelated file changes * Removing unnecessary type conversions. * Removing the transform and adding dummy class instead. Co-authored-by:Vasileios Vryniotis <vvryniotis@fb.com>
-
- 12 Oct, 2020 1 commit
-
-
Philip Meier authored
-
- 14 Sep, 2020 1 commit
-
-
Philip Meier authored
-
- 09 Sep, 2020 1 commit
-
-
Peter Whidden authored
-
- 27 Aug, 2020 1 commit
-
-
Philip Meier authored
* fix images extraction * remove test split * fix tests * be less clever in test data generation * remove micro optimization * lint
-
- 25 Aug, 2020 2 commits
-
-
Philip Meier authored
* initial draft * [dirty] progress * remove inheritance from ImageFolder * add tests * lint * fix type hints * align getitem with other datasets * remove unused import * add docstring * guard existing image folders from overwrite * add missing entry in docstring * make fixpath more legible * add Places365 to docs
-
Philip Meier authored
-
- 20 Aug, 2020 1 commit
-
-
Harsh Rangwani authored
* Only pull keys from db in lsun for faster cache. This pull request inhances the speed of the cache creation for lsun dataset. For the "kitchen_train" the speed was getting slow with cache creation taking more then two hours. This speeds up to cache creation in within minutes. The issue was pulling the large image values each time and dropping them. For more details on this please refer this issue https://github.com/jnwatson/py-lmdb/issues/195. * Fixed bug in lsun.py when loading multiple categories * Make linter happy
-
- 03 Aug, 2020 11 commits
-
-
Philip Meier authored
* add typehints for torchvision.datasets.stl10 * move annotation from class to instance scope
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
- 31 Jul, 2020 9 commits
-
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
- 30 Jul, 2020 1 commit
-
-
Philip Meier authored
* enable mypy for torchvision.datasets and ignore existing errors * imagenet * utils * lint
-
- 03 Jul, 2020 1 commit
-
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Jun, 2020 1 commit
-
-
Quentin Duval authored
Refactoring to use contexts managers, list comprehensions when more idiomatic, and minor renaming to help reader clarity (#2335) * Refactoring to use contexts managers, list comprehensions when more idiomatic, and minor renaming to help reader clarity. * Fix flake8 warning in video_utils.py
-