- 24 Aug, 2022 3 commits
-
-
Philip Meier authored
* use the same base class for Label and OneHotLabel * mypy * rename typevar
-
Vasilis Vryniotis authored
* Move imports on constructor. * Turn `_F` to a property. * fix linter * Fix mypy * Make it class-wide attribute. * Add tests based on code review * Making changes from code-reviews. * Remove the new tests. * Clean up. * Adding comments. * Update the comment link.
-
Philip Meier authored
* add deprecated color conversion functionals * allow grayscale tensor inputs in rgb_to_grayscale * add cloning to tensor no-op * improve todo comment * [skip ci] * use legacy kernels use legacy kernels * fix import * remove duplicate code * remove duplicate check
-
- 23 Aug, 2022 8 commits
-
-
キツネさん 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>
-
vfdev authored
* WIP * [proto] Added SimpleCopyPaste transform * Refactored and cleaned the implementation and added tests * Fixing code * Fixed code formatting issue * Minor updates * Fixed merge issue Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
Philip Meier authored
* cleanup prototype auto augment transforms * remove custom fill parsing from auto augment
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
* fix MixUp and CutMix * improve error message
-
Philip Meier authored
-
- 22 Aug, 2022 3 commits
-
-
Philip Meier authored
* add dispatcher for erase image kernels * simplify RandomErasing * replace query_image with query_image_dimensions * use value sentinel and fix test for RandomErasing * image_dimensions -> chw
-
Philip Meier authored
* remove BatchMultiCrop * address review * let FiveCrop return tuples
-
vfdev authored
* WIP * Fixed dtype correction and tests * Removed PIL Image support and output always Tensor
-
- 19 Aug, 2022 3 commits
-
-
vfdev authored
* [proto] Fixed to_image_tensor and to_image_pil * Fixed failing test
-
Sophia Zhi authored
* S3D initial commit * add model builder code and docstrings * change classifier submodule, populate weights enum * fix change of block args from List[List[int]] to ints * add VideoClassification to transforms * edit weights url for testing, add s3d to models.video init * norm_layer changes * norm_layer and args fix * Overwrite default dropout * Remove docs from internal submodules. * Fix tests * Adding documentation. * Link doc from main models.rst * Fix min_temporal_size * Adding crop/resize parameters in references script * Release weights. * Refactor dropout. * Adding the weights table in the doc Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
Philip Meier authored
* port `FixedSizeCrop` from detection references to prototype transforms * mypy * [skip ci] call invalid boxes and corresponding masks and labels * cherry-pick missing functions from #6401 * fix feature wrapping * add test * mypy * add input type restrictions * add test for _get_params * fix input checks
-
- 18 Aug, 2022 11 commits
-
-
Ponku authored
* Added ETH3D stereo dataset * Small doc-reformating * Removed assertions with no use, changed np conversion * Added ETH3D stereo dataset * Removed assertions with no use, changed np conversion * rebased on main * Revert "Removed assertions with no use, changed np conversion" This reverts commit 1478a8c056bbed59b6f4a67f78a5cfac84cc9fda. * Update to np.bool instead of np.bool_ * lint and mypy nit fix * test nit
-
Philip Meier authored
* expand has_any and has_all to also accept check callables * add test and fix has_all * add support for simple tensor images to CutMix, MixUp and RandomIoUCrop * remove TODO * remove pythonic syntax sugar * simplify * use concreate examples in test rather than abstract ones * simplify further
-
Abhijit Deo authored
* Fix typos * Fix link * pre-commit * Update torchvision/datasets/food101.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Philip Meier authored
-
Philip Meier authored
* replace query_recursively with pytree implementation * simplify Co-authored-by:vfdev <vfdev.5@gmail.com>
-
vfdev authored
* [proto] Ported RandomIoUCrop from detection refs * Scope acceptable data types * Added get_params test * Added test__transform_empty_params * Added support for OneHotLabel and tests * Added tests for mask * Updated error message * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Added support for OHE masks and tests * Ignored mypy error * Fixed forward call on sample * Added a todo Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
vfdev authored
-
Vasilis Vryniotis authored
-
Nicolas Hug authored
Summary: This diff adds **`skipOperationNotPermittedPackets`** to `DecoderParameters`. Once that is set to `True`, it allows decoder to skip through those packets, that are causing `EPERM` errors and result into stoppage of consuming a stream. Reviewed By: jdsgomes Differential Revision: D38732706 fbshipit-source-id: a5cb64e14edda376e6ba240089ebee2e3a9865d0 Co-authored-by:Oleksandr Voietsa <ovoietsa@fb.com>
-
Nicolas Hug authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/6432 According to the documentation the packet has to be freed after `av_read_frame()` call. ``` If pkt->buf is NULL, then the packet is valid until the next av_read_frame() or until avformat_close_input(). Otherwise the packet is valid indefinitely. In both cases the packet must be freed with av_packet_unref when it is no longer needed. ``` Differential Revision: D38747612 fbshipit-source-id: 2e4ccc8365d0d97e5da756ff9c1dcdf27ed323f0 Co-authored-by:
Oleksandr Voietsa <ovoietsa@fb.com>
-
Philip Meier authored
-
- 17 Aug, 2022 4 commits
-
-
Ponku authored
* Added Falling Things datasets * Renamed split to variant * Update torchvision/datasets/_stereo_matching.py Changed constant formatting Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Ponku authored
* added SceneFLow variant datasets * Changed split name to variant name * removed trailing commented code line * Added InStereo2k dataset * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * rebased on main * lint fix * Added InStereo2k dataset
-
Vasilis Vryniotis authored
Resolves issue reported at https://github.com/pytorch/vision/commit/6e535db255cee3ce878dd7a54dda01d4ec8932c1#commitcomment-81409388 There seems to be a misspelling on the name of the parameter. This PR updates `total_steps` to `total_iters` which is the correct argument.
-
Ponku authored
* added SceneFLow variant datasets * Changed split name to variant name * removed trailing commented code line * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * rebased on main * lint fix
-
- 16 Aug, 2022 3 commits
-
-
Nicolas Hug authored
-
Philip Meier authored
* port `RandomShortestSize` from detection references to prototype transforms * mypy * add test
-
Philip Meier authored
* fix TenCrop * use dispatchers for RandomPhotometricDistort * add convert_color_space dispatcher and use it in conversion transforms * fix convert_color_space naming scheme * add to_color_space method to Image feature * remove TODO from BoundingBox.to_format() * fix test * fix imports * fix passthrough * remove apply_recursively in favor of pytree * refactor BatchMultiCrop
-
- 15 Aug, 2022 5 commits
-
-
Andrey Talman authored
-
Andrey Talman authored
-
Andrey Talman authored
-
Andrey Talman authored
-
Philip Meier authored
* port ScaleJitter from detection reference to prototype transforms * add test * use MagicMock as sentinel
-