Commit Graph

612 Commits (8593bef3ae6a19bddc41b18085bddd841c1743ec)
 

Author SHA1 Message Date
Yixiao Fang 8593bef3ae
Switch default branch to 1.x (#686)
* add schedule

* update docs

* update issue template

* fix lint

* update migration

* fix lint

* update version of isort
2023-02-03 13:59:27 +08:00
Yuan Liu 54d4cf7275
[Fix]: Pass param by explicitly setting location (#654)
* [Fix]: Locate param in super class

* [Feature]: Add feature predict dim

* [Fix]: Install wheel

* [Fix]: Delete install wheel
2023-02-03 11:50:52 +08:00
GeoffreyChen777 85f1dca88e
[Fix] Update default_runtime.py (#681)
If set `by_epoch=False` for `log_processor`, an error is raised:
```
  File "/home/WMGDS.WMG.WARWICK.AC.UK/chen_c/project/mmengine/mmengine/runner/log_processor.py", line 314, in _check_window_size
    assert log_cfg['window_size'] != 'epoch', \
  File "/home/WMGDS.WMG.WARWICK.AC.UK/chen_c/project/mmengine/mmengine/config/config.py", line 47, in __missing__
    raise KeyError(name)
KeyError: 'window_size'
```

The reason is that here `log_processor` is checking the `window_size`, not `windows_size`: 

50465a2002/mmengine/runner/log_processor.py (L352)
2023-01-31 19:31:43 +08:00
Yixiao Fang 408377a9cd
update pre-commit (#685) 2023-01-30 14:57:47 +08:00
takuoko f959af995a
[BugFix] fix metafile.yaml -> metafile.yml (#680)
* fix manifest

* metafile.yaml -> .yml
2023-01-30 10:46:07 +08:00
Caczhtus c951bb6d22
[Docs] (CodeCamp #76) translate add_transforms.md and conventions.md (#674)
* translate add_transforms.md and conventions.md

* translate add_transforms.md and conventions.md

* update add_translate.md format

* update add_translate.md format

* update

Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
2023-01-16 14:53:53 +08:00
Wangbo Zhao(黑色枷锁) 386f66aa0f
[Fix] Fixed bugs in configs/selfsup/eva/metafile.yaml (#669)
* [Fix] Fix bugs in configs/selfsup/eva/metafile.yaml

* [Fix] add pretrained weights
2023-01-13 17:46:26 +08:00
Junlin Chang 482e9bbc37
[Docs] translate classification.md, detection.md, segmentation.md (#665)
* Add files via upload

Chinese document translation

* Update docs/zh_cn/user_guides/classification.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update docs/zh_cn/user_guides/classification.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update classification.md

* Update detection.md

* Update detection.md

* Update segmentation.md

* update

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>
Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
2023-01-11 19:48:41 +08:00
Yixiao Fang f96b56a4ca
fix link of knn script (#661) 2023-01-10 14:58:21 +08:00
Yixiao Fang 7a16b4e3b9
Deprecate the support of python 3.6 (#657)
* Deprecate the support of python 3.6

* fix lint

* update
2023-01-10 11:25:50 +08:00
JetstramSam e9f337b945
[Docs] Translate two docs (#653)
* translate

* translate

* Update visualization.md

* Update analysis_tools.md

* Update visualization.md

* Update analysis_tools.md

* Update visualization.md

* Update visualization.md

* Update visualization.md

* Update visualization.md

* Update visualization.md

* Update analysis_tools.md

* Update visualization.md

* Update analysis_tools.md

* Update visualization.md

* update

Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
2023-01-04 18:06:16 +08:00
JetstramSam 0ad8faf345
[Docs] Translate three docs (#651)
* translate into Chinese

* Update structures.md

* translate into Chinese

* Update models.md

* Update models.md

* Update models.md

* Update structures.md

* Update structures.md

* Update structures.md

* Update structures.md

* Update transforms.md

* Update transforms.md

* Update transforms.md

* Update transforms.md

* Update transforms.md

* Update models.md

* Update docs/en/advanced_guides/models.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update docs/en/advanced_guides/models.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update docs/en/advanced_guides/models.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update docs/en/advanced_guides/transforms.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update structures.md

* update

* update

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>
Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
2023-01-04 11:26:25 +08:00
Yixiao Fang c152d1451b
Bump version to v1.0.0rc5 (#649)
* Bump version to v1.0.0rc5

* update changelog

* Update README.md

Co-authored-by: Songyang Zhang <tonysy@users.noreply.github.com>

* Update docs/en/notes/changelog.md

Co-authored-by: Songyang Zhang <tonysy@users.noreply.github.com>

* Update docs/zh_cn/notes/changelog.md

Co-authored-by: Songyang Zhang <tonysy@users.noreply.github.com>

* update

* fix lint

Co-authored-by: Songyang Zhang <tonysy@users.noreply.github.com>
2022-12-30 22:19:58 +08:00
Wangbo Zhao(黑色枷锁) a08faa1e11
[Feature] Support MixMIM Pretrain and Finetuning (#626)
* [Feature] Support MixMIM Pretrain and Finetuning

* [Feature] Fix Lint

* [Feature] Add doc string for MixMIMTransformerPretrain

* [Feature] Add doc string for MixMIMPretrainHead

* [Feature] Add README

* [Feature] Fix Config

* [Feature] Fix Config

* [Feature] Add doc string to mixmim neck and bacbone

* [Feature] Add doc string to mixmim neck and bacbone

* [Feature] Support MixMIM Pretrain and Finetuning

* [Feature] Fix Lint

* [Feature] Support MixMIM Pretrain and Finetuning

* [Feature] Fix Lint

* [Feature] Support MixMIM Pretrain and Finetuning

* [Feature] Fix Lint

* [Feature] Support MixMIM Pretrain and Finetuning

* [Feature] Fix Lint

* [Feature] Replace MixMIMTransformer with import from mmcls

* add an explanation of the lr

* add an explanation of the lr

* [Feature] Fix lint

* [Feature] Modification after Review

* [Feature] Modification after Review2

* [Feature] Modification after Review2

* [Feature] Modification after Review2

* [Feature] Modification after Review3

* [Feature] Fix lint

Co-authored-by: WasedaMagina <33023171+WasedaMagina@users.noreply.github.com>
2022-12-30 22:11:53 +08:00
Yuan Liu 304e81650a
[Feature]: Shape bias (#635)
* [Feature]: Add shape bias vis

* [Fix]: Fix lint

* [Feature]: Add shape bias metrics

* [Fix]: Fix lint

* [Fix]: Delete redundant code

* [Feature]: Add shape bias doc

* [Fix]: Fix lint

* [Feature]: add UT

* [Fix]: Fix lint

* [Fix]: Fix typo

* [Fix]: Fix typo

* [Fix]: Fix args param style

* [Feature]: Download pic automatically
2022-12-30 22:11:18 +08:00
Yixiao Fang 1fd3509f7b
[Refactor] Refactor benchmark script and update files (#637)
* update benchmark regression script

* update yml files

* fix lint
2022-12-30 17:37:21 +08:00
Yuan Liu 90f6292d89
[Refactor]: Refactor CAE (#645)
* [Feature]: Add target generator config and param

* [Feature]: Use target generator to generate target

* [Fix]: Fix lint

* [Fix]: Fix UT

* [Fix]: Delete petrel

* [Fix]: Delete download ckpt

* [Fix]: Refactor CAE config
2022-12-30 17:27:20 +08:00
Wangbo Zhao(黑色枷锁) da8b6c5146
[Feature] Support EVA-MAE style (#632)
* [Feature] Support EVA-MAE style

* [Feature] Refine After Review1

* [Feature] Refine After Review2 and Review3. Add ckpt links

* [Feature] Refine After Review4

* [Feature] Refine After Review5

* [Feature] Refine After Review6

* [Feature] Fix file name
2022-12-27 15:47:32 +08:00
ZhaoQiiii c4e1ebb25a
[Docs]: Update datasets.md (#633)
* Update datasets.md

* [Fix]: Fix lint

* Update datasets.md

* Update docs/zh_cn/advanced_guides/datasets.md

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

* Update docs/zh_cn/advanced_guides/datasets.md

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

* Update docs/zh_cn/advanced_guides/datasets.md

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

* Update docs/zh_cn/advanced_guides/datasets.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* Update docs/zh_cn/advanced_guides/datasets.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* fix lint

* update

Co-authored-by: YuanLiuuuuuu <3463423099@qq.com>
Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>
Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>
Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
2022-12-27 15:21:06 +08:00
Yixiao Fang b6585cc1f1
[Fix] Fix knn multi-gpu bug (#634)
* update knn

* update

* fix bugs of knn

* update entrance scripts

* update configs and related codes

* update sampler config

* remove redundance

* update

* update docs

* fix lint

* update logic of loading ckpt
2022-12-23 11:45:48 +08:00
Yixiao Fang 347b49e77f
[Refactor] Refactor t-SNE (#629)
* refactor tsne

* update configs

* update docs

* add cls_token option
2022-12-21 16:21:12 +08:00
YuanLiuuuuuu fd6659bba5 [Fix]: Add space 2022-12-19 15:16:40 +08:00
ZhaoQiiii 4da640b8d0 Update docs/zh_cn/advanced_guides/data_flow.md
Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>
2022-12-19 15:16:40 +08:00
YuanLiuuuuuu 31170f8fc4 [Fix]: Fix lint 2022-12-19 15:16:40 +08:00
ZhaoQiiii c63d1962c0 Update data_flow.md 2022-12-19 15:16:40 +08:00
Yuan Liu 1049791766
[Fix]: Change np.int to int (#636) 2022-12-19 15:14:03 +08:00
Yixiao Fang fbe0ff6ec7
[Fix] Fix key error in configs (#630) 2022-12-14 10:26:52 +08:00
fangyixiao18 bd4609658a [Fix] Fix import error 2022-12-14 09:47:25 +08:00
Yuan Liu a194464863
[Feature]: Add pretraining for FGIA (#607)
* [Feature]: Add pretraining for FGIA

* [Fix]: Add requirements and title

* [Refactor]: Move readme to root folder

* [Feature]: Add cls link

* [Fix]: Fix typo
2022-12-12 18:26:33 +08:00
Yixiao Fang 83e0917482
[Feature] Support BEiT v2 (#627)
* update

* update configs

* update model zoo

* fix lint

* update config
2022-12-12 14:14:49 +08:00
Yixiao Fang a4b96dc662
[Refactor] Refactor projects folder (#620)
* refactor projects folder

* fix lint

* fix typo

* refine readme template

* update downsteam
2022-12-12 14:12:50 +08:00
Yuan Liu aa836ac835
Merge pull request #623 from YuanLiuuuuuu/hotfix/mmcls2timm
[Feature]: Change map_location to cpu
2022-12-09 14:42:19 +08:00
YuanLiuuuuuu 976de2e518 [Feature]: Change map_location to cpu 2022-12-09 14:40:40 +08:00
Yuan Liu 5244b66d5c
[Feature]: Convert scripts and instructions on seg and det (#621)
* [Feature]: Add converting script

* [Feature]: Add instruction for det and seg

* [Feature]: Fix citation

* [Fix]: Use absolute path

* [Fix]: Change tree to blob
2022-12-09 13:42:35 +08:00
Yuan Liu f6049ed379
[Fix]: Fix the link of SimMIM 800pt 100ft (#622)
* [Feature]: Fix test dataloader bug

* [Fix]: Fix the link of 800pt 100ft SimMIM
2022-12-08 16:52:11 +08:00
Yuan Liu ce4b78b171
[Fix]: Change pseudo_collect to default_collect (#616) 2022-12-08 11:12:29 +08:00
Yuan Liu 0d6632a5c7
Merge pull request #618 from open-mmlab/dev-1.x
Merge dev-1.x to 1.x
2022-12-07 11:46:22 +08:00
Yixiao Fang c11ac99355
Bump version to v1.0.0rc4 (#613)
* Bump version to v1.0.0rc4

* fix typo
2022-12-07 11:35:05 +08:00
Yixiao Fang b74c3bb25c
[Docs] add readthedocs algorithm pages and fix some displaying error (#599)
* update algo readme

* add script to generate algo pages in model zoo

* fix lint

* update requirements

* fix lint

* update title

* fix readthedocs docstring displaying error

* update gitignore

* fix displaying

* fix lint
2022-12-06 20:17:34 +08:00
Yixiao Fang 73cd764b5f
[Feature] Support pixel reconstruction visualization (#570)
* refactor reconstruction visualization

* support simmim visualization

* fix reconstruction bug of MAE

* support visualization of MaskFeat

* refaction mae visualization demo

* add unit test

* fix lint and ut

* update

* add docs

* set random seed

* update

* update docstring

* add torch version check

* update

* rename

* update version

* update

* fix lint

* add docstring

* update docs
2022-12-06 19:45:01 +08:00
Yuan Liu d73c953804
[Feature]: MILAN supported (#600)
* [Feature]: Add milan ft config

* [Feature]: Add milan linear prob

* [Feature]: Set diff rank seed in mae ft

* [Feature]: V1

* [Feature]: Add target generator

* [Feature]: Add MILAN head and loss

* [Feature]: Refine milan

* [Feature]: Delete redundant mask and ids_shuffle

* [Feature]: Delete redundant return value of attention masking

* [Feature]: Detele return attention param

* [Feature]: Add typehint and docstring for PromptDecoder and PromptAttention

* [Feature]: Add type hint and docstring

* [Feature]: Fix lint

* [Fix]: Remove petrel backend

* [Feature]: Delete redundant code in clip

* [Feature]: Add ut for milan algorithm

* [Feature]: Delete redundant code

* [Feature]: Use mock for target generator

* [Feature]: Add docstring

* [Feature]: Create classification folder in milan

* [Feature]: Add README

* [Feature]: Add metafile

* [Feature]: Add main paper readme

* [Feature]: Update model zoom

* [Feature]: Fix review

* [Feature]: Fix config path bug

* [Feature]: Fix review#2

* [Feature]: Delete MILAN loss

* [Fix]: Add metafile

* [Fix]: Fix lint

* [Feature]: Change the test milan

* [Feature]: Update the config file name
2022-12-06 19:42:13 +08:00
Yixiao Fang 8b56a78f93
[Fix] Fix dependence and key bug (#611)
* fix dependence bug

* fix
2022-12-06 18:58:54 +08:00
RenQin 7a7b048f23
[Feature]: Add BEiT Support (#425)
* [Feature]: Add BEiT Support

* [Fix]: fix bugs after update

* [Fix]: fix bugs in backbone

* [Refactor]: refactor config

* [Feature]: Support BEiTv2

* [Fix]: Fix UT

* [Fix]: rename some configs

* [Fix]: fix beitv2neck

* [Refactor]: refactor beitv2

* [Fix]: fix lint

* refactor configs

* refactor beitv2

* update configs

* add dalle target generator

* refactor for beitv1

* refactor rel_pos_bias of beit

* update configs

* update configs

* update v1 configs

* update v2 configs

* refactoe layer decay

* update unittest

* fix lint

* fix ut

* add docstrings

* rename

* fix lint

* add beit model and log links

* fix lint

* update according to review

* update

* update

* update LearningRateDecayOptimWrapperConstructor
related configs

* update init and backbone

* update neck and vqkd

* refactor neck

* fix lint

* add some comments

* fix typo

Co-authored-by: 任琴 <PJLAB\renqin@shai14001114l.pjlab.org>
Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
2022-12-06 16:40:05 +08:00
Yuan Liu ce08509014
[Fix]: register data preprocessor (#603) 2022-12-05 14:07:49 +08:00
Yixiao Fang bc0807d3cf
Update CI and UT (#601)
* update ci

* update ut

* fix lint

* update
2022-12-02 17:09:00 +08:00
Yixiao Fang 6db04339a6
[Community] Add './projects' folder and an example (#586)
* add projects folder and readme

* refine description

* fix lint

* update ci

* update

* refine docs
2022-11-23 20:42:31 +08:00
Yixiao Fang a4e9f8f0a9
[Refactor] refactor file io and add ut (#582)
* remove fileclient

* add ut
2022-11-18 16:44:54 +08:00
Yixiao Fang 1835af3a91 [Docs] update readthedocs rst and menu button (#572)
* update the version switcher menu

* update rst

* update

* update
2022-11-10 17:45:27 +08:00
Yixiao Fang 7980414026 Bump version to v1.0.0rc3 (#566)
* change mmcv to mmengine

* update version

* update

* update readme

* update requirements

* update changelog

* fix lint
2022-11-03 16:09:36 +08:00
Songyang Zhang f0d03d4fcd [Docs] translate 4 custom dataset (#561)
* [Docs] translate 4 custom dataset

* Update docs/zh_cn/user_guides/4_pretrain_custom_dataset.md

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>

* update

Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>
2022-11-03 16:09:36 +08:00