Commit Graph

796 Commits (63e5b512cce07f32e6f43261c96462c386ec13fe)
 

Author SHA1 Message Date
Ma Zerun b63515111b
[Reproduce] Update ConvNeXt config files. (#1256)
* Update ConvNeXt training configs.

* Update ConvNeXt network.

* Update metafile and README.

* Update README
2022-12-19 13:54:24 +08:00
Ma Zerun 0e4163668f
[Feature] Add some scripts for development. (#1257)
* [Feature] Add some scripts for development.

* Add `generate_readme.py`.

* Update according to comments
2022-12-19 13:53:13 +08:00
Ma Zerun 6ea59bd846
[Fix] Fix the requirements and lazy register mmcls models. (#1275) 2022-12-19 13:01:11 +08:00
Xieyuan Zhang e9f9bb200e
[Fix] Fix imports in transforms. (#1255)
* fix import

* import from mmegine.utils
2022-12-19 13:00:48 +08:00
Ma Zerun 46af7d3ed2
[CI] Update CI to test PyTorch 1.13.0. (#1260) 2022-12-14 13:47:32 +08:00
takuoko 2535c1ecd7
[Feature] Support EVA. (#1239)
* add eva

* add eva

* add eva

* sklearn -> scikit-learn

* add large

* Update model names and links.

* Fix resize pos embed error when loading fp16 weight.

* Remove verbose configs.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-12-14 13:21:33 +08:00
Songyang Zhang 210373c093
[Feature] Implementation of RevViT. (#1127)
* [Feature] implement rev-vit network

* can reproduce the RevViT-Small accuracy 79.9

* update

* [Feature] update revvit

* [Feature] update revvit readme

* Update links

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-12-14 11:46:39 +08:00
Ezra-Yu 1c6b077bb1
[Project] Add ACCV workshop 1st Solution. (#1245)
* add accv workshop 1st project

* update projects

* update projects

* fix lint

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* update

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* update

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* Update projects/fgia_accv2022_1st/README.md

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>

* update

* update

* update

Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>
2022-12-12 18:55:09 +08:00
Ma Zerun ea53bce580
[Project] Add Example project. (#1254) 2022-12-12 17:57:09 +08:00
mzr1996 458ac4c89a Merge remote-tracking branch 'origin/dev-1.x' into 1.x 2022-12-06 18:00:59 +08:00
Ma Zerun 12eca5b94a
Bump version to v1.0.0rc4. (#1243)
* Bump version to v1.0.0rc4

* Update according to comments
2022-12-06 18:00:01 +08:00
kitecats ef3610d962
[Bug] Fix `reparameterize_model.py` doesn't save meta info. (#1221)
* fix reparameterize_model.py don't save meta info

* fix error

* Fix symbol link

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-12-06 17:06:31 +08:00
Ma Zerun a4ec2799d6
[Docs] Update install tutorial. (#1223)
* [Docs] Update install tutorial.

* Update collapsed sections.

* Update requirements

* Update install tutorial.
2022-12-06 17:00:32 +08:00
Ma Zerun c127c474b9
[Feature] Support getting model from the name defined in the model-index file. (#1236)
* [Feature] Support getting model from the name defined in the model-index file.

* Add unit tests.

* Prevent import `timm` if the `TIMMBackbone` is not used.

* Fix Windows CI.

* Move `init_model` to `mmcls.apis.hub`, and support pass nn.Module to all
model components.

* Fix requirements

* Rename `hub.py` to `model.py` and add unit tests.
2022-12-06 17:00:22 +08:00
Jiahao Wang d990982fc0
[Docs] Update MobileNetv2 & MobileNetv3 readme. (#1222)
* update mobilenetv2/v3 doc

* update mobilenetv2/v3 doc

* update mobilenetv2/v3 doc
2022-12-06 11:53:03 +08:00
Yixiao Fang df2f122daa
[Fix] Fix dict update in BeIT. (#1234)
* fix dict update

* remove breakpoint

* fix key error

* fix lint

* update

* update
2022-12-05 17:59:36 +08:00
Ma Zerun 7b9a1010f5
[Enhance] Support evaluate on both EMA and non-EMA models. (#1204)
* [Enhance] Support evaluate on both EMA and original models.

* Fix lint
2022-12-05 14:16:12 +08:00
Yixiao Fang d80ec5a4b8
[Refactor] Refactor BEiT backbone and support v1/v2 inference. (#1144)
* refactor beit backbone

* use LinearClsHead

* fix mean and std value

* fix lint

* support inference if beit-v2

* update encoder layer and init

* update

* add ut

* add prepare_relative_position_bias_table function

* add cls_token

* fix lint

* add pos_embed check

* update metafile and readme

* update weights link

* update link of weights

* update metafile

* update

* update docstrings

* update according to review

* rename readme

* update docstring

* fix lint
2022-11-29 12:56:33 +08:00
mzr1996 35fb03a577 Remove wrong files. 2022-11-25 09:54:36 +08:00
Ma Zerun f9be21ab74
[Docs] Add version selection in the banner. (#1217)
* [Docs] Add version selection in the banner.

* Small fix.
2022-11-23 13:38:23 +08:00
mzr1996 75e502ed75 Update Chinese translation. 2022-11-22 15:19:03 +08:00
mzr1996 a4cfd55dd2 Update chinese translation. 2022-11-22 11:39:49 +08:00
mzr1996 44d2886422 [Docs] Add some Chinese translation for API pages. 2022-11-22 09:49:39 +08:00
Ma Zerun 13ff394985
Bump version to v1.0.0rc3. (#1211)
* Bump version to v1.0.0rc3

* Update pre-commit hook
2022-11-21 18:21:48 +08:00
Ezra-Yu b0007812d6
[Enhance] Enhance ArcFaceClsHead. (#1181)
* update arcface

* fix unit tests

* add adv-margins

add adv-margins

update arcface

* rebase

* update doc and fix ut

* rebase

* update code

* rebase

* use label data

* update set-margins

* Modify Arcface related method names.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-21 18:10:39 +08:00
takuoko 4fb44f8770
[Feature] EfficientNets NoisyStudent & L2. (#1122)
* add mvit 21k

* add mvit 21k

* add effnet noisy student

* Revert "add mvit 21k"

This reverts commit f51067c559.

* revert mvit pr

* update link and readme

* update readme

* update l2 link

* update link

Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
2022-11-21 16:57:13 +08:00
marouane amzil 743ca2d602
[Fix] Fix the torchserve. (#1143)
* rebase

* update docker and rm deprecated deployment tools

* update docs

* rebase

Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
2022-11-21 11:18:42 +08:00
Ma Zerun 940a06f645
[Refactor] Refactor to use new fileio API in MMEngine. (#1176)
* [Refactor] Refactor to use new fileio API in MMEngine.

* Add comment about why use `backend`
2022-11-21 10:56:35 +08:00
Ezra-Yu 4969830c8a
[Enhance] Reproduce mobileone training accuracy. (#1191)
* add switch hook and UTs

* update doc

* update doc

* fix lint

* fix ci

* fix ci

* fix typo

* fix ci

* update configs names

* update configs

* update configs

* update links

* update readme

* update vis_scheduler

* update metafile

* update configs

* rebase

* fix ci

* rebase
2022-11-21 10:43:34 +08:00
Hubert 629f6447ef
[Feature] Migrate CSRA head to 1.x. (#1177)
* [Feat] add csra to 1x

* minor fix

* add voc metrics

* refine

* add unittest

* minor fix

* add more comments

* Fix docs and metafile.

* Fix docs.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-21 10:39:16 +08:00
Ma Zerun 0e8cfa6286
[Docs] Add not-found page extension. (#1207)
* [Docs] Add not-found page extension.

* Mock rich during generate docs.

* Fix multiple broken links in docs.

* Fix "right" to "left".
2022-11-21 10:34:05 +08:00
Jiahao Wang 72c6bc4864
[Feature] Support RepLKnet backbone. (#1129)
* update replknet configs

* update replknet test

* update replknet model

* update replknet model

* update replknet model

* update replknet model

* Fix docs and config names

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-21 10:18:58 +08:00
Ezra-Yu c3c1cb93aa
[Feature] Add Switch Recipe Hook. (#1101)
* add switch hook and UTs

* update doc

* update doc

* fix lint

* fix ci

* fix ci

* fix typo

* fix ci

* switchTrainAugHook to switchRecipeHook

* fix lint

* Refactor the `SwitchRecipeHook`.

* Fix windows CI

* Fix windows CI

* Fix windows CI.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-18 18:12:03 +08:00
Songyang Zhang f458bf5a64
[Docs] update visualization doc. (#1160)
* [Docs] update visualization doc

* update doc

* update folder

* update analysis

* Update print config tool

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-18 12:44:55 +08:00
XingyuXie e51ecfb129
[Feature] Add adan optimizer. (#1180)
* add adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate adan optimizer

* uppdate init
2022-11-17 08:11:25 +08:00
takuoko c4f3883a22
[Feature] Support DaViT. (#1105)
* add davit

* fix mixup config

* convert scripts

* lint

* test

* test

* Add checkpoint links.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-16 17:23:55 +08:00
Hubert 992d13e772
[Enhance] add deleting params info in swinv2. (#1142) 2022-11-14 17:07:21 +08:00
Hubert 1b98fc13d9
[Enhance] Add more mobilenetv3 pretrains. (#1154)
* add small-050/075 and move files

* add previous results

* Update checkpoint link

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-14 17:06:39 +08:00
Hakjin Lee cf5879988d
[Feature] Support Activation Checkpointing for ConvNeXt. (#1153)
* Support Activation Checkpointing for ConvNeXt

* Add docstring.

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-14 15:04:28 +08:00
Yang Gao 11cd88f39a
[Fix] Fix configs due to api refactor of `num_classes`. (#1184) 2022-11-14 14:43:56 +08:00
Austin Welch ee9ee9cf3c
[Fix] Update mmcls2torchserve. (#1189) 2022-11-14 14:17:11 +08:00
Ma Zerun 542143cb41
[Feature] Add TIMM and HuggingFace wrappers to build classifiers from them directly. (#1102)
* [Feature] Add TIMM and HuggingFace wrappers to build classifiers from them directly.

* Support `with_cp` and add docstring.

* Add unit tests.

* Update CI.

* Update docs.
2022-11-10 14:56:19 +08:00
Ma Zerun 2151beeb77
[Docs] Support sort and search the Model Summary table. (#1100)
* [Docs] Support sort and search the Model Summary table.

* Add description.

* Fix according to comments
2022-11-08 12:03:06 +08:00
Ma Zerun c48cfa9f47
[Docs] Improve the ResNet model page. (#1118)
* [Docs] Improve the ResNet model page.

* Fix lint.

* Update stat.py
2022-11-08 11:09:51 +08:00
Songyang Zhang 28b71c15bd
[Docs] update the readme of convnext. (#1156)
* [Doc] update the readme of convnext

* update
2022-11-04 17:18:08 +08:00
zzc98 9eb6fc4368
[Feature] Add reduction for neck (#978)
* feat: add reduction for neck

* feat: add reduction for neck

* feat: add reduction for neck

* feat:add linear reduction neck

* feat: add reduction neck

* mod out of linearReduction as tuple

* fix typo

* fix unit tests

* fix unit tests

Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
2022-11-04 15:44:37 +08:00
takuoko 8cc1fdef52
[Enhancement] RepVGG for YOLOX-PAI for dev-1.x. (#1126) 2022-11-04 15:36:18 +08:00
takuoko d05cbbcf9b
[Feature] Support HorNet Backbone for dev1.x. (#1094)
* add hornet

* add hornet

* fix mixup config

* add optim cfgs

Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
2022-11-04 15:33:46 +08:00
Sanbu b16938dc59
[Docs] Fix the installation docs link in README. (#1164) 2022-11-04 15:26:47 +08:00
Hubert 6203fd6cc9
[Docs] Improve ViT and MobileViT model pages. (#1155)
* [Docs] Improve the ViT model page

* [Docs] Improve the MobileViT model page

* fix
2022-11-04 14:53:26 +08:00