1. 19 Jul, 2022 9 commits
    • Yifei Yang's avatar
      [Fix] Fix typos, init funcs, cacheable method of part3 of data transforms (#1784) · b7525fae
      Yifei Yang authored
      
      
      * fix typos and move args into cfg
      
      * update docstring
      
      * fix as comment
      
      * fix lint
      
      * update transforms as discussed before
      
      * linting
      
      * fix as comment
      
      * fix lint
      
      * fix lint and also update according to PackInput
      
      * remove precommit change
      
      * rename cacheable method
      Co-authored-by: default avatarliukuikun <641417025@qq.com>
      b7525fae
    • Yuan Liu's avatar
      [Feature]: Reformat resize config (#1826) · 0a5b4125
      Yuan Liu authored
      
      
      * [Feature]: Add cache to random func in data transform
      
      * [Fix]: Fix lint
      
      * [Fix]: Fix cache decorate problem
      
      * [Refactor]: Initialize Resize with config
      
      * [Refactor]: Move other resize config into Resize config
      
      * [Fix]: Scale can not be None in RandomResize
      
      * [Fix]: Change semantic seg to gt seg map
      
      * [Fix]: Delete unnecessary assert
      
      * [Fix]: Fix docstring
      
      * [Fix]: Add double quot to Resize in config
      
      * [Fix]: Fix the return type
      
      * [Fix]: Improve docstring
      
      * [Fix]: Specify the order of width and height for ratio range
      
      * [Fix]: Specify resize order
      Co-authored-by: default avatarYour <you@example.com>
      0a5b4125
    • Yifei Yang's avatar
      [Fix] Fix MultiScaleFlipAug (#1801) · 2844a116
      Yifei Yang authored
      * Fix MultiScaleFlipAug
      
      * fix as comment
      2844a116
    • Yifei Yang's avatar
      [Fix] Set keypoints not in the cropped image invisible (#1804) · 169f098d
      Yifei Yang authored
      * set invisiblity
      
      * fix as comment
      169f098d
    • Yifei Yang's avatar
      [Enhancement] Enhance CenterCrop (#1765) · 2f85d781
      Yifei Yang authored
      * enhance centercrop and adjust crop size to (w, h)
      
      * fix comments
      
      * update required keys and docstring
      2f85d781
    • Yifei Yang's avatar
      [Feature] Add Part3 of data transform (#1735) · 2619aa9c
      Yifei Yang authored
      * update data transform part3
      
      * update init
      
      * rename flip funcs
      
      * fix comments
      
      * update comments
      
      * fix lint
      
      * Update mmcv/transforms/processing.py
      
      * fix docs format
      
      * fix comments
      
      * add test pad_val and fix bugs in class Pad
      
      * merge updated pad
      
      * fix lint
      
      * Update tests/test_transforms/test_transforms_processing.py
      2619aa9c
    • liukuikun's avatar
      [Fix] Pad boader fix (#1757) · 5af6c12b
      liukuikun authored
      * [Fix] expand pad_val'dim to be same with image
      
      * fix comment
      5af6c12b
    • Yuan Liu's avatar
      [Feature]: Add Part2 of data transform (#1730) · 53070ebc
      Yuan Liu authored
      
      
      * [Refactor]: New commit of Part2 of data transform
      
      * [Fix]: Fix lint
      
      * [Fix]: Change flip reisze to prefix
      
      * [Refactor]: Delete redundant code in ToTensor
      
      * [Fix]:optional
      
      * [Fix]: Change the discription of RandomFlip
      
      * [Refactor]: Change flip_with_flip_direction to flip_on_direction
      Co-authored-by: default avatarYour <you@example.com>
      53070ebc
    • liukuikun's avatar
      [Feature] Add Part1 of data transform (#1736) · 9e4b2ff5
      liukuikun authored
      * [Feature] Add Part1 of data transform
      
      * api.rst transform->transforms
      
      * fix typo
      
      * fix typo
      
      * rename test_processing into test_transforms_processing for avoiding same name
      
      * fix mypy
      
      * fix comment
      
      * fix comment
      9e4b2ff5