- 02 Feb, 2021 1 commit
-
-
Sofya Lipnitskaya authored
* Check if the file is located on Google Drive download_file() detects if the provided URL contains a link to Google Drive and passes the request through the download_file_from_google_drive() if it is the case. * remove lazy re import * add guard clause * use urlparse * add tests * Fixing lint. * make id matching more safe * Fixing type check. * Remove AnyStr. Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
- 15 Jan, 2021 1 commit
-
-
Sofya Lipnitskaya authored
* Make download_url() follow redirects Fix bug related to the incorrect processing of redirects. Follow the redirect chain until the destination is reached or the number of redirects exceeds the max allowed value (by default 10). * Parametrize value of max allowed redirect number Make max number of hops a function argument and assign its default value to 10 * Propagate the max number of hops to download_url() Add the maximum number of redirect hops parameter to download_url() * check file existence before redirect * remove print * remove recursion * add tests * Reducing max_redirect_hops Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.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>
-
- 20 Nov, 2020 1 commit
-
-
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
-
- 31 Mar, 2020 1 commit
-
-
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
-
- 16 Mar, 2020 1 commit
-
-
NVS Abhilash authored
-
- 10 Dec, 2019 1 commit
-
-
Surgan Jandial authored
* tgz updates * tgz updates * tgz updates
-
- 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
-
- 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 1 commit
-
-
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
-
- 07 Aug, 2019 1 commit
-
-
Edward Z. Yang authored
Following a similar line of inquiry to pytorch/audio#217
-
- 26 Jul, 2019 1 commit
-
-
Philip Meier authored
* introduced function to verify str arguments * flake8 * added FIXME to VOC * Fixed error message * added test for verify_str_arg * cleanup todos * added option for custom error message * fix VOC * fixed Caltech
-
- 13 Jun, 2019 1 commit
-
-
Francisco Massa authored
* Raise error during downloading * Fix py2 error and lint
-
- 03 Jun, 2019 1 commit
-
-
Philip Meier authored
* added fake data * fixed fake data * renamed extract and download methods and added functionality * added raw fake data * refactored imagenet and added test * flake8 * added fake devkit and mocked download_url * reversed uncommenting * added mock to CI * fixed tests for imagefolder * flake8
-
- 29 May, 2019 1 commit
-
-
Francisco Massa authored
* WIP * WIP: minor improvements * Add tests * Fix typo * Use download_and_extract on caltech, cifar and omniglot * Add a print message during extraction * Remove EMNIST from test
-
- 25 Apr, 2019 1 commit
-
-
Philip Meier authored
* fixed check integrity * stylistic changes * flake8
-
- 07 Mar, 2019 1 commit
-
-
Bryan He authored
* Add Caltech101 and Caltech256 * Add information about default for target_type * Fix docs * Add function to download from Google Drive * Add CelebA dataset * Only import pandas when needed * Addressing comments * Remove trailing whitespace * Replace torch.LongTensor with torch.as_tensor
-
- 01 Mar, 2019 1 commit
-
-
Francisco Massa authored
* Fixes for PyTorch version of tqdm * Flake * Flake fix
-
- 28 Feb, 2019 1 commit
-
-
Francisco Massa authored
-
- 04 Dec, 2018 1 commit
-
-
Adam J. Stewart authored
* Add SBU Captioned Photo Dataset * Add SBU to the dataset docs
-
- 25 Oct, 2018 1 commit
-
-
Kyryl Truskovskyi authored
* cast mnist targer to int * fix unused variables * fix syntax in tests * remove # noqa; rename l variable to line_split; use except OSError * add W504 * add W504 * add W503,W504 tox.ini
-
- 17 Sep, 2018 1 commit
-
-
Danylo Ulianych authored
* MNIST and FashionMNIST now have their own 'raw' and 'processed' folders * mkdir exist_ok
-
- 25 Jun, 2018 1 commit
-
-
Vishwak Srinivasan authored
-
- 06 Jun, 2018 1 commit
-
-
Holger Kohr authored
- Fix broken update calculation - Make progress bar use the neat `unit_scale` feature of tqdm
-
- 11 May, 2018 1 commit
-
-
Maruth Goyal authored
* Added Progress Bar to the dataset downloading utility * Updated progressbar to update by blcoks * Added progressbar2 to the requirements * fixed style issues * Shifted from progressbar to tqdm
-
- 28 Jan, 2018 1 commit
-
-
Sanyam Kapoor authored
* Add basic Omniglot dataset loader * Remove unused import * Add Omniglot random pair to sample pair of characters * Precompute random set of pairs, deterministic after object instantiation * Export OmniglotRandomPair via the datasets module interfact * Fix naming convention, use sum instead of reduce * Fix downloading to not download everything, fix Python2 syntax * Fix end line lint * Add random_seed, syntax fixes * Remove randomized pair, take up as a separate generic wrapper * Fix master conflict
-
- 31 Oct, 2017 1 commit
-
-
Tzu-Wei Huang authored
-
- 15 Sep, 2017 1 commit
-
-
Wilbur Wu authored
According to the comment, this should be 1MB which is 1024*1024 bytes.
-
- 13 Jun, 2017 1 commit
-
-
Ryuichiro Hataya authored
-
- 18 Mar, 2017 3 commits