- 05 Jul, 2022 1 commit
-
-
vcarpani authored
* Refactor setup.py to build only wanted extensions. * Improve visual feedback for libpng support in setup.py. * Improve printing of extensions finding in setup.py. * Fix linter errors. * Apply suggestions from code review Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 23 Jun, 2022 1 commit
-
-
vcarpani authored
* Add flag to ignore ffmpeg in python build. * Update setup.py to avoid potential collisions with other projects that are using FFMPEG Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 21 Apr, 2022 1 commit
-
-
Bruno Korbar authored
Co-authored-by:
Bruno Korbar <bkorbar@quansight.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 28 Jan, 2022 1 commit
-
-
Philip Meier authored
* run mypy on Python 3.9 * appease mypy * Revert "run mypy on Python 3.9" This reverts commit b935c8310ca755851f523af5aeb3a6f120b95abf.
-
- 24 Jan, 2022 1 commit
-
-
Mark Harfouche authored
* Allow gcc to be overwritten with an environment variable * change quoting style Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 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>
-
- 07 Jan, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 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>
-
- 08 Dec, 2021 1 commit
-
-
Philip Meier authored
* Revert "[FBcode->GH] remove unused requests functionality (#5014)" This reverts commit 33123bee. * Revert "replace requests with urllib (#4973)" This reverts commit 8d25de7b. * add requests as hard dependency * install library stubs in CI * fix syntax * add requests to conda dependencies * fix mypy CI
-
- 16 Nov, 2021 1 commit
-
-
F-G Fernandez authored
* chore: Updated pillow version specifier * docs: Updated issue ref in comment
-
- 28 Oct, 2021 1 commit
-
-
Jirka Borovec authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 25 Oct, 2021 1 commit
-
-
Prabhat Roy authored
* Removed unnecessary if from setup.py * Removed empty line
-
- 21 Oct, 2021 1 commit
-
-
Philip Meier authored
* fix category file inclusion * fix deprecated import
-
- 11 Oct, 2021 1 commit
-
-
Muhammed Abdullah authored
-
- 04 Oct, 2021 2 commits
-
-
Nicolas Hug authored
-
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>
-
- 30 Sep, 2021 1 commit
-
-
Philip Meier authored
* add prototype for `Caltech256` dataset * silence mypy
-
- 16 Sep, 2021 2 commits
-
-
Prabhat Roy authored
* Enable building torchvision with ffmpeg regardless of version on Linux * Skip tests with python 3.9 * Removed PY39_SKIP * Cleaned up a bit
-
Prabhat Roy authored
* Skip building torchvision with ffmpeg when python==3.9 * Add FIXME to comments
-
- 14 Sep, 2021 1 commit
-
-
Prabhat Roy authored
* Fix ffmpeg version * Ignore platforms other than Linux for ffmpeg * Removed unnecessary changes
-
- 17 Aug, 2021 1 commit
-
-
Jithun Nair authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 06 Aug, 2021 1 commit
-
-
Vincent Moens authored
* string manipulation for ffmpeg version retrieval * ffmpeg version 4.2 control * commenting solution * removing all escapes for spaces Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 01 Jul, 2021 1 commit
-
-
Nicolas Hug authored
-
- 11 Jun, 2021 1 commit
-
-
Prabhat Roy authored
* Added warning message for unsupported ffmpeg version * Replaced os.popen with subprocess.run * Removed capture_true argument
-
- 10 Jun, 2021 1 commit
-
-
Alexander Grund authored
Do this after the version check to avoid failures on import for earlier torch where that module did not exist. See #3901 Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 11 May, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:James Thewlis <james@unitary.ai>
-
- 27 Apr, 2021 1 commit
-
-
Guillem Orellana Trullols authored
* Proper error message Now when there are missing ffmpeg libraries the error displayed is: ``` {0} header files were not found, disabling ffmpeg. ``` This is because the missing `.format`. This PR fixes the warning message by appending the proper format operation. * Use f-string Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 07 Apr, 2021 1 commit
-
-
Nicolas Hug authored
* bump to 5.3.0 * Also make 3.6 CI runs rely on 5.3.0
-
- 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
-
- 01 Mar, 2021 1 commit
-
-
Philip Meier authored
Co-authored-by:
Philip Meier <pmeier.github@posteo.de> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 22 Feb, 2021 1 commit
-
-
Francisco Massa authored
This reverts commit 74de51d6.
-
- 26 Jan, 2021 1 commit
-
-
Bernhard M. Wiedemann authored
-
- 22 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
-
- 11 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
-
- 10 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
Summary: * Reduce unnecessary header inclusions in models and io. * Move autocast to separate folder and hide autograd implementation in an anonymous namespace. * Moving files in subfolders. Reviewed By: fmassa Differential Revision: D25461523 fbshipit-source-id: 756eeb6848aacaa474de4825ed4c1045d17e2cea
-
- 04 Dec, 2020 1 commit
-
-
Edgar Andrés Margffoy Tuay authored
-
- 02 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Encapsulate and standardize deform_conv2d (#3074) * Rename files. * Standardizing method names. * Adding anonymous namespaces. * Applying C++ naming rules and alinging variable names across headers and cpp files. * Syncing names across implementations. * Rename deform_conv2d.h to deform_conv2d.cpp * Use header files: - Create header files for kernel implementation and remove definitions from vision_*.h files. - Eliminate unnecessary headers and ensure all cpp include their headers. * Change the naming convention for kernel implementations. * Remove the _param postfix from the variables and standardizing names. * Exposing public forward/backward methods to the C++ API and moving methods around to minimize git blame changes. * Encapsulate and standardize nms (#3081) * Syncing, where possible, the names of functions across devices. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Update CMakeLists.txt to include all headers. * Encapsulate and standardize ps_roi_align (#3082) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. Syncing, where possible, the names of functions across devices. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize ps_roi_pool (#3084) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize roi_align (#3085) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize roi_pool (#3088) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Adding all internal functions in anonymous namespaces. * Syncing variable names between the cpp files and their header files. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize new_empty_tensor_op (#3089) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Create foreach cpp file a separate header file with "public" functions. * Adding all internal functions in anonymous namespaces. * Convert to const ref all possible parameters. * Removing unnecessary repeated includes. * Encapsulate and standardize C++ Ops - Clean up (#3094) * Removing unnecessary repeated includes. * Remove unnecessary vision_cpu.h, vision_cuda.h, autocast.h. * Fixing naming convention and correcting method names on macros. * Turn on clang formatter for cu files and fixing broken styles. * Replace "#ifndef ... #define ... #endif" with "#pragma once" on header files. * Adding operator methods in vision::ops namespace. (#3096) * Adding operator methods in vision::ops namespace. * Replace general.h with macros.h * Adding vision.h to the necessary cpp files.
-
- 16 Nov, 2020 1 commit
-
-
vfdev authored
* Fixes #2783 - Added "-fopenmp" cflags - Refactored cxx flags creation * Fixed for macosx
-
- 09 Nov, 2020 1 commit
-
-
Nikita Shulga authored
I.e. put all file system altering operations under `if __name__ == "__main__":`
-