- 07 Feb, 2023 1 commit
-
-
Philip Meier authored
-
- 12 Jan, 2023 1 commit
-
-
Philip Meier authored
* fix MNIST byte flipping * add test * move to utils * remove lazy import
-
- 25 Aug, 2022 1 commit
-
-
vfdev authored
-
- 15 Aug, 2022 1 commit
-
-
Shantanu authored
* Use --no-implicit-optional for type checking This is needed for PEP 484 compliant type checking (as of 2018). mypy will change its defaults soon. See https://github.com/python/mypy/issues/9091 * forcing CI rerun Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 22 Jul, 2022 1 commit
-
-
Philip Meier authored
* upgrade usort to * Also update black * Actually use 1.0.2 * Apply pre-commit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 14 Jul, 2022 1 commit
-
-
Ponku authored
* Moved pfm file reading into dataset utils * Made _read_pfm private. Fixed doc format issues.
-
- 20 May, 2022 1 commit
-
-
Philip Meier authored
* improve error handling for GDrive downloads * perform HTML check regardless of MD5 check
-
- 12 Apr, 2022 1 commit
-
-
Philip Meier authored
-
- 04 Apr, 2022 1 commit
-
-
Philip Meier authored
* indicate md5 checksum is not used for security * add explanation
-
- 01 Apr, 2022 1 commit
-
-
Philip Meier authored
* support confirming no virus scan on GDrive download * put gen_bar_updater back * Update torchvision/datasets/utils.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 08 Dec, 2021 2 commits
-
-
Philip Meier authored
-
Philip Meier authored
* Revert "[FBcode->GH] remove unused requests functionality (#5014)" This reverts commit 33123bee. * Revert "replace requests with urllib (#4973)" This reverts commit 8d25de7b. * add requests as hard dependency * install library stubs in CI * fix syntax * add requests to conda dependencies * fix mypy CI
-
- 30 Nov, 2021 1 commit
-
-
Philip Meier authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 23 Nov, 2021 1 commit
-
-
Philip Meier authored
-
- 28 Oct, 2021 1 commit
-
-
Jirka Borovec authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 04 Oct, 2021 1 commit
-
-
Philip Meier authored
* add ufmt as code formatter * cleanup * quote ufmt requirement * split imports into more groups * regenerate circleci config * fix CI * clarify local testing utils section * use ufmt pre-commit hook * split relative imports into local category * Revert "split relative imports into local category" This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51. * pin black and usort dependencies * fix local test utils detection * fix ufmt rev * add reference utils to local category * fix usort config * remove custom categories sorting * Run pre-commit without fixing flake8 * got a double import in merge Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 24 Jun, 2021 1 commit
-
-
ORippler authored
-
- 23 Jun, 2021 2 commits
-
-
Adam J. Stewart authored
-
Adam J. Stewart authored
-
- 22 Jun, 2021 1 commit
-
-
Nicolas Hug authored
-
- 09 Jun, 2021 2 commits
-
-
Anirudh authored
-
Vasilis Vryniotis authored
-
- 20 May, 2021 1 commit
-
-
Prabhat Roy authored
Reviewed By: fmassa Differential Revision: D28537606 fbshipit-source-id: beaf15f4e38a7d986ef26587383aa2aee3e48952
-
- 13 May, 2021 1 commit
-
-
Prabhat Roy authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/3823 Uploaded FashionMNIST dataset to [manifold](https://www.internalfb.com/intern/network/manifold/?bucket=torchvision&path=tree%2Fdatasets) bucket `torchvision`. Any new dataset that needs to be added could be uploaded under `tree/datasets/<dataset_name>`. Reviewed By: datumbox Differential Revision: D28358470 fbshipit-source-id: 6f2282d3f1ce4b1416e962de8fb132896d4b2d76
-
- 23 Apr, 2021 1 commit
-
-
Philip Meier authored
* fix check for exceeded quota on Google Drive * safeguard quota exceed check
-
- 15 Mar, 2021 2 commits
-
-
Philip Meier authored
* generalize extract_archive * [test] re-enable extraction tests on windows * add tests for detect_file_type * add error messages to detect_file_type * Revert "[test] re-enable extraction tests on windows" This reverts commit 7fafebb0f6b4c49bd72c4b5e0a0b4b8c432bce57. * add utility functions for better mock call checking * add tests for decompress * simplify logic by using pathlib * lint * Apply suggestions from code review Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * make decompress private * remove unnecessary checks * add error message * fix mocking * add remaining tests * lint Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* use head request for redirects * remove requests dependency
-
- 03 Mar, 2021 1 commit
-
-
Philip Meier authored
* add custom user agent for download_url * fix progress bar * lint * [test] use repo instead of nightly for download tests
-
- 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
-