1. 31 Aug, 2021 1 commit
  2. 25 Jul, 2021 1 commit
  3. 05 Jul, 2021 1 commit
  4. 22 Jun, 2021 1 commit
  5. 17 Jun, 2021 1 commit
  6. 15 Jun, 2021 1 commit
  7. 04 Jun, 2021 1 commit
  8. 27 May, 2021 1 commit
  9. 25 May, 2021 1 commit
  10. 11 May, 2021 2 commits
  11. 27 Apr, 2021 1 commit
  12. 31 Mar, 2021 1 commit
  13. 24 Mar, 2021 1 commit
  14. 04 Feb, 2021 1 commit
  15. 26 Jan, 2021 1 commit
  16. 22 Jan, 2021 1 commit
  17. 19 Jan, 2021 1 commit
  18. 22 Dec, 2020 1 commit
  19. 20 Dec, 2020 1 commit
    • Siddhant Bansal's avatar
      Clean up and Document io.image enhancements (#3193) · af5cb00c
      Siddhant Bansal authored
      * Update ImageReadMode error messages, add newline at the end of image_read_mode.h, replace define with const in image_read_mode.h, add documentation to ImageReadMode enum
      
      * Update readpng_cpu and readjpeg_cpu error messages
      
      * Update image.py documentation
      af5cb00c
  20. 01 Dec, 2020 2 commits
  21. 19 Nov, 2020 1 commit
  22. 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
  23. 30 Oct, 2020 1 commit
  24. 28 Oct, 2020 1 commit
  25. 15 Oct, 2020 1 commit
    • Edgar Andrés Margffoy Tuay's avatar
      Fix external DLL loading on wheels (#2811) · 072d8b22
      Edgar Andrés Margffoy Tuay authored
      * Fix external DLL loading on wheels
      
      * Use SetDefaultDllDirectoriess and AddDllDirectory
      
      * Add previous paths
      
      * Trigger debug
      
      * Do not call SetDefaultDllDirectories.
      
      * Do not call loadlibrary if the extensions were not compiled
      
      * Fix lint issues
      072d8b22
  26. 13 Oct, 2020 1 commit
  27. 12 Oct, 2020 1 commit
  28. 09 Oct, 2020 1 commit
    • Bruno Korbar's avatar
      [documentation] video API documentation and wrapper (#2778) · d5379656
      Bruno Korbar authored
      
      
      * initial API documentation attempt
      
      * test the docs
      
      * initial commit
      
      * updating test to match the registration
      
      * adding the warning on unsucessful import
      
      * Try to do conditional import
      
      * Simple fix?
      
      * clearing up docs
      
      * docstring commit
      
      * Adding types in arguments
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      
      * reverting warning commit
      
      * addressing Francisco's comments
      
      * Apply suggestions from code review
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      
      * Revert "reverting warning commit"
      
      This reverts commit bd1a3dd4f3b97709ab59c744962e11174757f8ce.
      
      * Revert "adding the warning on unsucessful import"
      
      This reverts commit afef7df9eaa73bf80246e6d9114cb4c30b16f0ce.
      
      * remove warnings import
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      d5379656
  29. 07 Oct, 2020 1 commit
  30. 06 Oct, 2020 5 commits
    • Francisco Massa's avatar
      Add write_file (#2765) · 6e639d3e
      Francisco Massa authored
      * Add write_file
      
      * Fix lint
      6e639d3e
    • Edgar Andrés Margffoy Tuay's avatar
      PR: Add PyTorch FFmpeg to wheel and conda distributions (#2596) · 635406c3
      Edgar Andrés Margffoy Tuay authored
      
      
      * Add PyTorch FFmpeg to wheel and conda distributions
      
      * Try to install wget from conda
      
      * Add yq flag on Mac
      
      * Correct copy instructions
      
      * Use cURL on Windows
      
      * Call bzip2 directly due to msys2/MSYS2-packages#1548
      
      * Copy ffmpeg binaries to system-wide directories
      
      * Try to use std:c++17 on Windows
      
      * Try to define ssize_t on Windows
      
      * Use C++14
      
      * Declare AVRational structs explicitly
      
      * Initialize AVRational explicitly
      
      * Replace macro to prevent errors on Windows
      
      * Replace AV_TIME_BASE_Q
      
      * Add library paths for video extension
      
      * Force ffmpeg from pytorch channels?
      
      * Fix clang style warnings
      
      * Update CONDA_CHANNEL_FLAGS
      
      * Fix clang style issues
      
      * Update unittest
      
      * Use FFmpeg 4.2
      
      * Install correct version on Mac
      
      * Pin av version to 8.0.0
      
      * Fix string formatting issue
      
      * Fix pip pinning
      
      * Try with 8.0.1
      
      * Use av 8.0.2
      
      * Remove trailling whitespaces
      
      * Disable test_io_opt.py
      
      * Disable test_datasets_video_utils
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      635406c3
    • Francisco Massa's avatar
    • Edgar Andrés Margffoy Tuay's avatar
      Update docstings and expose main image io functions in the vision docs (#2760) · de908627
      Edgar Andrés Margffoy Tuay authored
      * Expose image io functions in docs
      
      * Expose image funcs in module
      
      * Update docstring
      
      * Update docstrings for all functions
      
      * Update section header
      de908627
    • 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
  31. 29 Sep, 2020 1 commit
    • Edgar Andrés Margffoy Tuay's avatar
      Add encoding and writing PNG ops (#2726) · f8780e2e
      Edgar Andrés Margffoy Tuay authored
      
      
      * Add encode/write_png functions
      
      * Do not redefine
      
      * Style issues correction
      
      * Comply with low-level interface
      
      * Minor comment correction
      
      * Add python frontend functions
      
      * Add encode_png test
      
      * Pass compession level to encode_png
      
      * Do not compare output buffers
      
      * Convert to bytes
      
      * Compare pil image instead of buffer
      
      * Add error tests
      
      * Add test_write_png
      
      * Remove png test assets
      
      * Register writePNG correctly
      
      * Update write_png docstring
      
      * Do not preserve PIL image beyond the scope
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      f8780e2e
  32. 28 Sep, 2020 1 commit
  33. 25 Sep, 2020 1 commit
    • Edgar Andrés Margffoy Tuay's avatar
      Add encoding and writing JPEG ops (#2696) · 662373f6
      Edgar Andrés Margffoy Tuay authored
      
      
      * Add decode and write JPEG ops
      
      * Fix styling issues
      
      * Use int64_t instead of int
      
      * Use std::string
      
      * Use jpegcommon.h for read_jpeg
      
      * Minor updates to error handling in read
      
      * Include header only once
      
      * Reverse header inclusion
      
      * Update common header
      
      * Add common definitions
      
      * Include string
      
      * Include header?
      
      * Include header?
      
      * Add Python frontend calls
      
      * Use unsigned long directly
      
      * Fix style issues
      
      * Include cstddef
      
      * Ignore clang-format on cstddef
      
      * Also include stdio
      
      * Add JPEG and PNG include dirs
      
      * Use C10_EXPORT
      
      * Add JPEG encoding test
      
      * Set quality to 75 by default and add write jpeg test
      
      * Minor error correction
      
      * Use assertEquals by assertEqual
      
      * Remove test results
      
      * Use pre-saved PIL output
      
      * Remove extra PIL call
      
      * Use read_jpeg instead of PIL
      
      * Add error tests
      
      * Address review comments
      
      * Fix style issues
      
      * Set test case to uint8
      
      * Update test error check
      
      * Apply suggestions from code review
      
      * Fix clang-format
      
      * Fix lint
      
      * Fix test
      
      * Remove unused file
      
      * Fix regex error message
      
      * Fix tests
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      662373f6
  34. 22 Sep, 2020 1 commit