Skip to content
Snippets Groups Projects
Commit bc27f241 authored by Rockey's avatar Rockey Committed by GitHub
Browse files

[Fix] Fix the bug that vit cannot load pretrain properly when using i… (#999)


* [Fix] Fix the bug that vit cannot load pretrain properly when using init_cfg to specify the pretrain scheme

* [Fix] fix the coverage problem

* Update mmseg/models/backbones/vit.py

Co-authored-by: default avatarJunjun2016 <hejunjun@sjtu.edu.cn>

* [Fix] make the predicate more concise and clearer

* [Fix] Modified the judgement logic

* Update tests/test_models/test_backbones/test_vit.py

Co-authored-by: default avatarJunjun2016 <hejunjun@sjtu.edu.cn>

* add comments

Co-authored-by: default avatarJunjun2016 <hejunjun@sjtu.edu.cn>
parent f013682e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment