1. 24 Aug, 2023 1 commit
  2. 10 Aug, 2023 1 commit
  3. 22 Jun, 2023 1 commit
  4. 10 Mar, 2023 2 commits
  5. 23 Aug, 2022 1 commit
  6. 22 Jul, 2022 1 commit
  7. 27 Apr, 2022 1 commit
  8. 21 Mar, 2022 1 commit
  9. 06 Jan, 2022 1 commit
  10. 10 Nov, 2021 2 commits
  11. 28 Oct, 2021 1 commit
  12. 25 Oct, 2021 1 commit
  13. 21 Oct, 2021 1 commit
  14. 08 Oct, 2021 1 commit
  15. 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
  16. 18 Aug, 2021 1 commit
    • Alex Lin's avatar
      Replace get_tmp_dir() with tmpdir fixture in tests (#4280) · 98cb4ead
      Alex Lin authored
      
      
      * Replace in test_datasets*
      
      * Replace in test_image.py
      
      * Replace in test_transforms_tensor.py
      
      * Replace in test_internet.py and test_io.py
      
      * get_list_of_videos is util function still use get_tmp_dir
      
      * Fix get_list_of_videos siginiture
      
      * Add get_tmp_dir import
      
      * Modify test_datasets_video_utils.py for test to pass
      
      * Fix indentation
      
      * Replace get_tmp_dir in util functions in test_dataset_sampler.py
      
      * Replace get_tmp_dir in util functions in test_dataset_video_utils.py
      
      * Move get_tmp_dir() to datasets_utils.py and refactor
      
      * Fix pylint, indentation and imports
      
      * import shutil to common_util.py
      
      * Fix function signiture
      
      * Remove get_list_of_videos under context manager
      
      * Move get_list_of_videos to common_utils.py
      
      * Move get_tmp_dir() back to common_utils.py
      
      * Fix pylint and imports
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      98cb4ead
  17. 12 Aug, 2021 1 commit
  18. 06 Aug, 2021 1 commit
  19. 04 Aug, 2021 1 commit
  20. 14 Jul, 2021 1 commit
  21. 12 Jul, 2021 1 commit
  22. 16 Jun, 2021 1 commit
  23. 14 Jun, 2021 1 commit
  24. 04 Jun, 2021 1 commit
  25. 27 May, 2021 1 commit
  26. 25 May, 2021 1 commit
  27. 21 May, 2021 1 commit
  28. 20 May, 2021 1 commit
  29. 11 May, 2021 1 commit
  30. 30 Nov, 2020 1 commit
  31. 19 Nov, 2020 1 commit
  32. 18 Nov, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Support specifying output channels in io.image.read_image (#2988) · 4d6ba678
      Vasilis Vryniotis authored
      * Adding output channels implementation for pngs.
      
      * Adding tests for png.
      
      * Adding channels in the API and documentation.
      
      * Fixing formatting.
      
      * Refactoring test_image.py to remove huge grace_hopper_517x606.pth file from assets and reduce duplicate code. Moving jpeg assets used by encode and write unit-tests on their separate folders.
      
      * Adding output channels implementation for jpegs. Fix asset locations.
      
      * Add tests for JPEG, adding the channels in the API and documentation and adding checks for inputs.
      
      * Changing folder for unit-test.
      
      * Fixing windows flakiness, removing duplicate test.
      
      * Replacing components to channels.
      
      * Adding reference for supporting CMYK.
      
      * Minor changes: num_components to output_components, adding comments, fixing variable name etc.
      
      * Reverting output_components to num_components.
      
      * Replacing decoding with generic method on tests.
      
      * Palette converted to Gray.
      4d6ba678
  33. 10 Nov, 2020 1 commit
  34. 04 Nov, 2020 1 commit
    • peterjc123's avatar
      Make read_file and write_file accept unicode strings on Windows (#2949) · f5c0bfa5
      peterjc123 authored
      * Make read_file accept unicode strings on Windows
      
      * More fixes
      
      * Remove definitions from source files
      
      * Move string definitions to header
      
      * Add checks
      
      * Fix comments
      
      * Update macro
      
      * Fix comments
      
      * Fix lint
      
      * include windows header
      
      * Change func signature in header
      
      * Use from_blob
      
      * Fix fread calls
      
      * Fix clang format
      
      * Fix missing return
      
      * Avoid copy
      f5c0bfa5
  35. 07 Oct, 2020 1 commit
  36. 06 Oct, 2020 3 commits
    • Francisco Massa's avatar
      Add write_file (#2765) · 6e639d3e
      Francisco Massa authored
      * Add write_file
      
      * Fix lint
      6e639d3e
    • Francisco Massa's avatar
    • Francisco Massa's avatar
      Add read_file (#2728) · a9e4cea0
      Francisco Massa authored
      * Add read_file
      
      * Add test for non-existent file
      
      * Fix lint
      
      * Lint v2
      
      * Try fix windows
      
      * Try fix Windows v2
      
      * Lint
      
      * Windows v3
      
      * Missed one change in the adapted function
      
      * Try again on Windows
      
      * One more try on Windows
      
      * Give up on tempfile for now
      
      * Are extensions what's missing on Windows?
      
      * Investigating if the issue is on our side
      
      * Try deleting tensor which could hold into the file
      
      * Put back temporary folder
      a9e4cea0