1. 04 Oct, 2022 1 commit
    • YosuaMichael's avatar
      Removing prototype related things from release/0.14 branch (#6687) · 673838f5
      YosuaMichael authored
      * Remove test related to prototype
      
      * Remove torchvision/prototype dir
      
      * Remove references/depth/stereo because it depend on prototype
      
      * Remove prototype related entries on mypy.ini
      
      * Remove things related to prototype in pytest.ini
      
      * clean setup.py from prototype
      
      * Clean CI from prototype
      
      * Remove unused expect file
      673838f5
  2. 03 Oct, 2022 2 commits
  3. 30 Sep, 2022 3 commits
  4. 29 Sep, 2022 5 commits
  5. 28 Sep, 2022 7 commits
    • Andrey Talman's avatar
      Removing cuda 102 (#6649) · dc07ac2a
      Andrey Talman authored
      * Removing cuda 102
      
      Display cuda info
      
      Address comments try to resolve CUDA version issue
      
      More work
      
      Base debugging
      
      Fix cuda version passing
      
      Testing
      
      Adding config.yml
      
      Adding command we use for pytorch vision install
      
      Adding unit tests
      
      Modify install command
      
      Refactor config.in
      
      Move cpu tests to different PR
      
      Remove debug code
      
      Testing similar exception for linux as windows
      
      update test_models.py
      
      Revert "Testing similar exception for linux as windows"
      
      This reverts commit 4aaee0b56376440bb56ecd3efe25b60595a241a5.
      
      Revert "update test_models.py"
      
      This reverts commit 413651a308f68b6801681ddfc2c21201c4df3207.
      
      * Removing debug statement
      
      * Reverting to old command
      dc07ac2a
    • Vasilis Vryniotis's avatar
      [prototype] Fix BC-breakages on input params of `F` (#6636) · b8af91ab
      Vasilis Vryniotis authored
      
      
      * Fix `size` in resize.
      
      * Update torchvision/prototype/features/_bounding_box.py
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Address some of the comments.
      
      * Fix `output_size` in center_crop.
      
      * Fix `CenterCrop` transform
      
      * Fix `size` in five_crop.
      
      * Fix `size` in ten_crop.
      
      * Fix `kernel_size` and `sigma` in gaussian_blur.
      
      * Fix `angle` and `shear` in affine.
      
      * Fixing JIT-scriptability issues.
      
      * Update TODOs.
      
      * Restore fake types for `Union[int, List[int]]` and `Union[int, float, List[float]]`
      
      * Fixing tests
      
      * Fix linter
      
      * revert unnecessary JIT mitigations.
      
      * Cherrypick Philip's 6dfc9657ce89fe9e018a11ee25a8e26c7d3d43c6
      
      * Linter fix
      
      * Adding center float casting
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      b8af91ab
    • Vasilis Vryniotis's avatar
      Temporarily disable the autocast test for `fasterrcnn_resnet50_fpn` (#6660) · c2ca691d
      Vasilis Vryniotis authored
      * Revert "Bump tol for autocasted `fasterrcnn_resnet50_fpn` (#6601)"
      
      This reverts commit a4f53308.
      
      * Temporarily remove FasterRCNN autocast test
      c2ca691d
    • Nicolas Hug's avatar
      Remove deprecated APIs for 0.14 (#6258) · 7b8a6db7
      Nicolas Hug authored
      
      
      * Remove Kinetics400 class
      
      * Remove '2007-test' in VOC
      
      * Remove some MobileNet layer classes
      
      * Remove torchvision/models/segmentation/segmentation.py
      
      * Remove some MultiScaleRoIAlign methods
      
      * Remove torchvision/transforms/_functional_video.py
      
      * Remove torchvision/transforms/_transforms_video.py
      
      * Remove resample parameter in transforms
      
      * Remove 'range' parameter
      
      * Remove 'fill_value' parameter in transforms
      
      * Revert to original warning for C++ models - looks like we should still keep them around?
      
      * pre-commit
      
      * Fix docs
      
      * Remove test/test_transforms_video.py
      
      * Some fixes
      
      * Remove more tests
      
      * Revert changes to C++ models
      
      * Add back _transforms_video and change warning message
      
      * Change back the warning message, and will change the warning message on separate PR
      Co-authored-by: default avatarYosuaMichael <yosuamichaelm@gmail.com>
      Co-authored-by: default avatarYosua Michael Maranatha <yosuamichael@fb.com>
      7b8a6db7
    • Kevin Tse's avatar
      Replace `torch.utils.data.graph.traverse` with `traverse_dps` (#6657) · 0fd4736e
      Kevin Tse authored
      * Replace torch.utils.data.graph.traverse with traverse_dps
      
      [ghstack-poisoned]
      
      * Update on "Replace `torch.utils.data.graph.traverse` with `traverse_dps`"
      
      
      CI is expected to fail for now. This should be merged only after https://github.com/pytorch/pytorch/pull/85667
      
       has been merged into nightly and internal.
      
      
      
      [ghstack-poisoned]
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      0fd4736e
    • Philip Meier's avatar
      diversify parameter types for a couple of prototype kernels (#6635) · 29b0831c
      Philip Meier authored
      * add more size types for prototype resize sample inputs
      
      * add skip for dispatcher
      
      * add more sizes to resize kernel info
      
      * add more skips
      
      * add more diversity to gaussian_blur parameters
      
      * diversify affine parameters and fix bounding box kernel
      
      * fix center_crop dispatcher info
      
      * revert kernel fixes
      
      * add skips for scalar shears in affine_bounding_box
      29b0831c
    • Philip Meier's avatar
      2d927283
  6. 27 Sep, 2022 3 commits
  7. 26 Sep, 2022 3 commits
  8. 23 Sep, 2022 9 commits
    • Philip Meier's avatar
      add segmentation reference consistency tests (#6591) · 7046e56f
      Philip Meier authored
      
      
      * add segmentation reference consistency tests
      
      * fall back to smoke tests for resize
      
      * add test for RandomCrop
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      7046e56f
    • Ambuj Pawar's avatar
      DOC: add limitation of decode_jpeg in the function docstring (#6637) · 0a946d5b
      Ambuj Pawar authored
      
      
      * add limitation of decode_jpeg in the function docstring
      
      * undo unwanted changes in decode_png
      Co-authored-by: default avatarAmbuj Pawar <your_email@abc.example>
      0a946d5b
    • Ponku's avatar
      Add CREStereo weights. (#6629) · 4c66712f
      Ponku authored
      * added crestereo author weights
      
      * update weights name
      
      * synced fl-all metric
      
      * changed resize size config param name
      
      * extended weight sets
      
      * changed weight link
      4c66712f
    • Ponku's avatar
      Add stereo train loop (#6605) · 10dafd9b
      Ponku authored
      
      
      * crestereo draft implementation
      
      * minor model fixes. positional embedding changes.
      
      * aligned base configuration with paper
      
      * Adressing comments
      
      * Broke down Adaptive Correlation Layer. Adressed some other commets.
      
      * adressed some nits
      
      * changed search size, added output channels to model attrs
      
      * changed weights naming
      
      * changed from iterations to num_iters
      
      * removed _make_coords, adressed comments
      
      * fixed jit test
      
      * added script files
      
      * added cascaded inference evaluation
      
      * added optimizer option
      
      * minor changes
      
      * Update references/depth/stereo/train.py
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      
      * adressed some comments
      
      * change if-else to dict
      
      * added manual resizing for masks and disparities during evaluation
      
      * minor fixes after previous changes
      
      * changed dataloader to be initialised once
      
      * added distributed changes
      
      * changed loader logic
      
      * updated eval script to generate weight API like logs
      
      * improved support for fine-tuning / training resume
      
      * minor changes for finetuning
      
      * updated with transforms from main
      
      * logging distributed deadlock fix
      
      * lint fix
      
      * updated metrics
      
      * weights API log support
      
      * lint fix
      
      * added readme
      
      * updated readme
      
      * updated readme
      
      * read-me update
      
      * remove hardcoded paths. improved valid dataset selection and sync
      
      * removed extras from gitignore
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      Co-authored-by: default avatarYosuaMichael <yosuamichaelm@gmail.com>
      10dafd9b
    • Philip Meier's avatar
      784ee2b8
    • Vasilis Vryniotis's avatar
      [prototype] Align and Clean up transform types (#6627) · f725901d
      Vasilis Vryniotis authored
      
      
      * Align and Clean up transform types
      
      * Move type definitions to `_utils.py`
      
      * fixing error message on tests
      
      * Apply code review suggestions
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      
      * Centralizing types and switching to always getting dicts.
      
      * Fixing linter
      
      * Refactoring typing definitions.
      
      * Remove relative imports.
      
      * Reuse type.
      
      * Temporarily remove the TorchData tests.
      
      * Restore the TorchData tests.
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      f725901d
    • Ponku's avatar
      MaxVit model (#6342) · 6b1646ca
      Ponku authored
      
      
      * Added maxvit architecture and tests
      
      * rebased + addresed comments
      
      * Revert "rebased + addresed comments"
      
      This reverts commit c5b28398cd48d2f3403c7c8eeefbaba9df05fcfe.
      
      * Re-added model changes after revert
      
      * aligned with partial original implementation
      
      * removed submitit script fixed lint
      
      * mypy fix for too many arguments
      
      * updated old tests
      
      * removed per batch lr scheduler and seed setting
      
      * removed ontap
      
      * added docs, validated weights
      
      * fixed test expect, moved shape assertions in the begging for torch.fx compatibility
      
      * mypy fix
      
      * lint fix
      
      * added legacy interface
      
      * added weight link
      
      * updated docs
      
      * Update references/classification/train.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/maxvit.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * adressed comments
      
      * update ra_maginuted and augmix_severity default values
      
      * adressed some comments
      
      * remove input_channels parameter
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      6b1646ca
    • Philip Meier's avatar
      add coverage to prototype tests CI (#6630) · d65e286f
      Philip Meier authored
      * add coverage to prototype tests CI
      
      * line continuation
      d65e286f
    • Karan Desai's avatar
      a09da902
  9. 22 Sep, 2022 4 commits
    • Philip Meier's avatar
      add more KernelInfo's and DispatcherInfo's (#6626) · 3c9ae0ac
      Philip Meier authored
      * add KernelInfo for adjust_brightness
      
      * add KernelInfo for adjust_contrast
      
      * add KernelInfo for adjust_hue
      
      * add KernelInfo for adjust_saturation
      
      * add KernelInfo for clamp_bounding_box
      
      * add KernelInfo for {five, ten}_crop_image_tensor as well as skip functionality
      
      * add KernelInfo for normalize
      
      * add KernelInfo for adjust_gamma
      
      * cleanup
      
      * add DispatcherInfo's for previously add KernelInfo's
      
      * add dispatcher info for elastic
      3c9ae0ac
    • Philip Meier's avatar
      cleanup prototype transforms functional tests (#6622) · 658ca539
      Philip Meier authored
      * cleanup prototype transforms functional tests
      
      * fix
      
      * oust local functions
      658ca539
    • vfdev's avatar
      [proto] Fixed fill type in AA (#6621) · f49edd3b
      vfdev authored
      
      
      * [proto] Fixed fill type in AA
      
      * Fixed missed typehints
      
      * Set fill as None by default
      
      * Another fix
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      f49edd3b
    • Ponku's avatar
      Add stereo preset transforms (#6549) · 0fcfaa13
      Ponku authored
      
      
      * Added transforms for Stereo Matching
      
      * changed implicit Y scaling to 0.
      
      * Adressed some comments
      
      * addressed type hint
      
      * Added interpolation random interpolation strategy
      
      * Aligned crop get params
      
      * fixed bug in RandomErase
      
      * Adressed scaling and typos
      
      * Adressed occlusion typo
      
      * Changed parameter order in F.erase
      
      * fixed random erase
      
      * Added inference preset transform for stereo matching
      
      * added contiguous reshape to output tensors
      
      * Adressed comments
      
      * Modified the transform preset to use Tuple[int, int]
      
      * adressed NITs
      
      * added grayscale transform, align resize -> mask
      
      * changed max disparity default behaviour
      
      * added fixed resize, changed masking in sparse flow masking
      
      * update to align with argparse
      
      * changed default mask in asymetric pairs
      
      * moved grayscale order
      
      * changed grayscale api to accept to tensor variant
      
      * mypy fix
      
      * changed resize specs
      
      * adressed nits
      
      * added type hints
      
      * mypy fix
      
      * mypy fix
      
      * mypy fix
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      0fcfaa13
  10. 21 Sep, 2022 3 commits
    • Ponku's avatar
      Add stereo matching losses (#6554) · 2c1022e3
      Ponku authored
      
      
      * Moved more losses into classes
      
      * Added photometric loss
      
      * quick fix for ssim loss return value
      
      * added references
      
      * replaced with unsqueeze
      
      * renaming variables
      
      * add ref to consistency loss
      
      * made mask optional everywhere. generalised photometric displacement
      
      * smoothness typo
      
      * fixed flow channel selection bug
      
      * aligned with training script
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      2c1022e3
    • Philip Meier's avatar
      port prototype transforms kernel tests to new architecture (#6612) · 56e707bf
      Philip Meier authored
      * port vertical_flip
      
      * port rotate
      
      * port crop
      
      * port resized_crop
      
      * port pad
      
      * port perspective
      
      * port elastic
      
      * port center_crop
      
      * port gaussian_blur
      
      * port equalize
      
      * port invert
      
      * port posterize
      
      * port solarize
      
      * port autocontrast
      
      * port adjust_sharpness
      
      * port erase
      
      * fix kernel infos
      
      * renable crop references
      
      * add tolerances to gaussian_blur kernel info
      56e707bf
    • vfdev's avatar
      [proto] Fixed fill arg for pad pil image (#6620) · 39f8e5ce
      vfdev authored
      39f8e5ce