- 09 Aug, 2023 1 commit
-
-
Nicolas Hug authored
Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 01 Aug, 2023 1 commit
-
-
Li-Huai (Allan) Lin authored
Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <nh.nicolas.hug@gmail.com>
-
- 22 Jun, 2023 1 commit
-
-
Kobrin Eli authored
-
- 23 May, 2023 1 commit
-
-
vfdev authored
-
- 13 May, 2023 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:Edward Z. Yang <ezyang@meta.com>
-
- 03 May, 2023 1 commit
-
-
Nicolas Hug authored
[FBcode->GH] torchvision decoder. fix artifacts, blury images for frame dimensions not multiple of 8 (#7523) (#7552) Co-authored-by:Vadim Zubov <vadikrobot@meta.com>
-
- 24 Mar, 2023 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@meta.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Nicolas Hug <nh.nicolas.hug@gmail.com>
-
- 10 Mar, 2023 1 commit
-
-
Nikita Shulga authored
Co-authored-by:Nicolas Hug <nh.nicolas.hug@gmail.com>
-
- 27 Feb, 2023 1 commit
-
-
Nicolas Hug authored
Co-authored-by:
Eric Sauser <esauser@meta.com> Co-authored-by:
Sim Sun <simsun@meta.com>
-
- 31 Jan, 2023 1 commit
-
-
Yuxin Wu authored
Co-authored-by:Yuxin Wu <ppwwyyxx@users.noreply.github.com>
-
- 11 Jan, 2023 1 commit
-
-
Philip Meier authored
* fix typos throughout the code base * fix grammar * revert formatting changes to gallery * revert 'an uXX' * remove 'number of the best'
-
- 14 Nov, 2022 1 commit
-
-
YosuaMichael authored
Set pytorch vision decoder probesize for getting stream info based on the value from decode setting (#6900) (#6950) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/6900 1. Pass along the value of probesize from decode setting. 2. allow pytorch vision decoder to set the probesize for getting stream info Reviewed By: jdsgomes Differential Revision: D40967782 fbshipit-source-id: 642ae3b67c50b1fdafc20f9814a52fdf5db527d7 Co-authored-by:
Chen Liu <cliu7@meta.com>
-
- 21 Oct, 2022 1 commit
-
-
Joao Gomes authored
* add tensor as optional param * add init from memory * fix bug * fix bug * first working version * apply formatting and add tests * simplify tests * fix tests * fix wrong variable name * add path as optional parameter * add src as optional * address pr comments * Fix warning messages * address pr comments * make tests stricter * Revert "make tests stricter" This reverts commit 6c92e94e8372f381c9496c9f885c2c71b6a4356b.
-
- 26 Sep, 2022 1 commit
-
-
YosuaMichael authored
* Remove cpp models * Also remove the whole models folder in csrc * Cleanup test for cpp model
-
- 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>
-
- 18 Aug, 2022 2 commits
-
-
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>
-
- 03 Aug, 2022 3 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
Summary: provider callback uses video sampler to copy/scale input frames using sws_scale function, added option to use av_image_copy to copy image planes in case if sws_getContext fails (required to support AV_PIX_FMT_PAL8 pixel format) Reviewed By: ovoietsa Differential Revision: D36466749 fbshipit-source-id: 1674f98a362db835d147800c24bdda6f82d2f8ff Co-authored-by:Sergiy Bilobrov <sergiy@fb.com>
-
Vasilis Vryniotis authored
Summary: Resolves https://www.internalfb.com/tasks/?t=128004042 Caused by TorchVision's PR at https://github.com/pytorch/vision/pull/6322 which was in response to a change on PyTorch Core at https://github.com/pytorch/pytorch/pull/82032 Reviewed By: fmassa Differential Revision: D38383266 fbshipit-source-id: 3f0ebd04a610031c4720123d1869a851f76455cd
-
- 27 Jul, 2022 1 commit
-
-
vfdev authored
-
- 09 Jun, 2022 1 commit
-
-
Nikita Shulga authored
As @vfdev-5 proposed in https://github.com/pytorch/vision/issues/6138#issuecomment-1150398081 Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 08 Jun, 2022 1 commit
-
-
Nicolas Hug authored
* [quant][core][better-engineering] Rename files in quantized directory to conform with non-quantized countertpart filenames (#77037) Summary: X-link: https://github.com/pytorch/pytorch/pull/77037 Names of analogous files in quantized directory (previously snake case) were inconsistent with their non-quantized filename counterparts (pascal case). This is the first of a series of PRs that changes all files in quantized (and sub-directories) dir to have pascal case. `aten/src/ATen/native/quantized/qconv_unpack.cpp` has not been renamed yet because (for reasons currently unknown) after making the name change, `import torch` produces the below error (`qlinear_unpack.cpp` renaming also seems to fail some phabricator CI tests for similar reasons). We suspect that these may be undefined errors and will revisit naming these files in a future PR. ``` terminate called after throwing an instance of 'c10::Error' what(): Type c10::intrusive_ptr<ConvPackedParamsBase<2> > could not be converted to any of the known types. Exception raised from operator() at ../aten/src/ATen/core/jit_type.h:1735 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x55 (0x7f26745c0c65 in /data/users/dzdang/pytorch/torch/lib/libc10.so) frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0xb1 (0x7f26745bdcd1 in /data/users/dzdang/pytorch/torch/lib/libc10.so) frame #2: <unknown function> + 0x1494e24 (0x7f2663b14e24 in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #3: <unknown function> + 0xfed0bc (0x7f266366d0bc in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #4: c10::detail::infer_schema::make_function_schema(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>) + 0x5a (0x7f266366d71a in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #5: c10::detail::infer_schema::make_function_schema(c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>) + 0x7b (0x7f266366e06b in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #6: <unknown function> + 0x1493f32 (0x7f2663b13f32 in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #7: <unknown function> + 0xe227dd (0x7f26634a27dd in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #8: <unknown function> + 0x14e0a (0x7f268c934e0a in /lib64/ld-linux-x86-64.so.2) ..........................truncated............. ``` Reviewed By: malfet Differential Revision: D36862332 Pulled By: dzdang fbshipit-source-id: 598c36656b4e71f906d940e7ff19ecf82d43031d * empty commit * empty commit * empty commit Co-authored-by:
dzdang <dzdang@umich.edu> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 30 May, 2022 1 commit
-
-
YosuaMichael authored
Differential Revision: D36671123 fbshipit-source-id: eb99f293978ed150bca60073115971586f0fa02a Co-authored-by:
Oleksandr Voietsa <ovoietsa@fb.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 19 Apr, 2022 1 commit
-
-
puhuk authored
To resolve issue #5815 Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 31 Mar, 2022 1 commit
-
-
Nicolas Hug authored
-
- 25 Mar, 2022 1 commit
-
-
Bruno Korbar authored
* fix for FFMPEG 5.0 * Attempt to fix memory leak * early stop when mem alloc fails * fix c lint error * fix bug * revert changes * remove incorrect av_packet_free * add `av_packet_free` to subtitle stream * Addressing subtitle stream comments * addressing decoder changes * nit * addressing datumbox concernsz * averror push * addressing comments * Apply suggestions from code review * add new error code to documentation * re-introducing timeout * fix c++ syntax Co-authored-by:
Bruno Korbar <bkorbar@quansight.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com> Co-authored-by:
Joao Gomes <joaopsgomes@gmail.com>
-
- 02 Mar, 2022 1 commit
-
-
Prabhat Roy authored
-
- 01 Mar, 2022 2 commits
-
-
Prabhat Roy authored
-
Prabhat Roy authored
-
- 25 Feb, 2022 1 commit
-
-
Nicolas Hug authored
-
- 15 Feb, 2022 1 commit
-
-
vfdev authored
* Removed custom ops for interp with AA * Fixed umft issues Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 11 Feb, 2022 1 commit
-
-
Joao Gomes authored
fbshipit-source-id: 85954dbb817fac16099a3b103b24defc1a8672f8 (cherry picked from commit 9642c8e710e8911c64b9878f51a30ecde95ac90a) Co-authored-by:Richard Barnes <rbarnes@fb.com>
-
- 08 Feb, 2022 1 commit
-
-
Philip Meier authored
* properly deprecate legacy implementation * cleanup * use warning over deprecation directive * remove patch version * fix link in Kinetics docstring * Some more * fix affine functional tests Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 01 Feb, 2022 1 commit
-
-
Prabhat Roy authored
-
- 27 Jan, 2022 1 commit
-
-
Prabhat Roy authored
-
- 24 Jan, 2022 2 commits
-
-
Prabhat Roy authored
* Add seek in GPU decoder * Merge the two tests * Refine unit test
-
Prabhat Roy authored
-
- 19 Jan, 2022 1 commit
-
-
Prabhat Roy authored
* Return RGB frames as output of GPU decoder * Move clamp to the conversion function * Cleaned up a bit * Remove utility functions from test * Use data member width directly * Fix linter error
-
- 17 Jan, 2022 1 commit
-
-
Daniel Falbel authored
* Conditionally include Python in the C++ builds. Added an option `USE_PYTHON` that allows users to decide to link to Python3 or not. * Also conditionally include this defintion. * Define `USE_PYTHON` for the Windows builds. * Remove Python3 reference in CMake test as it's no longer required. * Accidentally removed the closing > from the decl. * Also add `USE_PYTHON` when building the separate image library on Windows. * Also conditionally include this depening on USE_PYTHON. * Go back to require Python for this example. * Find Python in the hello world example. * Add a paragraph documenting the `USE_PYTHON` option. Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-