Ma Zerun
43e60ad5a6
[Improve] Rename `mmcls.data` to `mmcls.structures`. ( #941 )
2022-07-29 14:18:13 +08:00
Ezra-Yu
6ed3860ea6
refactor UTs
2022-07-18 11:11:13 +08:00
Ezra-Yu
0f30c392a3
from core to engine
2022-07-18 11:11:13 +08:00
yingfhu
4fcd7ee072
Add EfficientNetRandomCrop and EfficientNetCenterCrop
2022-07-18 11:11:13 +08:00
Ezra-Yu
daa6167336
Add Lighting, ColorJitter and Albumentations
2022-07-18 11:11:13 +08:00
Ezra-Yu
a82de04b67
Enhance browse datset
2022-07-18 11:11:13 +08:00
mzr1996
69e5ab065e
Change "Default to" to "Defaults to"
2022-07-18 11:11:13 +08:00
yingfhu
c78b5597d8
[Refactor] refactor randomCrop, randomResizeCrop and CenterCrop。
2022-07-18 10:57:17 +08:00
mzr1996
05e4c13343
Improve according to comments
2022-07-18 10:53:56 +08:00
mzr1996
c0feadf546
Refactor `RandomErasing`
2022-07-18 10:53:56 +08:00
mzr1996
4f28b9dd63
[Refactor] refactor AutoAugment and RandAugment
2022-07-18 10:53:56 +08:00
mzr1996
995b1d0d58
[Refactor] Add `ResizeEdge` and refactor all dataset configs.
2022-07-18 10:53:56 +08:00
Ezra-Yu
93a27c8324
[Feature] Add `PackClsInputs` and use `LoadImageFromFile`, `Resize` & `RandomFlip` in MMCV.
2022-07-18 10:53:28 +08:00
Ezra-Yu
088d5b5add
[Refactor] Inherit all registries from MMEngine and use inherited registries.
2022-07-18 10:53:27 +08:00
Hu Di
b4eefe4794
[Enhance] Support training on IPU and add fine-tuning configs of ViT. ( #723 )
...
* implement training and evaluation on IPU
* fp16 SOTA
* Tput reaches 5600
* 123
* add poptorch dataloder
* change ipu_replicas to ipu-replicas
* add noqa to config long line(website)
* remove ipu dataloder test code
* del one blank line in test_builder
* refine the dataloder initialization
* fix a typo
* refine args for dataloder
* remove an annoted line
* process one more conflict
* adjust code structure in mmcv.ipu
* adjust ipu code structure in mmcv
* IPUDataloader to IPUDataLoader
* align with mmcv
* adjust according to mmcv
* mmcv code structre fixed
Co-authored-by: hudi <dihu@graphcore.ai>
2022-04-29 22:22:19 +08:00
Ma Zerun
702c196514
[Docs] Refine API reference. ( #774 )
...
* [Docs] Refine API reference
* Add PoolFormer
2022-04-15 20:19:20 +08:00
Ma Zerun
bca695b684
[Refactor] Remove deprecation. ( #633 )
...
* Remove deprecated `--options` in some tools
* Remove deprecated eval hooks and fp16 hooks
* Remove deprecated mixup&cutmix, pretrained and return_tuple arguments.
* Remove deprecated `deprecated_options` in multi label dataset
* Remove deprecated `formating.py`
* Remove deprecated default mode of `LabelSmoothLoss`
* Revert pretrained argument, and remove it's deprecation sign.
* Update unit test
2022-02-10 09:30:18 +08:00
LeoXing1996
49cbfd776a
[Fix] Fix interpolation method checking in `Resize` ( #547 )
...
* fix interpolation method checking in resize
* revise docstring + add unit test
2021-11-19 17:38:25 +08:00
Zhicheng Chen
9ab9d4ff31
[Refactor] Refactor `Resize` transform and add `Pad` transform. ( #506 )
...
* refactor resize, test tobe done
* resize reimpl according to discussion; add pad
* minor fixes and add tests
* minor fixes on docstring
* add additional unit test
* reformat resize and pad
* revise code and docstr according to the comments
2021-11-10 16:46:49 +08:00
Ma Zerun
fffa30dd48
[Feature] Add Tokens-to-Token ViT backbone and converted checkpoints. ( #467 )
...
* add t2t backbone
* register t2t_vit
* add t2t_vit config
* [Temp] Align posterize transform with timm.
* Fix lint
* Refactor t2t-vit
* Add config for t2t-vit
* Add metafile and README for t2t-vit
* Add unit tests
* configs
* Update metafile and README
* Improve docstring
* Fix batch size which should be 8x64 instead of 8x128
* Fix typo
* Update model zoo
* Update training augments config.
* Move some arguments of T2TModule to T2TViT
* Update docs.
* Update unit test
Co-authored-by: HIT-cwh <2892770585@qq.com>
2021-10-29 10:37:16 +08:00
imyhxy
671414becb
[Fix] Fix missing import `Compose` and `Normalize`.
...
* Fixed missing import 'Compose'
* Fixed mistype `Compose` in `mmcls/datasets/__init__.py`
* Fixed missing import `Normalize`
* [Docs] Fix typos in doctest
* [Fix] Sort import module
2021-10-28 15:21:05 +08:00
Ma Zerun
2e6c7cf87d
[Docs] Add code-spell pre-commit hook and fix a large mount of typos. ( #470 )
...
* Add code spell check hook
* Add codespell config
* Fix a lot of typos.
* Add formating.py to keep compatibility.
2021-10-13 14:33:07 +08:00
Ezra-Yu
f865c725f2
[Docs] Fix typo in transforms.py docstring ( #455 )
2021-09-22 11:09:23 +08:00
Charlyo
8024f81de2
[Docs] Fix a typo in transforms ( #454 )
2021-09-22 10:46:59 +08:00
Ma Zerun
6a0a76af0c
[Enhance] Add `hparams` argument in `AutoAugment` and `RandAugment` and some other improvement. ( #398 )
...
* Add hparams argument in `AutoAugment` and `RandAugment`.
And `pad_val` supports sequence instead of tuple only.
* Add unit tests for `AutoAugment` and `hparams` in `RandAugment`.
* Use smaller test image to speed up uni tests.
* Use hparams to simplify RandAugment config in swin-transformer.
* Rename augment config name from `pipeline` to `pipelines`.
* Add some commnet ad docstring.
2021-08-24 18:15:54 +08:00
Ma Zerun
f9eb9b409b
[Docs] Add Copyright information. ( #413 )
2021-08-17 19:52:42 +08:00
Ma Zerun
e8822ebaec
[Docs] Fix some bugs in readthedocs pdf build. ( #383 )
...
* Add escape symbols for underscores in formulas.
* Support Chinese characters in pdf output.
2021-07-31 14:49:36 +08:00
Ma Zerun
d04ebc1eb5
[Docs] Add API Reference in the docs ( #342 )
...
* Add API inference in the docs and fix readthedocs config.
* Replace some relative link in docs.
* Format docstring for reStructuredText syntax.
* Fix vit paper link
* Fix docstring of `show_results` function in `BaseClassifier`.
2021-07-14 15:06:50 +08:00
Ma Zerun
53c0df271f
Fix magnitude_std bug in RandAugment, and update unit tests. ( #309 )
2021-06-21 11:25:11 +08:00
LXXXXR
2c9e12f850
[Feature] Add an argument `efficientnet_style` to `RandomResizedCrop` and `CenterCrop` ( #268 )
...
* add config for resnest test
* fix config
* add label smoothing
* add memcached
* minor fix
* fix bug
* fix config
* add config
* minor fix
* fix configs
* use EResize
* change interpolation
* add more configs
* add docsting
* add unittest
* remove unnecessary changes
* minor fix
* add more docstring
* fix linting
* refactor
* add resize in crop to ensure crop size is output size
* fix bug and add comments
* fix bug
2021-05-31 14:10:57 +08:00
Ma Zerun
09597e5a4c
Add transform `RandomErasing` ( #248 )
...
* Add transform `RandomErasing`.
* Add unittests of `RandomErasing`
* Fix typo in docstring
* Improve docstring and unittests.
2021-05-19 22:35:26 +08:00
LXXXXR
8c90a879ce
[Fix] Fix magnitude_range in RandAug ( #249 )
...
* add increasing in solarize and posterize
* fix linting
* Revert "add increasing in solarize and posterize"
This reverts commit 128af36e9b
.
* revise according to comments
2021-05-12 15:21:55 +08:00
mzr1996
a3b8d6015d
[Feature] Add RandAUG magnitude noise ( #240 )
...
* Add paramater magnitude_std in RandAugment to allow randomly movement of magnitude_value
* Add unittest for magnitude_std
* Improve docstring of magnitude_std
2021-05-10 17:13:41 +08:00
mzr1996
b7b520881f
Update CONTRIBUTING.md according to mmcv ( #210 )
...
* Update CONTRIBUTING.md according to mmcv
* Docstring formatting by docformatter
* Update openmmlab website.
2021-04-14 21:22:37 +08:00
LXXXXR
5195932952
[Feature] Support random augmentation ( #201 )
...
* support random augmentation
* minor fix on posterize
* minor fix on posterize
* minor fix on cutout
* minor fix on cutout
* fix bug in solarize add
* revised according to comments
2021-04-09 14:02:50 +08:00
LXXXXR
4d1fb1a662
[Feature] ColorJitter and Lighting ( #190 )
...
* add configs
* remove config
* add color jitter and lighting
* revised according to comments
2021-04-02 19:23:39 +08:00
LXXXXR
93cd960466
[Feature] Support AutoAug, AutoContrast, Equalize, Contrast, Brightness and Sharpness ( #179 )
...
* add AutoContrast, Equalize, Contrast, Brightness and Sharpness pipelines
* add ImageNetPolicy
* add configs
* add unittest
* remove config
* rerun CI
* rerun CI
* [Fix] Update pip install mmcv command in ci (#187 )
* update pip install mmcv command in ci
* update pip install mmcv command in ci
* fix ci
* fix ci
2021-03-30 15:38:55 +08:00
LXXXXR
f3b9380cbc
[Feature] Support solarize and posterize pipelines ( #172 )
...
* support Solarize and Posterize
* revised according to comments
* fix conflicts
2021-03-09 19:45:13 +08:00
LXXXXR
9614787fc4
[Feature] Add color pipeline ( #171 )
...
* add ColorTransform pipeline
* fix docstring
* minor change
* revised according to comments
2021-03-09 19:28:50 +08:00
LXXXXR
c8033ece8e
add invert pipeline ( #168 )
2021-03-02 16:46:57 +08:00
LXXXXR
b1fa298a66
add Rotate pipeline ( #167 )
2021-03-01 21:49:07 +08:00
LXXXXR
bc50a7927b
reslove conflicts ( #165 )
2021-02-26 11:48:13 +08:00
LXXXXR
8c11c01fdb
[Feature] Add shear pipeline ( #163 )
...
* half-done auto_augmentation
* remove auto_augcode and support shear pipeline
* fix typo
* fix typo
* use a non-square toy data instead
2021-02-25 16:00:46 +08:00
David de la Iglesia Castro
fb11a23cfe
Show results in test api ( #162 )
...
* Initial support show in single_gpu_test
* Add result_show
* Add ori_filename meta_key
* test ori_filename
* Add show, show-dir, show-options
2021-02-25 16:00:22 +08:00
LXXXXR
3e5a9513be
[Bug] Fix bug in Collect ( #149 )
...
* fix bug in Collect
* add metakeys
2021-01-25 20:29:28 +08:00
LXXXXR
fc82c31b2f
fix RandomCrop and RandomResizedCrop ( #151 )
2021-01-25 20:28:16 +08:00
LXXXXR
63f38988eb
[Fix] Fix optional issues in docstring ( #138 )
...
* fix optional issue in docstring
* revised according to comments
* add optional
2021-01-14 11:09:08 +08:00
David de la Iglesia Castro
99115fddbc
Add albumentations ( #45 )
...
* Add Albu transform
* pre-commit
* Create optional.txt
* Update requirements.txt
* Update transforms.py
2020-09-22 17:35:39 +08:00
anthracene
fef5202257
Fix crash in CenterCrop transform when image is greyscale ( #40 )
2020-08-31 00:04:39 +08:00
Lei Yang
c905decddf
Resize according to short edge ( #22 )
...
* resize according to short edge
* revise doc for resize
* fix unitest for resize
* resize short_edge when second value of size is -1
* rename short_edge to short_side
2020-08-11 16:04:45 +08:00