- 09 Jun, 2021 2 commits
-
-
Prabhat Roy authored
* Fixed some ffmpeg deprecation warnings in decoder * Fixed clang error Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Prabhat Roy authored
-
- 08 Jun, 2021 1 commit
-
-
Prabhat Roy authored
* Fixed comparison warnings in audio_stream and video_stream * Fixed clang error
-
- 07 Jun, 2021 1 commit
-
-
Prabhat Roy authored
This reverts commit f6b6b510.
-
- 04 Jun, 2021 1 commit
-
-
Prabhat Roy authored
* Fixed read_image bug * Removed unused import * Skip tests if cv2 unavailable * Removed cv2 dependency
-
- 01 Jun, 2021 3 commits
-
-
Bruno Korbar authored
* remove unused functions * shut up annoying warnings via cast * prabhat's comments * Fixed clang format error Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
Nicolas Hug authored
-
Nicolas Hug authored
-
- 24 May, 2021 1 commit
-
-
Nicolas Hug authored
-
- 21 May, 2021 3 commits
-
-
Vasilis Vryniotis authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Bruno Korbar authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
Bruno Korbar authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 19 May, 2021 1 commit
-
-
vfdev authored
* Added CUDA support for interpolation AA bilinear/bicubic * Fixed code formatting error * Fixed cuda tests on cpu-only builds * Fixed cuda internal torch check for bicubic mode
-
- 13 May, 2021 1 commit
-
-
vfdev authored
* Added support for bicubic mode with AA * Updated comment in the test
-
- 11 May, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:James Thewlis <james@unitary.ai>
-
- 10 May, 2021 1 commit
-
-
vfdev authored
* WIP Added antialias option to transforms.functional.resize * Updates according to the review * Excluded these C++ files for iOS build * Added support for mixed downsampling/upsampling * Fixed heap overflow caused by explicit loop unrolling * Applied PR review suggestions - used pytest parametrize instead unittest - cast to scalar_t ptr - removed interpolate aa files for ios/android keeping original cmake version
-
- 27 Apr, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 13 Apr, 2021 1 commit
-
-
Francisco Massa authored
-
- 08 Apr, 2021 1 commit
-
-
Nicolas Hug authored
* WIP * clang * docs * extracted out common utils * Use better quantization function and pass tensors as parameters * proper dequantization * Some tests * Dequantization optimization, seems to gain a few ms * clang-format * again * more correct test. Had to remove optimization although it almost works * Also test aligned=True * remove useless part * more docs and comments * Put back optimization with more robust test * Added check for index upper bound * avoid possible overflow * Move common function into common.h * oops * scale=1,zero_point=0 makes more sense * Force batch size of 1 to prevent any indexingbug * format * format again * updated docstring * put back description comment for pre_calc_bilinear_interpolate * revert most changes to docstring as it's taken care of in another PR
-
- 31 Mar, 2021 2 commits
-
-
Francisco Massa authored
This reverts commit 3bfdb427.
-
Nicolas Hug authored
* minor clean up * do same for ps_roialign Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 30 Mar, 2021 1 commit
-
-
Nicolas Hug authored
* Add quantized version of nms * Added tests * Compute areas only once * remove calls to dequantize_val * fix return type for empty tensor * flake8 * remove use of scale as it gets cancelled out * simpler int convertion in tests * explicitly set ovr to double * add tests for more values of scale and zero_point * comment about underflow * remove unnecessary accessor * properly convert to float for division * Add comments about underflow * explicitely cast coordinates to float to allow vectorization * clang * clang again * hopefully OK now
-
- 24 Mar, 2021 1 commit
-
-
Bruno Korbar authored
* multithreading allowed in stream codec context * numThreads is passed as a decoder parameter. At this stage code should be unchanged * enabling multithreading in videoReader API * moving defaults to header files * replace long with int64_t because torchscript * docstring for Num threads * Enable codec-related heuristics as defaults * Update torchvision/csrc/io/decoder/stream.cpp Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Fixing build errors * minor docs * Linting * updating defaults for the C++ function calls to be single threaded * adding special case for single threaded stuff Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 12 Mar, 2021 1 commit
-
-
Edgar Andrés Margffoy Tuay authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 10 Mar, 2021 1 commit
-
-
Bruno Korbar authored
* Stash commit * Refactoring the current tests in a simpler file * Addressing Francisco's comments, attempt 1 * Remove old tests * audio changes * adding some comments * Stash commit * Refactoring the current tests in a simpler file * Addressing Francisco's comments, attempt 1 * Remove old tests * audio changes * adding some comments * adding the py39 check stuff Co-authored-by:
Bruno Korbar <korbar@vggdev9.vggdev.cluster> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 15 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Replace type T with accumulator. * Upcast tensors of box ops to avoid overflow in multiplications.
-
- 12 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 11 Feb, 2021 2 commits
-
-
bmanga authored
* On MSVC, instruct the linker not to drop the _register_ops symbol * Remove workaround for ops registration on windows Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Vasilis Vryniotis authored
Summary: Noticed this copy-paste error while reading D26026259 (https://github.com/pytorch/vision/commit/f16322b596c7dc9e9d67d3b40907694f29e16357) for inspiration to solve a similar problem Created from Diffusion's 'Open in Editor' feature. Reviewed By: datumbox Differential Revision: D26373056 fbshipit-source-id: d67f46243a280e8a59d12bad9dd730c1a3d512c9
-
- 04 Feb, 2021 1 commit
-
-
Ivan Kobzarev authored
* [android] android gradle project for ops * Change CMakeLists to latest PyTorch * Use mobilenet_v3 models for detection Don't need to have two variants of the model anymore, but I'm not removing it for now * Fix orientation when angle = 0 * [android][test_app] Fix YUV decoding * Use smaller version of mobilenet model * Divide inputs by 255 again * [android] assets mobilenetv3 Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 29 Jan, 2021 1 commit
-
-
Francisco Massa authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 28 Jan, 2021 2 commits
-
-
Vasilis Vryniotis authored
* Moving jpegcommon inside cpu implementation * Adding namespaces on image and moving private methods to anonymous. * Fixing headers. * Renaming public image methods to match the ones on python. * Refactoring to remove the double ifs in common_jpeg.h
-
Vasilis Vryniotis authored
* Moving registration of video methods in Video.cpp and removing unnecessary includes. * Rename files according to cpp styles. * Adding namespaces and moving private methods to anonymous namespaces. * Syncing method names. * Fixing minor issues.
-
- 27 Jan, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 25 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
Summary: Upgrading service to platform009 enforces tls1.3 authentication. Specify tls cert file to decoder through config. Context: https://fb.workplace.com/groups/2020511478062223 Differential Revision: D26026259 fbshipit-source-id: e89f88ff7e41ec6b6a62e85d9015d78f6377aa65
-
- 22 Jan, 2021 1 commit
-
-
Ștefan Săftescu authored
The video reader suppressed code 61 (ENODATA on Linux) that occured at the end of a stream and logged an INFO message. On macOS ENODATA has a different code (96), which resulted in an error message being logged. This small patch replaces the hard-coded value with the ENODATA constant to suppress the macOS warning. Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 14 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 04 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Adding TORCH_SELECTIVE_* macros on op registration. * Adding torchvision namespace.
-
- 20 Dec, 2020 1 commit
-
-
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
-
- 14 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Removing VISION_API from backward() methods and adding a ops.h * Fixing clang format.
-