- 24 Jan, 2022 1 commit
-
-
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>
-
- 30 Dec, 2021 1 commit
-
-
Prabhat Roy authored
* [WIP] Add video GPU decoder * Expose use_dev_frame to python class and handle it internally * Fixed invalid argument CUDA error * Fixed empty and missing frames * Free remaining frames in the queue * Added nv12 to yuv420 conversion support for host frames * Added unit test and cleaned up code * Use CUDA_HOME inside if * Undo commented out code * Add Readme * Remove output_format and use_device_frame optional arguments from the VideoReader API * Cleaned up init() * Fix warnings * Fix python linter errors * Fix linter issues in setup.py * clang-format * Make reformat private * Member function naming * Add comments * Variable renaming * Code cleanup * Make return type of decode() void * Replace printing errors with throwing runtime_error * Replaced runtime_error with TORCH_CHECK in demuxer.h * Use CUDAGuard instead of cudaSetDevice * Remove printf * Use Tensor instead of uint8* and remove cuMemAlloc/cuMemFree * Use TORCH_CHECK instead of runtime_error * Use TORCHVISION_INCLUDE and TORCHVISION_LIBRARY to pass video codec location * Include ffmpeg_include_dir * Remove space * Removed use of runtime_error * Update Readme * Check for bsf.h * Change struct initialisation style * Clean-up get_operating_point * Make variable naming convention uniform * Move checking for bsf.h around * Fix linter error Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Dec, 2021 1 commit
-
-
peterbell10 authored
* Fix missing Torch includes * Import op_registration directly
-
- 21 Dec, 2021 1 commit
-
-
Kai Zhang authored
* add api usage log for io * cover VideoReader * cover c++ APIs * add api usage log for io * cover VideoReader * cover c++ APIs * add _cpp suffix to c++ APIs * use new API and change cpp format * remove _cpp suffix * adopt new API * lint
-
- 16 Dec, 2021 1 commit
-
-
Kai Zhang authored
* log API v3 * make torchscript happy * make torchscript happy * add missing logs to constructor * log ops C++ API as well * fix type hint * check function with isinstance Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 14 Dec, 2021 1 commit
-
-
Zhiqiang Wang authored
-
- 22 Nov, 2021 1 commit
-
-
Joao Gomes authored
* change to stable sort in nms implementations
-
- 11 Nov, 2021 1 commit
-
-
Vasilis Vryniotis 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
- 05 Nov, 2021 1 commit
-
-
Prabhat Roy authored
-
- 03 Nov, 2021 1 commit
-
-
Bruno Korbar authored
* modify processPacket to support fast seek * add fastSeek to ProcessPacket decoder definition * add fastseek flag to DecoderParametersStruct * add fastseek flag to the process packet call * no default params in C++ implementation * enable flag in C++ implementation * make order of parameters more normal * register new seek with python api * [somewhat broken] test suite for keyframes using pyav * revert " changes * add type annotations to init * Adding tests * linter * Flake doesn't show up :| * Change from unitest to pytest syntax * add return type Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 26 Oct, 2021 3 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/4620 Pull Request resolved: https://github.com/pytorch/nestedtensor/pull/455 Fixes missing kernel guards as identified by D30072495 Reviewed By: jingsh, xush6528 Differential Revision: D31553158 fbshipit-source-id: 80de017ba2ddc52e2a684df9b3eae5de84ed49f4 Co-authored-by:
Richard Barnes <rbarnes@fb.com>
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/4571 Fixing windows build for `torchvision` when `MOBILE` is defined. In `csrc/vision.cpp`, since `PyMODINIT_FUNC` depends on `Python.h` I added the same condition for `PyMODINIT_FUNC` as the one for `import <PyTorch.h>`. Reviewed By: malfet Differential Revision: D31488734 fbshipit-source-id: fd52a9ab161288d9c8bf3b9e0ab9da856a4ebadb Co-authored-by:
Mengwei Liu <larryliu@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>
-
- 18 Oct, 2021 1 commit
-
-
Bruno Korbar authored
* initial commit * initial commit * flake8 * last nits Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 27 Sep, 2021 1 commit
-
-
peterbell10 authored
* Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 17 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Windows use size_t * Temporarily pin jpeg <=9b * Temporarily pin jpeg ==9c * Remove pinning.
-
- 10 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Add deprecation warnings on vision::models * Change the C++ example. * Chage readme. * Update deprecation warning.
-
- 06 Sep, 2021 1 commit
-
-
vfdev authored
* WIP on fixing index overflow issue * Fixed backward pass for large num_kernels * Fixed clang formatting * Fixed GET_BLOCKS int/int64_t types issue Co-authored-by:
vfdev-5 <vfdev-5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 01 Sep, 2021 1 commit
-
-
Prabhat Roy authored
* Fixed a couple of typos and removed unnecessary bracket * Fixed clang error
-
- 26 Aug, 2021 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
[FBcode->GH] Port quantize_val and dequantize_val into torchvision to avoid at::native and android xplat incompatibility (#4311) Summary: This diff ports `quantize_val` and `dequantize_val` from at::native to torchvision because native kernels are incompatible with android xplat builds (see D30234056). This should only be temporary until we find a way to move those functions out of at::native, or until the at::native / android incompatibility disappears. Reviewed By: fmassa Differential Revision: D30393619 fbshipit-source-id: 18b7b1b349ad9a24088a120e23da7535f7fa7ddc Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 19 Aug, 2021 1 commit
-
-
zzk1st authored
* Unpinned the libjpeg version and fixed jpeg_mem_dest's size type Windows BC issue * Temporarily get back pinned jpeg lib in order to run tests on CircleCI * Revert "Temporarily get back pinned jpeg lib in order to run tests on CircleCI" This reverts commit ab18a354150f750256b61911e54aa48621ef24cd. * Used using instead of typedef and Fixed comment typo Co-authored-by:
Zhongkai Zhu <zhongkai@fb.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 16 Aug, 2021 1 commit
-
-
Bruno Korbar authored
* document video_sampler. * minor docs for decoder.cpp * descriptive comments for the stream.c * descriptive comments for decoder.cpp * per-stream descriptive comments * Fixing CLANG hopefully * addressing prabhat's comments * typo I think Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 12 Aug, 2021 1 commit
-
-
Vincent Moens authored
* interlaced png images Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 04 Aug, 2021 1 commit
-
-
vfdev authored
* WIP on backward op interpolation with AA * Removed cuda tests and reformat cpp code * Fixed clang wrong formatting * Added channels last test case * Added CUDA support for backward pass, interpolation with AA * Removed unused buffers Co-authored-by:vfdev-5 <vfdev-5@gmail.com>
-
- 28 Jul, 2021 1 commit
-
-
vfdev authored
* WIP on backward op interpolation with AA * Removed cuda tests and reformat cpp code * Fixed clang wrong formatting * Added channels last test case Co-authored-by:
vfdev-5 <vfdev-5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 28 Jun, 2021 1 commit
-
-
cyy authored
Co-authored-by:
Nicolas Hug <nicolashug@fb.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 24 Jun, 2021 1 commit
-
-
cyy authored
-
- 10 Jun, 2021 1 commit
-
-
Prabhat Roy authored
-
- 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
-