1. 28 Oct, 2021 1 commit
  2. 21 Oct, 2021 1 commit
  3. 18 Oct, 2021 1 commit
  4. 07 Oct, 2021 1 commit
  5. 04 Oct, 2021 1 commit
    • Philip Meier's avatar
      Add ufmt (usort + black) as code formatter (#4384) · 5f0edb97
      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: default avatarNicolas Hug <nicolashug@fb.com>
      5f0edb97
  6. 26 Aug, 2021 1 commit
  7. 15 Jul, 2021 1 commit
  8. 21 Jun, 2021 1 commit
  9. 16 Mar, 2021 1 commit
    • Philip Meier's avatar
      Remove caching from MNIST and variants (#3420) · bb2805a6
      Philip Meier authored
      * remove caching from (Fashion|K)?MNIST
      
      * remove unnecessary lazy import
      
      * remove false check of binaries against the md5 of archives
      
      * remove caching from EMNIST
      
      * remove caching from QMNIST
      
      * lint
      
      * fix EMNIST
      
      * streamline QMNIST download
      bb2805a6
  10. 15 Mar, 2021 1 commit
  11. 12 Mar, 2021 1 commit
  12. 11 Mar, 2021 1 commit
  13. 26 Jan, 2021 1 commit
  14. 19 Jan, 2021 1 commit
  15. 23 Oct, 2020 1 commit
  16. 12 Oct, 2020 1 commit
  17. 25 Aug, 2020 1 commit
  18. 03 Aug, 2020 1 commit
  19. 30 Jul, 2020 1 commit
  20. 31 Mar, 2020 1 commit
  21. 16 Mar, 2020 1 commit
  22. 14 Jan, 2020 1 commit
  23. 24 Oct, 2019 1 commit
    • Max Lübbering's avatar
      Implemented integrity check (md5 hash) after dataset download (#1456) · 5eee0117
      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
      5eee0117
  24. 09 Sep, 2019 1 commit
  25. 06 Sep, 2019 1 commit
  26. 26 Jul, 2019 1 commit
  27. 19 Jul, 2019 1 commit
  28. 12 Jun, 2019 1 commit
    • Leon Bottou's avatar
      Added support for the QMNIST dataset (#995) · ac2e995a
      Leon Bottou authored
      * Added general reader for sn3 tensors in "pascalvincent" format
      
      * Added class QMNIST into mnist.py
      
      * QMNIST dataset: make some pt files smaller
      
      * Change request from fmassa.
      
      * read_sn3_pascalvincent_tensor: cse
      
      * read_sn3_pascalvincent_tensor: check file size (when strict!=False)
      
      * Fix lint
      
      * More lint
      
      * Add documentation and expose QMNIST to dataset namespace
      ac2e995a
  29. 03 Jun, 2019 1 commit
    • Philip Meier's avatar
      [WIP] Add test for ImageNet (#976) · 7716aba5
      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
      7716aba5
  30. 29 May, 2019 1 commit
    • Francisco Massa's avatar
      [WIP] Add tests for datasets (#966) · c59f0474
      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
      c59f0474
  31. 04 Apr, 2019 1 commit
    • Philip Meier's avatar
      Refactoring of the datasets (#749) · 6cabab3a
      Philip Meier authored
      * introduced new super class for all vision datasets
      
      * Removed root from repr if dataset has no root
      
      * reverted some overly-ambitious autoformatting
      
      * reverted some overly-ambitious autoformatting
      
      * added split attribute to repr of STL10 dataset
      
      * made Python2 friendly and more robust
      
      * Fixed call of the superclass constructor
      
      * moved transform and target_transform back to the base classes
      
      * added check if transforms are present before printing to avoid setting them within the constructor
      
      * added missing transforms and target_transforms to base classes
      
      * fixed linter error
      6cabab3a
  32. 07 Mar, 2019 1 commit
  33. 13 Feb, 2019 2 commits
  34. 25 Dec, 2018 1 commit
  35. 30 Oct, 2018 1 commit
  36. 26 Oct, 2018 1 commit
    • Leon Sixt's avatar
      Fix FashionMNIST loading MNIST (#640) · 36215690
      Leon Sixt authored
      Before this would lead FashionMNIST to contain mnist data:
      
      ```
      MNIST(root, download=True)
      FashionMNIST(root, download=True)
      ```
      
      As MNIST and FashionMNIST are the same classes, the processed
      outputs actual ended up to be the same files. This commit now
      stores them at different files and also stores the class name when
      saving them. I also added md5 sums.
      36215690
  37. 25 Oct, 2018 1 commit
  38. 17 Sep, 2018 2 commits