1. 09 May, 2023 1 commit
  2. 24 Mar, 2023 1 commit
  3. 08 Mar, 2023 1 commit
  4. 27 Jan, 2023 1 commit
  5. 09 Nov, 2022 1 commit
  6. 26 Sep, 2022 1 commit
  7. 22 Jul, 2022 1 commit
  8. 05 Jul, 2022 1 commit
  9. 23 Jun, 2022 1 commit
  10. 21 Apr, 2022 1 commit
  11. 28 Jan, 2022 1 commit
  12. 24 Jan, 2022 1 commit
  13. 19 Jan, 2022 1 commit
  14. 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
  15. 07 Jan, 2022 1 commit
  16. 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
  17. 08 Dec, 2021 1 commit
  18. 16 Nov, 2021 1 commit
  19. 28 Oct, 2021 1 commit
  20. 25 Oct, 2021 1 commit
  21. 21 Oct, 2021 1 commit
  22. 11 Oct, 2021 1 commit
  23. 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
  24. 30 Sep, 2021 1 commit
  25. 16 Sep, 2021 2 commits
  26. 14 Sep, 2021 1 commit
  27. 17 Aug, 2021 1 commit
  28. 06 Aug, 2021 1 commit
  29. 01 Jul, 2021 1 commit
  30. 11 Jun, 2021 1 commit
  31. 10 Jun, 2021 1 commit
  32. 11 May, 2021 1 commit
  33. 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
  34. 07 Apr, 2021 1 commit
  35. 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
  36. 01 Mar, 2021 1 commit
  37. 22 Feb, 2021 1 commit
  38. 26 Jan, 2021 1 commit