1. 21 Oct, 2022 2 commits
    • vfdev's avatar
      [proto] Speed up adjust color ops (#6784) · 9f024a6e
      vfdev authored
      * WIP
      
      * _blend optim v1
      
      * _blend and color ops optims: v2
      
      * updated a/r tol and configs to make tests pass
      
      * Loose a/r tolerance in AA tests
      
      * Use custom rgb_to_grayscale
      
      * Renamed img -> image
      
      * nit code update
      
      * PR review
      
      * adjust_contrast convert to float32 earlier
      
      * Revert "adjust_contrast convert to float32 earlier"
      
      This reverts commit a82cf8c739d02acd9868ebee4b8b99d101c3e45e.
      9f024a6e
    • Joao Gomes's avatar
      Read video from memory newapi (#6771) · 06ad05fa
      Joao Gomes authored
      * add tensor as optional param
      
      * add init from memory
      
      * fix bug
      
      * fix bug
      
      * first working version
      
      * apply formatting and add tests
      
      * simplify tests
      
      * fix tests
      
      * fix wrong variable name
      
      * add path as optional parameter
      
      * add src as optional
      
      * address pr comments
      
      * Fix warning messages
      
      * address pr comments
      
      * make tests stricter
      
      * Revert "make tests stricter"
      
      This reverts commit 6c92e94e8372f381c9496c9f885c2c71b6a4356b.
      06ad05fa
  2. 20 Oct, 2022 1 commit
  3. 19 Oct, 2022 1 commit
  4. 18 Oct, 2022 2 commits
  5. 17 Oct, 2022 2 commits
    • vfdev's avatar
      [proto] Small optimization for gaussian_blur functional op (#6762) · decb1919
      vfdev authored
      * Use softmax in _get_gaussian_kernel1d
      
      * Revert "Use softmax in _get_gaussian_kernel1d"
      
      This reverts commit eb8fba36302d2da9e06e6f40afaaf901b276a771.
      
      * Code update
      
      * Relaxed tolerance in consistency tests for GaussianBlur and ElasticTransform
      
      * Code review updates
      
      * Update test_prototype_transforms_consistency.py
      decb1919
    • vfdev's avatar
      [proto] Reduce number of calls of __torch_function__ (#6681) · 149edda4
      vfdev authored
      
      
      * [proto] Reduce number of calls of __torch_function__
      
      * Use DisableTorchFunction and super
      
      * Use self._tensor
      
      * Fixes mypy and color space handling
      
      * revert Image.new_like
      
      * WIP
      
      * Perf opt with ref to tensor and properties
      
      * Removed requires_grad property
      
      * Use _tensor ref
      
      * Revert "Use _tensor ref"
      
      This reverts commit 38f8e21242830fed46ddf31287edb67c1abd124a.
      
      * Update torchvision/prototype/features/_feature.py
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      149edda4
  6. 15 Oct, 2022 1 commit
  7. 14 Oct, 2022 5 commits
  8. 13 Oct, 2022 5 commits
  9. 12 Oct, 2022 1 commit
  10. 11 Oct, 2022 4 commits
  11. 10 Oct, 2022 5 commits
  12. 07 Oct, 2022 3 commits
    • Vasilis Vryniotis's avatar
      [prototype] Rewrite the meta dimension methods (#6722) · 6e203b44
      Vasilis Vryniotis authored
      * Rewrite `get_dimensions`, `get_num_channels` and `get_spatial_size`
      
      * Remove `get_chw`
      
      * Remove comments
      
      * Make `get_spatial_size` support non-image input
      
      * Reduce the unnecessary use of `get_dimensions*`
      
      * Fix linters
      
      * Fix merge bug
      
      * Linter
      
      * Fix linter
      6e203b44
    • Philip Meier's avatar
      replace new_like with wrap_like (#6718) · 4c049ca3
      Philip Meier authored
      * replace new_like with wrap_like
      
      * fix videos
      
      * revert casting in favor of ignoring mypy
      4c049ca3
    • Philip Meier's avatar
      add Video feature and kernels (#6667) · 3118fb52
      Philip Meier authored
      * add video feature
      
      * add video kernels
      
      * add video testing utils
      
      * add one kernel info
      
      * fix kernel names in Video feature
      
      * use only uint8 for video testing
      
      * require at least 4 dims for Video feature
      
      * add TODO for image_size -> spatial_size
      
      * image -> video in feature constructor
      
      * introduce new combined images and video type
      
      * add video to transform utils
      
      * fix transforms test
      
      * fix auto augment
      
      * cleanup
      
      * address review comments
      
      * add remaining video kernel infos
      
      * add batch dimension squashing to some kernels
      
      * fix tests and kernel infos
      
      * add xfails for arbitrary batch sizes on some kernels
      
      * fix test setup
      
      * fix equalize_image_tensor for multi batch dims
      
      * fix adjust_sharpness_image_tensor for multi batch dims
      
      * address review comments
      3118fb52
  13. 06 Oct, 2022 5 commits
  14. 05 Oct, 2022 2 commits
  15. 04 Oct, 2022 1 commit