1. 12 Dec, 2022 1 commit
  2. 06 Dec, 2022 1 commit
  3. 05 Dec, 2022 1 commit
  4. 02 Dec, 2022 1 commit
  5. 30 Nov, 2022 1 commit
  6. 29 Nov, 2022 2 commits
  7. 28 Nov, 2022 2 commits
  8. 25 Nov, 2022 1 commit
  9. 21 Nov, 2022 1 commit
    • Joao Gomes's avatar
      [FBcode->GH] Cherrypick bkorbar pyavapi (#6963) · c00b9531
      Joao Gomes authored
      
      
      * [fbsync] Bkorbar/pyavapi (#6943)
      
      Summary:
      * Test: add backend parameter
      
      * VideoReader object now works on backend
      
      * Frame reading now passes
      
      * Keyframe seek now passes
      
      * Pyav backend now supports metadata
      
      * changes in test to reflect GPU decoder change
      
      * Linter?
      
      * Test GPU output
      
      * Addressing Joao's comments
      
      * lint
      
      * lint
      
      * Revert "Test GPU output"
      
      This reverts commit f62e955d7dc81bcb23b40d58ea75413b9b62e76d.
      
      * lint?
      
      * lint
      
      * lint
      
      * Address issues in build?
      
      * hopefully doc fix
      
      * Arrgh
      
      * arrgh
      
      * fix typos
      
      * fix input options
      
      * remove read from memory option in pyav
      
      * skip read from mem test for gpu and pyab be
      
      * fix test
      
      * remove unused import
      
      * Hack to get reading from memory work with pyav
      
      * patch audio test
      
      * gallery change in a hope that docs won't break
      
      * check video decoder inside io
      
      * adding missing lib loading code
      
      * remove unused input
      
      Reviewed By: YosuaMichael
      
      Differential Revision: D41376278
      
      fbshipit-source-id: 1575f63a524227e69187990d88973fc50f705217
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      
      * cherrypick chages made during fbsync
      Co-authored-by: default avatarJoao Gomes <jdsgomes@meta.com>
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      c00b9531
  10. 18 Nov, 2022 1 commit
  11. 17 Nov, 2022 2 commits
    • Bruno Korbar's avatar
      Bkorbar/pyavapi (#6943) · d710f3d1
      Bruno Korbar authored
      
      
      * Test: add backend parameter
      
      * VideoReader object now works on backend
      
      * Frame reading now passes
      
      * Keyframe seek now passes
      
      * Pyav backend now supports metadata
      
      * changes in test to reflect GPU decoder change
      
      * Linter?
      
      * Test GPU output
      
      * Addressing Joao's comments
      
      * lint
      
      * lint
      
      * Revert "Test GPU output"
      
      This reverts commit f62e955d7dc81bcb23b40d58ea75413b9b62e76d.
      
      * lint?
      
      * lint
      
      * lint
      
      * Address issues in build?
      
      * hopefully doc fix
      
      * Arrgh
      
      * arrgh
      
      * fix typos
      
      * fix input options
      
      * remove read from memory option in pyav
      
      * skip read from mem test for gpu and pyab be
      
      * fix test
      
      * remove unused import
      
      * Hack to get reading from memory work with pyav
      
      * patch audio test
      
      * gallery change in a hope that docs won't break
      
      * check video decoder inside io
      
      * adding missing lib loading code
      
      * remove unused input
      Co-authored-by: default avatarBruno Korbar <bkorbar@quansight.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      d710f3d1
    • Aditya Oke's avatar
      Add Video SwinTransformer (#6521) · b1054cbb
      Aditya Oke authored
      
      
      * Just start adding mere copy paste
      
      * Replace d with t and D with T
      
      * Align swin transformer video to image a bit
      
      * Rename d -> t
      
      * align with 2d impl
      
      * align with 2d impl
      
      * Add helpful comments and config for 3d
      
      * add docs
      
      * Add docs
      
      * Add configurations
      
      * Add docs
      
      * Fix bugs
      
      * Fix wrong edit
      
      * Fix wrong edit
      
      * Fix bugs
      
      * Fix bugs
      
      * Fix as per fx suggestions
      
      * Update torchvision/models/video/swin_transformer.py
      
      * Fix as per fx suggestions
      
      * Fix expect files and code
      
      * Update the expect files
      
      * Modify video swin
      
      * Add min size and min temporal size, num params
      
      * Add flops and size
      
      * Fix types
      
      * Fix url recipe
      Co-authored-by: default avatarYosua Michael Maranatha <yosuamichael@fb.com>
      b1054cbb
  12. 16 Nov, 2022 1 commit
  13. 15 Nov, 2022 1 commit
  14. 14 Nov, 2022 3 commits
    • Vasilis Vryniotis's avatar
      [prototype] Optimize and clean up all affine methods (#6945) · b1f6c9e2
      Vasilis Vryniotis authored
      * Clean up `_get_inverse_affine_matrix` and `_compute_affine_output_size`
      
      * Optimize `_apply_grid_transform`
      
      * Cleanup `_assert_grid_transform_inputs`
      
      * Fix bugs on `_pad_with_scalar_fill` & `crop_mask` and port `crop_image_tensor`
      
      * Call directly `_pad_with_scalar_fill`
      
      * Fix linter
      
      * Clean up `center_crop_image_tensor`
      
      * Fix comments.
      
      * Fixing rounding issues.
      
      * Bumping tolerance for rotate which is unrelated to this PR.
      
      * Fix tolerance threshold for RandomPerspective.
      
      * Clean up `_affine_grid` and `affine_image_tensor`
      
      * Clean up `rotate_image_tensor`
      
      * Fixing linter
      
      * Address code-review comments.
      b1f6c9e2
    • YosuaMichael's avatar
      Set pytorch vision decoder probesize for getting stream info based on the... · de350bc0
      YosuaMichael authored
      Set pytorch vision decoder probesize for getting stream info based on the value from decode setting (#6900) (#6950)
      
      Summary:
      Pull Request resolved: https://github.com/pytorch/vision/pull/6900
      
      
      
      1. Pass along the value of probesize from decode setting.
      2. allow pytorch vision decoder to set the probesize for getting stream info
      
      Reviewed By: jdsgomes
      
      Differential Revision: D40967782
      
      fbshipit-source-id: 642ae3b67c50b1fdafc20f9814a52fdf5db527d7
      Co-authored-by: default avatarChen Liu <cliu7@meta.com>
      de350bc0
    • Vasilis Vryniotis's avatar
      Fix bug on prototype `pad` (#6949) · c5958862
      Vasilis Vryniotis authored
      c5958862
  15. 11 Nov, 2022 2 commits
    • toni057's avatar
      Adding FLOPs and size to model metadata (#6936) · deba0562
      toni057 authored
      
      
      * Adding FLOPs and size to model metadata
      
      * Adding weight size to quantization models
      
      * Small refactor of rich metadata
      
      * Removing unused code
      
      * Fixing wrong entries
      
      * Adding .DS_Store to gitignore
      
      * Renaming _flops to _ops
      
      * Adding number of operations to quantization models
      
      * Reflecting _flops change to _ops
      
      * Renamed ops and weight size in individual model doc pages
      
      * Linter fixes
      
      * Rounding ops to first decimal
      
      * Rounding num ops and sizes to 3 decimals
      
      * Change naming of columns.
      
      * Update tables
      Co-authored-by: default avatarToni Blaslov <tblaslov@fb.com>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      deba0562
    • Philip Meier's avatar
      Cleanup prototype datasets CI and related things (#6944) · ad2eceab
      Philip Meier authored
      * remove prototype datasets from CI
      
      * move encoded features to prototype datasets namespace
      
      * remove decoding transforms
      
      * [REVERT ME] reinstate prototype datasets CI
      
      * Revert "[REVERT ME] reinstate prototype datasets CI"
      
      This reverts commit 215fb185cf6be5be7adf0388116c77acc9a5d3f3.
      ad2eceab
  16. 10 Nov, 2022 4 commits
  17. 09 Nov, 2022 2 commits
  18. 08 Nov, 2022 1 commit
  19. 07 Nov, 2022 2 commits
  20. 04 Nov, 2022 6 commits
  21. 03 Nov, 2022 4 commits
    • Philip Meier's avatar
      Fix hardcoded 255 (#6830) · cb4413a3
      Philip Meier authored
      * fix prototype kernels
      
      * fix stable kernels
      
      * fix tests
      
      * make test more robust
      
      * improve invert for signed integers
      
      * improve invert
      
      * fix posterize
      
      * Revert "assume that integer images are [0, 255] in equalize (#6859)"
      
      This reverts commit 436ff9a5
      
      .
      
      * fix solarize in AA
      
      * fix resize
      
      * Revert "fix resize"
      
      This reverts commit 5f33f4aa73e098237650b794157ec9335d964152.
      
      * add comment to float max value
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      cb4413a3
    • Philip Meier's avatar
      remove unnecessary checks from pad_image_tensor (#6894) · 4d085f2e
      Philip Meier authored
      * remove unnecessary changes from pad_image_tensor
      
      * cleanup
      
      * fix fill=None workaround
      
      * address review comments
      
      * remove more xfails
      4d085f2e
    • Vasilis Vryniotis's avatar
      Remaining BBox kernel perf optimizations (#6896) · f1b840d5
      Vasilis Vryniotis authored
      * Bbox resize optimization
      
      * Other (untested) optimizations on `_affine_bounding_box_xyxy` and `elastic_bounding_box`.
      
      * fix conflict
      
      * Reverting changes on elastic
      
      * revert one more change
      
      * Further improvement
      f1b840d5
    • vfdev's avatar
      [proto] Small optims for perspective bboxes op (#6891) · 1502ed9a
      vfdev authored
      * [proto] Speed-up crop on bboxes and tests
      
      * Fix linter
      
      * Update _geometry.py
      
      * Fixed device issue
      
      * Revert changes in test/prototype_transforms_kernel_infos.py
      
      * Fixed failing correctness tests
      
      * [proto] Optimized functional pad op for bboxes + tests
      
      * Renamed copy-pasted variable name
      
      * [proto] Small optims for perspective bboxes op
      1502ed9a