"vscode:/vscode.git/clone" did not exist on "b46482e8d0c338e24177bb3c32bb4ea82ebff59a"
  1. 21 Apr, 2022 1 commit
  2. 28 Jan, 2022 1 commit
  3. 24 Jan, 2022 1 commit
  4. 19 Jan, 2022 1 commit
  5. 17 Jan, 2022 1 commit
    • Daniel Falbel's avatar
      Conditionally include Python in the C++ builds. (#5190) · 5e56575e
      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: default avatarPrabhat Roy <prabhatroy@fb.com>
      5e56575e
  6. 07 Jan, 2022 1 commit
  7. 30 Dec, 2021 1 commit
    • Prabhat Roy's avatar
      Add video GPU decoder (#5019) · 64d21d12
      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: default avatarFrancisco Massa <fvsmassa@gmail.com>
      64d21d12
  8. 08 Dec, 2021 1 commit
  9. 16 Nov, 2021 1 commit
  10. 28 Oct, 2021 1 commit
  11. 25 Oct, 2021 1 commit
  12. 21 Oct, 2021 1 commit
  13. 11 Oct, 2021 1 commit
  14. 04 Oct, 2021 2 commits
    • Nicolas Hug's avatar
      Fix all outstanding flake8 issues (#4535) · b81d189d
      Nicolas Hug authored
      b81d189d
    • Philip Meier's avatar
      Add ufmt (usort + black) as code formatter (#4384) · 5f0edb97
      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: default avatarNicolas Hug <nicolashug@fb.com>
      5f0edb97
  15. 30 Sep, 2021 1 commit
  16. 16 Sep, 2021 2 commits
  17. 14 Sep, 2021 1 commit
  18. 17 Aug, 2021 1 commit
  19. 06 Aug, 2021 1 commit
  20. 01 Jul, 2021 1 commit
  21. 11 Jun, 2021 1 commit
  22. 10 Jun, 2021 1 commit
  23. 11 May, 2021 1 commit
  24. 27 Apr, 2021 1 commit
    • Guillem Orellana Trullols's avatar
      Proper error message (#3725) · fbf547cf
      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: default avatarPrabhat Roy <prabhatroy@fb.com>
      fbf547cf
  25. 07 Apr, 2021 1 commit
  26. 30 Mar, 2021 1 commit
    • Nicolas Hug's avatar
      Add quantized version of nms (#3601) · f74bfab6
      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
      f74bfab6
  27. 01 Mar, 2021 1 commit
  28. 22 Feb, 2021 1 commit
  29. 26 Jan, 2021 1 commit
  30. 22 Dec, 2020 1 commit
  31. 11 Dec, 2020 1 commit
  32. 10 Dec, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Restructuring C++ project: (#3146) · 7d831a2f
      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
      7d831a2f
  33. 04 Dec, 2020 1 commit
  34. 02 Dec, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Encapsulate and Standardise C++ Ops (#3097) · 0ebbb0ab
      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.
      0ebbb0ab
  35. 16 Nov, 2020 1 commit
  36. 09 Nov, 2020 1 commit
  37. 27 Oct, 2020 1 commit
  38. 07 Oct, 2020 1 commit
    • Bruno Korbar's avatar
      (WIP) Initial implementation of the new videoReader API (#2683) · 87c78641
      Bruno Korbar authored
      
      
      * adding base files
      
      * setup modification to actually build the thing
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * adding base files
      
      * setup modification to actually build the thing
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * metadata registration works
      
      * API build next
      
      * test
      
      * Merge change
      
      * formatting parameters to avoid the segfault
      
      * next now works on a video
      
      * make size of the output tensor format dependent
      
      * Make next work on audio stream only as well
      
      * refactoring the _setCurrentStream param
      
      * Fixing the last frame return and sensor
      
      * todo docs
      
      * Formatting
      
      * cleanup and comments
      
      * introducing new tests for the API
      
      * cleanup
      
      * Comment out unnecesary format (will add following FFMPEG fix)
      
      * Reformat parsing function
      
      * removing the seek bug `get_decoder_params`
      
      * Removing unnecessary code/variables
      
      * enforce RGB24 as a reading format (will crash before ffmpeg fix)
      
      * permute the dimensions to return (RGB x H x W)
      
      * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list
      
      * Adjusting tests for the new return type
      
      * remove unnecessary jitter
      
      * clangangangang
      
      * Metadata return changes (#1)
      
      * remove implicit calls to set a current stream (#2)
      
      * Adding new tests to check the accuracy of the seek
      
      * cleanup debugging statements
      
      * adding base files
      
      * setup modification to actually build the thing
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * adding base files
      
      * video api constructor registration
      
      * FAIL metadata
      
      * FAIL update for QS
      
      * revert
      
      * debugging with Victor
      
      * metadata registration works
      
      * API build next
      
      * test
      
      * Merge change
      
      * formatting parameters to avoid the segfault
      
      * next now works on a video
      
      * make size of the output tensor format dependent
      
      * Make next work on audio stream only as well
      
      * refactoring the _setCurrentStream param
      
      * Fixing the last frame return and sensor
      
      * todo docs
      
      * Formatting
      
      * cleanup and comments
      
      * introducing new tests for the API
      
      * cleanup
      
      * Comment out unnecesary format (will add following FFMPEG fix)
      
      * Reformat parsing function
      
      * removing the seek bug `get_decoder_params`
      
      * Removing unnecessary code/variables
      
      * enforce RGB24 as a reading format (will crash before ffmpeg fix)
      
      * permute the dimensions to return (RGB x H x W)
      
      * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list
      
      * Adjusting tests for the new return type
      
      * remove unnecessary jitter
      
      * clangangangang
      
      * Metadata return changes (#1)
      
      * remove implicit calls to set a current stream (#2)
      
      * Adding new tests to check the accuracy of the seek
      
      * cleanup debugging statements
      
      * Addressing PR comments
      
      * addressing Francisco's comments
      
      * CLANG build formatting
      
      * Updated testing to test against pyav for the video tensor reads
      
      * Formatting
      
      * remove pyav from pip deps and add it to conda build
      
      * add pyav and ffmeped to conda builds
      
      * Formatting?
      
      * Setting up linter once and for all hopefully
      
      * Testing pyav
      
      * Fix to 8.0.0
      
      * Try 6.2.0
      
      * See what happens with av from pip
      
      * Remove FFMPEG blocker
      
      * What is going on?
      
      * More tests
      
      * Forgot something
      
      * unblocker
      
      * Check if cache is messing up with things
      
      * Now try with different ffmpeg
      
      * Now try with different ffmpeg
      
      * Testing pyav
      
      * Fix to 8.0.0
      
      * Try 6.2.0
      
      * See what happens with av from pip
      
      * What is going on?
      
      * More tests
      
      * Forgot something
      
      * Check if cache is messing up with things
      
      * Now try with different ffmpeg
      
      * Now try with different ffmpeg
      
      * Do not install av
      
      * Test with ffmpeg 4.2
      
      * clean up video tests
      
      * cleaning up the tests a bit to better test partial reading
      
      * arrgh linter
      
      * Forgot the av test
      
      * forgot av test
      
      * checkout build files from master
      
      * revert circleci
      
      * addressing Franciscos comments
      
      * addressing Franciscos comments
      
      * Ignore ffmpeg in travis
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      Co-authored-by: default avatarEdgar Andrés Margffoy Tuay <andfoy@gmail.com>
      87c78641