1. 16 Feb, 2023 3 commits
  2. 15 Feb, 2023 1 commit
  3. 13 Feb, 2023 1 commit
  4. 31 Jan, 2023 1 commit
  5. 05 Dec, 2022 1 commit
  6. 30 Nov, 2022 1 commit
  7. 03 Nov, 2022 1 commit
    • 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
  8. 01 Nov, 2022 1 commit
  9. 27 Oct, 2022 1 commit
    • Vasilis Vryniotis's avatar
      [prototype] Minor speed and nit optimizations on Transform Classes (#6837) · e1f464bd
      Vasilis Vryniotis authored
      * Change random generator for ColorJitter.
      
      * Move `_convert_fill_arg` from runtime to constructor.
      
      * Remove unnecessary TypeVars.
      
      * Remove unnecessary casts
      
      * Update comments.
      
      * Minor code-quality changes on Geometical Transforms.
      
      * Fixing linter and other minor fixes.
      
      * Change mitigation for mypy.`
      
      * Fixing the tests.
      
      * Fixing the tests.
      
      * Fix linter
      
      * Restore dict copy.
      
      * Handling of defaultdicts
      
      * restore int idiom
      
      * Update todo
      e1f464bd
  10. 15 Oct, 2022 1 commit
  11. 14 Oct, 2022 1 commit
  12. 12 Oct, 2022 1 commit
  13. 10 Oct, 2022 2 commits
  14. 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
  15. 23 Sep, 2022 1 commit
  16. 22 Sep, 2022 1 commit
  17. 20 Sep, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Make prototype `F` JIT-scriptable (#6584) · 841b9a19
      Vasilis Vryniotis authored
      
      
      * Improve existing low kernel test.
      
      * Add new midlevel jit-scriptability test (failing).
      
      * Remove duplicate aliases from kernel tests.
      
      * Fixing colour kernels.
      
      * Fixing deprecated kernels.
      
      * fix mypy
      
      * Silence mypy instead of fixing to avoid performance penalty
      
      * Fixing augment kernels.
      
      * Fixing augment meta.
      
      * Remove is_tracing calls.
      
      * Add fake ImageType and DType
      
      * Fixing type conversion kernels.
      
      * Fixing misc kernels.
      
      * partial fix geometry
      
      * Remove mutable default from `_pad_with_vector_fill()` + all other unnecessary defaults.
      
      * Fix geometry ops
      
      * Fixing tests
      
      * Removed xfail for jit tests on midlevel ops
      Co-authored-by: default avatarvfdev-5 <vfdev.5@gmail.com>
      841b9a19
  18. 15 Sep, 2022 1 commit
  19. 14 Sep, 2022 1 commit
  20. 31 Aug, 2022 3 commits
  21. 26 Aug, 2022 2 commits
    • Philip Meier's avatar
      More cleanup for prototype transforms (#6500) · 7245dc9e
      Philip Meier authored
      * add aliases for hflip and vflip
      
      * reduce imports from torchvision.transforms in torchvision.prototype.transforms
      
      * add aliases for to_pil_image abd pil_to_tensor
      
      * deprecate to_tensor
      
      * add some FIXME cleanup comments
      
      * address reviews
      
      * add dimension getters
      
      * undeprecate PILToTensor and ToPILImage
      
      * address review
      
      * fix test
      7245dc9e
    • Philip Meier's avatar
      move simple_tensor to features module (#6507) · 7de63171
      Philip Meier authored
      * move simple_tensor to features module
      
      * fix test
      7de63171
  22. 25 Aug, 2022 1 commit
    • Philip Meier's avatar
      Cleanup of prototype transforms (#6492) · becaba0e
      Philip Meier authored
      * fix passtrough on transforms and add dispatchers for five and ten crop
      
      * Revert "cleanup prototype auto augment transforms (#6463)"
      
      This reverts commit d8025b9a
      
      .
      
      * use legacy kernels in deprecated Grayscale and RandomGrayscale transforms
      
      * fix default type for Lambda transform
      
      * fix default type for ToDtype transform
      
      * move simple_tensor to features module
      
      * [skip ci]
      
      * Revert "move simple_tensor to features module"
      
      This reverts commit 7043b6ee3e3b1f6541371a4f2442cfc1fd664e4a.
      
      * cleanup
      
      * reinstate valid AA changes
      
      * address review
      
      * Fix linter
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      becaba0e
  23. 23 Aug, 2022 1 commit
  24. 22 Aug, 2022 1 commit
  25. 18 Aug, 2022 1 commit
  26. 29 Jul, 2022 1 commit
  27. 22 Jul, 2022 1 commit
  28. 11 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Added some transformations and fixed type hints (#6245) · 9effc4cd
      vfdev authored
      * Another attempt to add transforms
      
      * Fixed padding type hint
      
      * Fixed fill arg for pad and rotate, affine
      
      * code formatting and type hints for affine transformation
      
      * Fixed flake8
      
      * Updated tests to save and load transforms
      
      * Fixed code formatting issue
      
      * Fixed jit loading issue
      
      * Restored fill default value to None
      Updated code according to the review
      
      * Added tests for rotation, affine and zoom transforms
      
      * Put back commented code
      
      * Random erase bypass boxes and masks
      Go back with if-return/elif-return/else-return
      
      * Fixed acceptable and non-acceptable types for Cutmix/Mixup
      
      * Updated conditions for _BaseMixupCutmix
      9effc4cd
  29. 22 Mar, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Port Multi-weight support from prototype to main (#5618) · 11bd2eaa
      Vasilis Vryniotis authored
      
      
      * Moving basefiles outside of prototype and porting Alexnet, ConvNext, Densenet and EfficientNet.
      
      * Porting googlenet
      
      * Porting inception
      
      * Porting mnasnet
      
      * Porting mobilenetv2
      
      * Porting mobilenetv3
      
      * Porting regnet
      
      * Porting resnet
      
      * Porting shufflenetv2
      
      * Porting squeezenet
      
      * Porting vgg
      
      * Porting vit
      
      * Fix docstrings
      
      * Fixing imports
      
      * Adding missing import
      
      * Fix mobilenet imports
      
      * Fix tests
      
      * Fix prototype tests
      
      * Exclude get_weight from models on test
      
      * Fix init files
      
      * Porting googlenet
      
      * Porting inception
      
      * porting mobilenetv2
      
      * porting mobilenetv3
      
      * porting resnet
      
      * porting shufflenetv2
      
      * Fix test and linter
      
      * Fixing docs.
      
      * Porting Detection models (#5617)
      
      * fix inits
      
      * fix docs
      
      * Port faster_rcnn
      
      * Port fcos
      
      * Port keypoint_rcnn
      
      * Port mask_rcnn
      
      * Port retinanet
      
      * Port ssd
      
      * Port ssdlite
      
      * Fix linter
      
      * Fixing tests
      
      * Fixing tests
      
      * Fixing vgg test
      
      * Porting Optical Flow, Segmentation, Video models (#5619)
      
      * Porting raft
      
      * Porting video resnet
      
      * Porting deeplabv3
      
      * Porting fcn and lraspp
      
      * Fixing the tests and linter
      
      * Porting docs, examples, tutorials and galleries (#5620)
      
      * Fix examples, tutorials and gallery
      
      * Update gallery/plot_optical_flow.py
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      
      * Fix import
      
      * Revert hardcoded normalization
      
      * fix uncommitted changes
      
      * Fix bug
      
      * Fix more bugs
      
      * Making resize optional for segmentation
      
      * Fixing preset
      
      * Fix mypy
      
      * Fixing documentation strings
      
      * Fix flake8
      
      * minor refactoring
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      
      * Resolve conflict
      
      * Porting model tests (#5622)
      
      * Porting tests
      
      * Remove unnecessary variable
      
      * Fix linter
      
      * Move prototype to extended tests
      
      * Fix download models job
      
      * Update CI on Multiweight branch to use the new weight download approach (#5628)
      
      * port Pad to prototype transforms (#5621)
      
      * port Pad to prototype transforms
      
      * use literal
      
      * Bump up LibTorchvision version number for Podspec to release Cocoapods (#5624)
      Co-authored-by: default avatarAnton Thomma <anton@pri.co.nz>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * pre-download model weights in CI docs build (#5625)
      
      * pre-download model weights in CI docs build
      
      * move changes into template
      
      * change docs image
      
      * Regenerated config.yml
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarAnton Thomma <11010310+thommaa@users.noreply.github.com>
      Co-authored-by: default avatarAnton Thomma <anton@pri.co.nz>
      
      * Porting reference scripts and updating presets (#5629)
      
      * Making _preset.py classes
      
      * Remove support of targets on presets.
      
      * Rewriting the video preset
      
      * Adding tests to check that the bundled transforms are JIT scriptable
      
      * Rename all presets from *Eval to *Inference
      
      * Minor refactoring
      
      * Remove --prototype and --pretrained from reference scripts
      
      * remove  pretained_backbone refs
      
      * Corrections and simplifications
      
      * Fixing bug
      
      * Fixing linter
      
      * Fix flake8
      
      * restore documentation example
      
      * minor fixes
      
      * fix optical flow missing param
      
      * Fixing commands
      
      * Adding weights_backbone support in detection and segmentation
      
      * Updating the commands for InceptionV3
      
      * Setting `weights_backbone` to its fully BC value (#5653)
      
      * Replace default `weights_backbone=None` with its BC values.
      
      * Fixing tests
      
      * Fix linter
      
      * Update docs.
      
      * Update preprocessing on reference scripts.
      
      * Change qat/ptq to their full values.
      
      * Refactoring preprocessing
      
      * Fix video preset
      
      * No initialization on VGG if pretrained
      
      * Fix warning messages for backbone utils.
      
      * Adding star to all preset constructors.
      
      * Fix mypy.
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarAnton Thomma <11010310+thommaa@users.noreply.github.com>
      Co-authored-by: default avatarAnton Thomma <anton@pri.co.nz>
      11bd2eaa
  30. 05 Mar, 2022 1 commit
  31. 01 Mar, 2022 1 commit
    • Philip Meier's avatar
      Prototype transforms cleanup (#5504) · 64e7460e
      Philip Meier authored
      
      
      * fix grayscale to RGB for batches
      
      * make unsupported types in auto augment a parameter
      
      * make auto augment kwargs explicit
      
      * add missing error message
      
      * add support for specifying probabilites on RandomChoice
      
      * remove TODO for deprecating p on random transforms
      
      * streamline sample type checking
      
      * address comments
      
      * split image_size into height and width in auto augment
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      64e7460e
  32. 28 Feb, 2022 1 commit