Yixiao Fang
aac398a83f
[Feature] Support new configs. ( #1639 )
...
* [Feature] Support new configs (#1638 )
* add new config of mae and simclr
* update
* update setup.cfg
* update eva
* update
* update new config
* Add new config
* remove __init__.py
* 1. remove ; 2. remove mmpretrain/configs/_base_/models/convnext
* remove model_wrapper_cfg and add out type
* Add comment for setting default_scope to NOne
* update if '_base_' order
* update
* revert changes
---------
Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
* Add warn at the head of new config files
---------
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-06-16 16:54:45 +08:00
Ma Zerun
6847d20d57
[Feature] Support multiple multi-modal algorithms and inferencers. ( #1561 )
...
* [Feat] Migrate blip caption to mmpretrain. (#50 )
* Migrate blip caption to mmpretrain
* minor fix
* support train
* [Feature] Support OFA caption task. (#51 )
* [Feature] Support OFA caption task.
* Remove duplicated files.
* [Feature] Support OFA vqa task. (#58 )
* [Feature] Support OFA vqa task.
* Fix lint.
* [Feat] Add BLIP retrieval to mmpretrain. (#55 )
* init
* minor fix for train
* fix according to comments
* refactor
* Update Blip retrieval. (#62 )
* [Feature] Support OFA visual grounding task. (#59 )
* [Feature] Support OFA visual grounding task.
* minor add TODO
---------
Co-authored-by: yingfhu <yingfhu@gmail.com>
* [Feat] Add flamingos coco caption and vqa. (#60 )
* first init
* init flamingo coco
* add vqa
* minor fix
* remove unnecessary modules
* Update config
* Use `ApplyToList`.
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
* [Feature]: BLIP2 coco retrieval (#53 )
* [Feature]: Add blip2 retriever
* [Feature]: Add blip2 all modules
* [Feature]: Refine model
* [Feature]: x1
* [Feature]: Runnable coco ret
* [Feature]: Runnable version
* [Feature]: Fix lint
* [Fix]: Fix lint
* [Feature]: Use 364 img size
* [Feature]: Refactor blip2
* [Fix]: Fix lint
* refactor files
* minor fix
* minor fix
---------
Co-authored-by: yingfhu <yingfhu@gmail.com>
* Remove
* fix blip caption inputs (#68 )
* [Feat] Add BLIP NLVR support. (#67 )
* first init
* init flamingo coco
* add vqa
* add nlvr
* refactor nlvr
* minor fix
* minor fix
* Update dataset
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
* [Feature]: BLIP2 Caption (#70 )
* [Feature]: Add language model
* [Feature]: blip2 caption forward
* [Feature]: Reproduce the results
* [Feature]: Refactor caption
* refine config
---------
Co-authored-by: yingfhu <yingfhu@gmail.com>
* [Feat] Migrate BLIP VQA to mmpretrain (#69 )
* reformat
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* change
* refactor code
---------
Co-authored-by: yingfhu <yingfhu@gmail.com>
* Update RefCOCO dataset
* [Fix] fix lint
* [Feature] Implement inference APIs for multi-modal tasks. (#65 )
* [Feature] Implement inference APIs for multi-modal tasks.
* [Project] Add gradio demo.
* [Improve] Update requirements
* Update flamingo
* Update blip
* Add NLVR inferencer
* Update flamingo
* Update hugging face model register
* Update ofa vqa
* Update BLIP-vqa (#71 )
* Update blip-vqa docstring (#72 )
* Refine flamingo docstring (#73 )
* [Feature]: BLIP2 VQA (#61 )
* [Feature]: VQA forward
* [Feature]: Reproduce accuracy
* [Fix]: Fix lint
* [Fix]: Add blank line
* minor fix
---------
Co-authored-by: yingfhu <yingfhu@gmail.com>
* [Feature]: BLIP2 docstring (#74 )
* [Feature]: Add caption docstring
* [Feature]: Add docstring to blip2 vqa
* [Feature]: Add docstring to retrieval
* Update BLIP-2 metafile and README (#75 )
* [Feature]: Add readme and docstring
* Update blip2 results
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
* [Feature] BLIP Visual Grounding on MMPretrain Branch (#66 )
* blip grounding merge with mmpretrain
* remove commit
* blip grounding test and inference api
* refcoco dataset
* refcoco dataset refine config
* rebasing
* gitignore
* rebasing
* minor edit
* minor edit
* Update blip-vqa docstring (#72 )
* rebasing
* Revert "minor edit"
This reverts commit 639cec757c215e654625ed0979319e60f0be9044.
* blip grounding final
* precommit
* refine config
* refine config
* Update blip visual grounding
---------
Co-authored-by: Yiqin Wang 王逸钦 <wyq1217@outlook.com>
Co-authored-by: mzr1996 <mzr1996@163.com>
* Update visual grounding metric
* Update OFA docstring, README and metafiles. (#76 )
* [Docs] Update installation docs and gradio demo docs. (#77 )
* Update OFA name
* Update Visual Grounding Visualizer
* Integrate accelerate support
* Fix imports.
* Fix timm backbone
* Update imports
* Update README
* Update circle ci
* Update flamingo config
* Add gradio demo README
* [Feature]: Add scienceqa (#1571 )
* [Feature]: Add scienceqa
* [Feature]: Change param name
* Update docs
* Update video
---------
Co-authored-by: Hubert <42952108+yingfhu@users.noreply.github.com>
Co-authored-by: yingfhu <yingfhu@gmail.com>
Co-authored-by: Yuan Liu <30762564+YuanLiuuuuuu@users.noreply.github.com>
Co-authored-by: Yiqin Wang 王逸钦 <wyq1217@outlook.com>
Co-authored-by: Rongjie Li <limo97@163.com>
2023-05-19 16:50:04 +08:00
mzr1996
0979e78573
Rename the package name to `mmpretrain`.
2023-02-17 15:20:55 +08:00
Ma Zerun
fcd57913ae
[Enhance] Upgrade isort pre-commit hooks. ( #687 )
...
* Use new version flake8 and isort hooks
* Fix missing copyright
2022-02-17 02:17:20 +08:00
Ma Zerun
f552419e45
[Enhance] Add setup multi-processing both in train and test. ( #671 )
2022-01-27 10:18:36 +08:00
Zhicheng Chen
d56170a734
[Feature] Support EfficientNet ( #649 )
...
* 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
* add efficient backbone
* add config
* add Edge Residual
* fix bug
* remove unnecessary files
* refactor
* add resize in crop to ensure crop size is output size
* fix bug and add comments
* test
* fix
* add more configs
* add more configs
* add more configs
* fix bug
* add model zoo
* fix
* reorganize code
* add edge tpu
* add edge tpu converter
* rename
* update readme
* reorganize code and config
* Rename configs of EfficientNet, and add metafile & model_zoo
* Remove `backend='pillow'`
* Add comments about EfficientNet-EdgeTPU
* Rename the convert tool of EfficientNet.
* Refactor EfficientNet and update docstring.
* Update EfficientNet-EdgeTPU config
* Fix unit tests
Co-authored-by: lixinran <lixr423@outlook.com>
Co-authored-by: lixinran <lixinran@sensetime.com>
Co-authored-by: mzr1996 <mzr1996@163.com>
2022-01-25 12:14:17 +08:00
Ma Zerun
c7c5ab7a04
[Dev] Update benchmark regression tools ( #556 )
...
* Update benchmark tools
* Fix AccessDeniedError
* Support to calculate flops and params with benchmark_valid.py
* Fix typo
2021-12-14 17:19:32 +08:00
Ma Zerun
f2c1c57398
[Docs] Fix docs build dependency. ( #584 )
...
* Fix docs.
* Add MMHuman3D
2021-12-07 11:16:33 +08:00
Ezra-Yu
7b37bc5bf5
[Refactor] Refactor `analysis_log.py`. ( #529 )
...
* fix bugs and refactor analysis_log
* update some names
2021-12-03 16:02:50 +08:00
Ma Zerun
f3fbc8b90b
[Docs] Add abstract and image for every paper. ( #546 )
2021-11-24 17:23:37 +08:00
Ma Zerun
10e8495055
[Tool] Add a tool to test TorchServe. ( #468 )
...
* Add `title` option in `show_result_pyplot`.
* Add test_torchserver.py
* Add docs about test torchserve
* Update docs and result output.
* Update chinese docs.
2021-10-14 17:56:32 +08:00
Ma Zerun
63a2211315
[Enhance] Add benchmark regression tools ( #447 )
2021-10-13 17:01:37 +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
Ma Zerun
1d6d142b42
[Docs] Use PyTorch style docs theme ( #457 )
...
* Change docs theme to pytorch-theme
* Update docs rst
* Fix docs title level.
* Add static resources
* Fix lint
2021-09-23 22:21:03 +08:00
Ma Zerun
5383787512
[Enhance] Better result visualization ( #419 )
...
* Imporve result visualization to support wait time and change the backend
to matplotlib.
* Add unit test for visualization
* Add adaptive dpi function
* Rename `imshow_cls_result` to `imshow_infos`.
* Support str in `imshow_infos`
* Improve docstring.
2021-08-31 10:50:28 +08:00
Ma Zerun
c0a4916a06
[Enhance] Update `digit_version` function. ( #402 )
...
* Update digit_version
* Add digit_version unit test
2021-08-12 12:13:25 +08:00
Wenwei Zhang
06f415c28a
support to test mmdet inference with mmcls backbone ( #343 )
...
* support to test mmdet inference with mmcls backbone
* update config
* update
* add mmdet dependency in tests
2021-07-06 14:34:12 +08:00
Ma Zerun
aad796ae6f
Modify test tools and add some new tools ( #322 )
...
* Refactor tools folder structure.
* Modify tools/test.py and add eval_metric.py to analysis test output.
* Add new tools `analyze_logs.py` and `print_config.py`.
* Add comment for analysis_tools functions.
2021-06-30 20:51:16 +08:00
David de la Iglesia Castro
e2507cae97
Add mmcls2torchserve ( #292 )
...
* Add mmcls2torchserve
* Update docs
2021-06-12 21:45:45 +08:00
LXXXXR
04cdbe4d66
remove unnecessary addopts ( #164 )
2021-02-25 14:09:03 +08:00
Y. Xiong
c00ee6a876
workflow: modify build, add deploy ( #61 )
...
* workflow: modify build, add deploy
* fix type: mmseg -> mmcls
* simplify build by delete cuda related settings
* re-sort requirements by pre-commit hook
* build: support more pytorch versions
* build: fix torchvision version bug
* del useless test imports
* merge upstream
* build: del docstring checking to pass coverage check
2020-10-10 22:15:50 +08:00
David de la Iglesia Castro
b577594d3d
fix outdated configs
2020-10-01 16:15:14 +02:00
lixiaojie
f6260b33bf
Add RandomCrop, RandomResizedCrop, RandomGrayscale, impad
2020-07-12 00:06:55 +08:00
chenkai
02e11cc1f3
Refactoring for ResNet family
2020-06-25 11:57:50 +08:00
chenkai
a99e6eb10d
init commit
2020-05-21 21:21:43 +08:00