- 24 Aug, 2023 1 commit
-
-
vfdev authored
Co-authored-by:Nicolas Hug <nh.nicolas.hug@gmail.com>
-
- 10 Aug, 2023 1 commit
-
-
Nicolas Hug authored
-
- 22 Jun, 2023 1 commit
-
-
Kobrin Eli authored
-
- 10 Mar, 2023 2 commits
-
-
Nicolas Hug authored
-
Nikita Shulga authored
Co-authored-by:Nicolas Hug <nh.nicolas.hug@gmail.com>
-
- 23 Aug, 2022 1 commit
-
-
キツネさん authored
* Fix out-of-bounds read in decode_png * Fix lint * Use size_t instead of int to fix sign-compare check * Add a unit-test to decode currupted png file * Fix linter * Update torchvision/csrc/io/image/cpu/decode_png.cpp * Replace png_error with TORCH_CHECK Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update error message * Update error message Co-authored-by:
vfdev <vfdev.5@gmail.com> * Fix linter Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
vfdev <vfdev.5@gmail.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>
-
- 27 Apr, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 21 Mar, 2022 1 commit
-
-
Nicolas Hug authored
-
- 06 Jan, 2022 1 commit
-
-
Nicolas Hug authored
-
- 10 Nov, 2021 2 commits
-
-
vfdev authored
Description: - Applied `contiguous` on decoded output tensor in decode_jpeg and decode_png ops - Updated tests and docs Related to #4880
- 28 Oct, 2021 1 commit
-
-
Jirka Borovec authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 25 Oct, 2021 1 commit
-
-
Nicolas Hug authored
-
- 21 Oct, 2021 1 commit
-
-
Nicolas Hug authored
* WIP * cleaner code * Add tests * Add docs * Assert dtype * put back check * Address comments Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 08 Oct, 2021 1 commit
-
-
Sergii Khomenko authored
Co-authored-by:Prabhat Roy <prabhatroy@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>
-
- 18 Aug, 2021 1 commit
-
-
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:Nicolas Hug <contact@nicolas-hug.com>
-
- 12 Aug, 2021 1 commit
-
-
Vincent Moens authored
* interlaced png images Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 06 Aug, 2021 1 commit
-
-
Vincent Moens authored
Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 04 Aug, 2021 1 commit
-
-
Nicolas Hug authored
-
- 14 Jul, 2021 1 commit
-
-
Philip Meier authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 12 Jul, 2021 1 commit
-
-
Nicolas Hug authored
-
- 16 Jun, 2021 1 commit
-
-
Nicolas Hug authored
-
- 14 Jun, 2021 1 commit
-
-
Nicolas Hug authored
-
- 04 Jun, 2021 1 commit
-
-
Prabhat Roy authored
* Fixed read_image bug * Removed unused import * Skip tests if cv2 unavailable * Removed cv2 dependency
-
- 27 May, 2021 1 commit
-
-
Zhiqiang Wang authored
-
- 25 May, 2021 1 commit
-
-
Nicolas Hug authored
-
- 21 May, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 20 May, 2021 1 commit
-
-
Nicolas Hug authored
-
- 11 May, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:James Thewlis <james@unitary.ai>
-
- 30 Nov, 2020 1 commit
-
-
Milos authored
* Fix writing to files by using get_tmp_dir() * Add ImageReadMode to imports * Fix failing test due to incorrect image path
-
- 19 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Add support of mode and remove channels. * Replacing integer mode with define constants.
-
- 18 Nov, 2020 1 commit
-
-
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.
-
- 10 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Add support of different color types in readpng. * Adding test images and unit-tests. * Use closest possible type. * Fix formatting.
-
- 04 Nov, 2020 1 commit
-
-
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
-
- 07 Oct, 2020 1 commit
-
-
peterjc123 authored
* Improve read_file for Windows * Fix lint * Use _stat64 instead * Apply suggesion * Fix lint
-
- 06 Oct, 2020 3 commits
-
-
Francisco Massa authored
* Add write_file * Fix lint
-
Francisco Massa authored
-
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
-