Yike Yuan
4f2f3752d9
Support IconQA dataset. ( #1670 )
2023-08-01 16:14:40 +08:00
Yixiao Fang
5c71eba13d
Bump version to 1.0.1 ( #1731 )
...
* bump version to 1.0.1
* update changelog
* update readme
* Update changelog.md
* update requirements
---------
Co-authored-by: Ma Zerun <mzr1996@163.com>
2023-07-31 17:08:05 +08:00
fangyixiao18
58a2243d99
Merge branch 'main' into dev
2023-07-28 15:35:55 +08:00
Yixiao Fang
1f99279657
[Fix] Fix dict update in minigpt4. ( #1709 )
2023-07-28 15:30:30 +08:00
Yixiao Fang
b1cd05caf2
[Enhance] Set 'is_init' in some multimodal methods ( #1718 )
...
* update is_init of multimodal
* Update minigpt4.py
---------
Co-authored-by: Ma Zerun <mzr1996@163.com>
2023-07-28 15:28:07 +08:00
marouane amzil
e7fc25cf64
[Fix] Fix nested predict for multi-task prediction. ( #1716 )
...
* fix: multi task predict
* change the loop
---------
Co-authored-by: Pierre Colle <piercus@gmail.com>
2023-07-28 13:44:12 +08:00
Nripesh Niketan
4d1dbafaa2
[Enhance] Add GPU Acceleration Apple silicon mac ( #1699 )
...
* Add GPU Acceleration Apple silicon mac
* lint fix
* Update launch.py
* Use to refactor the device selection.
* Update launch.py
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-07-26 17:51:00 +08:00
liyl
2b8d8eecb2
[Fix] Fix the issue #1711 "GaussianBlur doesn't work" ( #1722 )
...
* Fix issue 1711. GaussianBlur.
* Fix UT
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-07-25 11:25:32 +08:00
fanqiNO1
64c446d507
[Feature] Support LoRA. ( #1687 )
...
* [Feature] Support LoRA
* [Feature] Support LoRA
* [Fix] Fix bugs
* [Refactor] Add copyright
* [Fix] Fix bugs
* [Enhancement] Add
* [Fix] Fix bugs
* [Fix] Fix bugs
* [Fix] Fix bugs
* [Fix] Fix bugs
* [Fix] Fix bugs
* [Docs] Update docstring
* [Docs] Update docstring
* [Refactor] Reformat with yapf
* [Docs] Update docstring
* [Refactor] Docformat
* [Refactor] Fix double-quote-string
* [Fix] fix pytorch version
* [Fix] isort
* [Fix] isort
* [Enhancement] Extend forward
* [Enhancement] Extend test
* [Fix] Fix targets
* [Enhancement] Extend LoRA to frozen models
* [Fix] Fix spelling
* [Fix] Override __getattr__
* [Fix] Add init_cfg
* [Enhancement] Add example config
* [Fix] Fix init_cfg
* [Enhancement] Add merging script
* [Fix] Remove init_cfg
* [Fix] Change lora key
* [Fix] Fix merge scripts
* [Fix] Fix merge scripts
* [Docs] Add docs
* [Fix] fix
2023-07-24 11:30:57 +08:00
mzr1996
60d780f99e
Fix docs
2023-07-20 10:21:15 +08:00
Fabien Merceron PRL
db395d35b1
fix_freeze_without_cls_token_vit ( #1693 )
2023-07-14 15:43:19 +08:00
fanqiNO1
465b6bdeec
[Refactor] Fix spelling ( #1689 )
2023-07-13 15:38:58 +08:00
fanqiNO1
5c43d3ef42
[Refactor] BEiT refactor ( #1705 )
...
* [Refactor] BEiT refactor
* [Fix] Fix arch zoo
* [Fix] Fix arch zoo
* [Fix] Fix freeze stages
* [Fix] Fix freeze ln2
* [Fix] Fix freezing vit ln2
2023-07-11 15:49:41 +08:00
Ezra-Yu
78d0ddc852
[Fix] Fix RandomCrop bug ( #1706 )
2023-07-11 10:18:08 +08:00
Yixiao Fang
ae7a7b7560
Bump version to 1.0.0 ( #1686 )
...
* bump version to 1.0.0
* update
* update
* fix lint
* update
* update
* update changelog
* update
2023-07-05 11:51:12 +08:00
fanqiNO1
7cbfb36c14
[Refactor] Fix spelling ( #1681 )
...
* [Refactor] Fix spelling
* [Refactor] Fix spelling
* [Refactor] Fix spelling
* [Refactor] Fix spelling
2023-07-05 11:07:43 +08:00
Wang Xiang
feb0814b2f
[Feature] Transfer shape-bias tool from mmselfsup ( #1658 )
...
* Transfer shape-bias tool from mmselfsup
* run shape-bias successfully, add CN docs
* fix unit test bug
* add shape_bias to index.rst in docs
* modified mistakes in shape-bias docs
2023-07-03 11:39:23 +08:00
Peng Lu
00030e3f7d
[Fix] refactor _prepare_pos_embed in ViT to fix bug in loading old checkpoint ( #1679 )
2023-07-03 11:36:44 +08:00
Wangbo Zhao(黑色枷锁)
68758db7a8
[Fix] freeze pre norm in vision transformer. ( #1672 )
2023-06-28 17:00:27 +08:00
Yixiao Fang
10685fc81c
[Refactor] Replace if '_base_' with read_base(). ( #1665 )
2023-06-28 16:57:18 +08:00
Yixiao Fang
70ff2abbf7
[Refactor] Refactor _prepare_pos_embed in ViT ( #1656 )
...
* deal with cls_token
* Update implement
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-06-20 17:37:08 +08:00
Ma Zerun
7d850dfadd
[Improve] Update Otter and LLaVA docs and config. ( #1653 )
2023-06-19 20:16:13 +08:00
Mashiro
d6056af2b8
[Fix][New_config] Fix demo bug ( #1647 )
...
* Fix demo
* Update implement
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-06-19 15:15:28 +08:00
Yiqin Wang 王逸钦
6d7fe91a98
[Feature] Support Flickr30k Retrieval dataset ( #1625 )
...
* format
* remove abs path
* init add flickr30k caption
* remove abs dir
* update blip readme
* add convert sscripts
* minor
* minor
2023-06-19 15:15:03 +08:00
Yixiao Fang
a1cfe888e2
[Feature] Support SparK. ( #1531 )
...
* add spark configs
* fix configs
* remove repeat aug
* add module codes
* support lr layer decay of resnet
* update
* fix lint
* add metafile and readme
* fix lint
* add models and logs
* refactor codes
* fix lint
* update model rst
* update name
* add docstring
* add ut
* fix lint
---------
Co-authored-by: Ma Zerun <mzr1996@163.com>
2023-06-19 11:27:50 +08:00
Ma Zerun
bfd49b0d52
[Feature] Support LLaVA ( #1652 )
2023-06-17 16:05:52 +08:00
Ma Zerun
e69bace03f
[Feature] Support otter ( #1651 )
...
* [Feature] Support Otter
* Update docs
2023-06-17 16:03:21 +08:00
Yixiao Fang
9d3fc43073
[Feature] Support MiniGPT-4 ( #1642 )
...
* support inference of MiniGPT-4
* refine codes
* update metafile, readme and docs
* fix typo
* fix lint
* add ckpt load hook
2023-06-16 22:50:34 +08:00
Yike Yuan
a673b048a5
[Feature] Add support for VizWiz dataset. ( #1636 )
...
* add vizwiz
* update dataset
* [Fix] Build img_path in data_sample.
* Fix isort.
---------
Co-authored-by: ZhangYuanhan-AI <yuanhan002@ntu.edu.sg>
2023-06-16 17:16:17 +08:00
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
Ezra-Yu
93e0f107c4
[Fix] Fix bug loading IN1k dataset. ( #1641 )
2023-06-16 15:35:27 +08:00
Yike Yuan
7581b76233
[Feature] Add support for vsr dataset ( #1634 )
...
* add VSR dataset
* [Fix] Modify example and load gt_answer as string.
---------
Co-authored-by: ZhangYuanhan-AI <yuanhan002@ntu.edu.sg>
2023-06-15 19:17:02 +08:00
zzc98
53648baca5
[Fix] fix sam bug ( #1633 )
2023-06-15 10:10:51 +08:00
zzc98
3eaf719a64
[Feature] Add InternImage Classification project ( #1569 )
...
* [Feature] add internimage project
* [Feature] add internimage project
* update license
* [Feature] add internimage project
* [Feature] add internimage project
* [Feature] add internimage project
* [Feature] add internimage project
* [Feature] add internimage project
* [Feature] add internimage project
* update license
* [Feature] add internimage project
* [Feature] add internimage project
* [Feature] add internimage project
* [Feature] add internimage project
* update internimage configs
* support internimage project
* support internimage project
* support internimage project
* internimage
2023-06-13 19:11:54 +08:00
Yiqin Wang 王逸钦
bb415b91be
[Feature] Support OCR-VQA dataset ( #1621 )
...
* support ocrvqa dataset
* minor
* remove abs path
* refine README
2023-06-13 10:28:45 +08:00
Yuan Liu
bddbc085fc
[Feature]: Add image_only param ( #1613 )
...
* [Feature]: Add image_only param
* [Feature]: Use image_only
2023-06-06 12:50:42 +08:00
Wangbo Zhao(黑色枷锁)
3a277ee9e6
[Feature] support TextVQA dataset ( #1596 )
...
* [Support] Suport TextVQA dataset
* add folder structure
* fix readme
2023-06-02 11:50:38 +08:00
zzc98
bc3c4a35ee
[Refactor] Support to use "split" to specify training set/validation set in the ImageNet dataset ( #1535 )
...
* [Feature]: Add caption
* [Feature]: Update scienceqa
* [CI] Add test mim CI. (#879 )
* refactor imagenet dataset
* refactor imagenet dataset
* refactor imagenet dataset
* update imagenet21k
* update configs
* update mnist
* update dataset_prepare.md
* fix sun397 url and update user_guides/dataset_prepare.md
* update dataset_prepare.md
* fix sun397 dataset
* fix sun397
* update chinese dataset_prepare.md
* update dataset_prepare.md
* [Refactor] update voc dataset
* [Refactor] update voc dataset
* refactor imagenet
* refactor imagenet
* use mmengine.fileio
---------
Co-authored-by: liuyuan <3463423099@qq.com>
Co-authored-by: Ma Zerun <mzr1996@163.com>
Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
2023-06-02 11:03:18 +08:00
Ma Zerun
5bd088ef43
[Fix] Update torchvision transform wrapper ( #1595 )
...
* Update torchvision transform wrapper
* Update requirements
* fix unit tests
---------
Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
2023-05-26 17:56:09 +08:00
Yixiao Fang
e4c4a81b56
[Feature] Support iTPN and HiViT ( #1584 )
...
* hivit added
* Update hivit.py
* Update hivit.py
* Add files via upload
* Update __init__.py
* Add files via upload
* Update __init__.py
* Add files via upload
* Update hivit.py
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update itpn.py
* Add files via upload
* Update __init__.py
* Update mae_hivit-base-p16.py
* Delete mim_itpn-base-p16.py
* Add files via upload
* Update itpn_hivit-base-p16.py
* Update itpn.py
* Update hivit.py
* Update __init__.py
* Update mae.py
* Delete hivit.py
* Update __init__.py
* Delete configs/itpn directory
* Add files via upload
* Add files via upload
* Delete configs/hivit directory
* Add files via upload
* refactor and add metafile and readme
* update clip
* add ut
* update ut
* update
* update docstring
* update model.rst
---------
Co-authored-by: 田运杰 <48153283+sunsmarterjie@users.noreply.github.com>
2023-05-26 12:08:34 +08:00
Ezra-Yu
1f07c92ed1
[Feature] Add retrieval mAP metric. ( #1552 )
...
* rebase
* fefine
* fix lint
* update readme
* rebase
* fix lint
* update docstring
* update docstring
* rebase
* rename corespanding names
* rebase
2023-05-26 10:40:08 +08:00
Wangbo Zhao(黑色枷锁)
a779c8c5a7
[Feature] Support NoCap dataset based on BLIP. ( #1582 )
...
* [Feature] Support nocaps dataset
* precommit
* Use official coco format
* add nocp readme
* fix readme
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-05-23 18:06:43 +08:00
Yuan Liu
46a523ef63
[Feature] Add GQA dataset. ( #1585 )
...
* [Feature]: Add GQA dataset
* [Feature]: Add GQA
* [Feature]: Add GQA UT
* [Fix]: Fix hint
* [Feature]: Add BLIP2 GQA
* [Fix]: Fix lint
* [Feature]: Update anno link
* [Fix]: Update docstring
* [Feature]: Update all links
2023-05-23 11:25:42 +08:00
Ma Zerun
4dd8a86145
Bump version to v1.0.0rc8 ( #1583 )
...
* Bump version to v1.0.0rc8
* Apply suggestions from code review
Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>
* Update README.md
---------
Co-authored-by: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com>
2023-05-23 11:22:51 +08:00
Yuan Liu
be389eb846
[Fix] Fix scienceqa ( #1581 )
2023-05-22 16:10:17 +08:00
ZhangYiqin
023d6869bd
[Fix] Incorrect stage freeze on RIFormer Model ( #1573 )
...
* [Doc] RIFormer's README did not link to its paper properly
* Incorrect code for reproducing RIFormer
the default value of frozen stage is set to 0, and the doc says that this will lead to no stage be frozen. But the actual case is the patch_embed will be freezed.
This may cause incorrect training, thus influencing the result.
I suggest a careful review.
2023-05-22 16:01:32 +08:00
Yixiao Fang
1e478462b8
[Feature] Support Chinese CLIP. ( #1576 )
...
* support cn-clip
* update README
* Update progress bar
* update order of category
* fix lint
* update
* update readme and metafile
* update
* update docstring
* refactor tokenizer
* fix lint
* Update README and progress bar
---------
Co-authored-by: mzr1996 <mzr1996@163.com>
2023-05-22 15:46:13 +08:00
liuyuan
74f24658e7
[Fix]: Delete GQA
2023-05-22 11:57:18 +08:00
liuyuan
13e4d6c512
[Fix]: Fix UT
2023-05-22 11:55:08 +08:00
liuyuan
b0ad99afb9
[Fix]: Fix bug
2023-05-22 11:38:34 +08:00