Zaida Zhou
2dede04703
Test commands of mim in CI ( #1654 )
...
* Test commands of mim in CI
* trigger CI
* trigger CI
2022-06-14 20:55:43 +08:00
rotorliu
f3c72c6dbb
Fixed a few spelling errors ( #1656 )
...
* 修复拼写错误
* Fix lint error
* Fix lint error
* Fix lint error
2022-06-14 12:10:59 +08:00
Xiaolin Wang
df434bed69
fix typo ( #1667 )
2022-06-14 11:20:31 +08:00
MengzhangLI
43b4efb122
[Fix] Fix image_demo.py error ( #1640 )
...
* [Fix] Fix image_demo.py error
* [Fix] Fix image_demo.py error
* fix
* delete plt.cla()
2022-06-09 17:20:28 +08:00
Zaida Zhou
775d05c54f
Add mim to extras_require in setup.py ( #1655 )
...
* Add mim to extras_require in setup.py
* fix typo
2022-06-09 16:31:55 +08:00
RunningLeon
60655de194
change for easy deployment of segmenter ( #1642 )
2022-06-07 18:00:13 +08:00
Miao Zheng
46326f63ce
Bump v0.25.0 ( #1636 )
...
* Bump v0.25.0
* format
* fix mmcv version
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-06-02 22:40:08 +08:00
谢昕辰
092b3578bb
[Doc] Format readme ( #1635 )
...
* quick links
* reorganize readme
* move licence
* modify README_zh-CN
2022-06-02 20:07:14 +08:00
谢昕辰
5748a6c142
[Doc] Rewrite the installation guide ( #1630 )
...
* new installation guide
* fix typo
* pass pre-commit hook
* add docker tutorial
* modify docker command
2022-06-02 18:58:33 +08:00
谢昕辰
98dfa1749b
fix UPerNet typo and solve key not found error in mim ( #1633 )
2022-06-02 18:56:56 +08:00
Wencheng Wu
63fa98515b
[Fix] Fix the error of BCE loss when batch size is 1. ( #1629 )
2022-05-31 18:07:29 +08:00
MengzhangLI
ef905223b3
[Enchancement] Change owners.yml ( #1621 )
...
* [Enchancement] Change owners.yml
* daily-shifted-based
2022-05-28 16:45:37 +08:00
Aston.He
7628a61f92
feat(mlu): Support PyTorch backend on MLU. ( #1515 )
...
* feat(mlu): Support PyTorch backend on MLU.
* fix redundant device variable.
* Update mmseg/apis/train.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* Update comments.
* Update mmseg/apis/train.py
* Update is_mlu_available flag.
* align util_distribution.py to mmdet.
* align util_distribution.py to mmdet.
* add build_dp, build_ddp testcase.
* Update mmseg/utils/util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmseg/utils/util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmseg/utils/util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update tests/test_utils/test_util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update tests/test_utils/test_util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update tests/test_utils/test_util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update tests/test_utils/test_util_distribution.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* add mmcv version check for mlu device.
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-05-25 18:11:42 +08:00
Miao Zheng
aa50358c71
[Fix] pip up grade when testing windows platform ( #1610 )
2022-05-24 13:33:48 +08:00
Miao Zheng
104429be00
[Docs] Replace markdownlint with mdformat for avoiding installing ruby ( #1591 )
...
* [Docs] Replace markdownlint with mdformat for avoiding installing ruby
* [Docs] Replace markdownlint with mdformat for avoiding installing ruby
* lint
2022-05-20 18:29:44 +08:00
Miao Zheng
9c8658ad45
[Docs] Replace QQ group qrcode ( #1598 )
2022-05-20 15:05:31 +08:00
FangjianLin
88b4f0cec2
[Fix] Fix fastfcn crop_size in README.md ( #1597 )
2022-05-20 13:54:25 +08:00
FreyWang
4f394b0674
[Fix] bug of resize warning when align_corners is True ( #1592 )
...
Signed-off-by: FreyWang <wangwxyz@qq.com>
2022-05-18 16:39:52 +08:00
Miao Zheng
4534fb6868
[Docs] Configure Myst-parser to parse anchor tag ( #1589 )
...
* [Enhancement] Delete DS_Store file
* [Docs] Configure Myst-parser to parse anchor tag
2022-05-17 23:12:17 +08:00
Double
44cfe04be9
fix: correct inference_demo.ipynb path ( #1576 )
2022-05-16 22:34:37 +08:00
MengzhangLI
214a0d3279
[Enchance] Update new QQ Seg Group link ( #1574 )
2022-05-13 14:43:01 +08:00
MengzhangLI
740b545770
[Fix] Fix UnicodeDecodeError in md2yml.py ( #1555 )
2022-05-11 23:41:22 +08:00
atinfinity
090c91b7dc
fixed Dockerfile to run demo script in docker container ( #1568 )
...
* fixed Dockerfile to run demo script
* changed from libgl1-mesa-dev to libgl1-mesa-glx
2022-05-11 23:37:42 +08:00
Miao Zheng
ee67c808b2
[Doc] Add explanation and usage instructions for data configuration ( #1548 )
...
* [WIP] Data configuration
* [Doc] Add data configuration
* version info
* grammar
* typo
* typo
* format
* fix based on comments
* grammar
* comments
2022-05-06 15:25:05 +08:00
MengzhangLI
a33d27e356
[Fix] Fix main line link in MAE README.md ( #1556 )
2022-05-05 17:49:38 +08:00
Miao Zheng
2638bdf39b
[Enhancement] Fix the build_segmentor in colab demo ( #1551 )
...
* [Enhancement] Delete DS_Store file
* [Enhancement] Fix the build_segmentor
2022-05-05 13:39:56 +08:00
Miao Zheng
2d8be3712e
[Enhancement] Delete DS_Store file ( #1549 )
...
* [Enhancement] Delete DS_Store file
* [Enhancement] Delete DS_Store file
2022-05-04 19:49:23 +08:00
Miao Zheng
bc60213d2a
[Enhancement] Use round-robin ( #1543 )
2022-05-03 17:12:19 +08:00
MengzhangLI
ae0fac4a36
Bump version to v0.24.1 ( #1541 )
...
* Bump version to v0.24.1
* version.py
* changelog.md
2022-05-01 14:06:04 +08:00
Miao Zheng
9dae7e1d49
[Enhancement]Revise docstring and UT for layer decay LR ( #1540 )
...
* fix docstring
* fix ut for optimizer cosntructor
2022-05-01 13:13:53 +08:00
Sebastian
d1281a08aa
Replace Arxiv with ICCV bibtex entry ( #1536 )
...
* Replace Arxiv with ICCV bibtex entry
* Update configs/segmenter/README.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-05-01 12:56:56 +08:00
FangjianLin
8be5987fdd
[Fix] Add MAE LayerDecayOptimizerConstructor ( #1539 )
2022-05-01 12:42:49 +08:00
Miao Zheng
c4c0c1f804
Bump version to v0.24.0 ( #1533 )
...
* [WIP] Bump version to v0.24.0
* changelog
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* Update docs/en/changelog.md
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* words
* typo
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-04-29 22:23:02 +08:00
wangbin
061b5b4383
[Fix] Fix the bug in binary_cross_entropy ( #1527 )
...
* [Fix] Fix the bug in binary_cross_entropy
Fix the bug in binary_cross_entropy
'label.max() <= 1' should mask out ignore_index, since the ignore_index often set as 255.
* [Fix] Fix the bug in binary_cross_entropy, add comments
As the ignore_index often set as 255, so the binary class label check should mask out ignore_index.
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* [Fix] Fix the bug in binary_cross_entropy
As the ignore_index often set as 255, so the binary class label check should mask out ignore_index.
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Co-authored-by: MeowZheng <meowzheng@outlook.com>
2022-04-29 19:32:12 +08:00
Miao Zheng
a87b892ce4
[Fix] Add GPG keys and del mmcv version in Dockerfile ( #1534 )
2022-04-29 19:31:50 +08:00
MengzhangLI
b26b8e0378
[Doc] Add more clearly statement of CPU training/inference ( #1518 )
...
* [Doc] Add more clearly statement of CPU training/inference
* Update docs/en/inference.md
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-29 16:41:32 +08:00
Miao Zheng
44b9c6fbcc
[Fix] Add GPG keys in CI ( #1532 )
...
* [Fix] Fix system dependencies in CI
* del pt1.5
* add gpg keys
* add pt1.5
2022-04-29 14:20:08 +08:00
MengzhangLI
6a587c62dd
[Fix] Add MAE in cover page ( #1523 )
2022-04-28 21:54:57 +08:00
Miao Zheng
b96e0d1641
[Enhancement] Delete seed in dist_train.sh ( #1519 )
2022-04-28 11:35:10 +08:00
Yuan Liu
dc3e1b0b54
[Feature]: Add MAE ( #1307 )
...
* [Fix]: Fix lint
* [WIP]: Add mae seg config
* [Feature]: Add MAE seg
* [Fix]: Fix mae dataset img scale bug
* [Fix]: Fix lint
* [Feature]: Change mae config to mae_segmentation's config
* [Feature]: Add interpolate pe when loading
* [Fix]: Fix pos_embed not used bug
* [Fix]: Fix lint
* [Fix]: Init rel pos embed with zeros
* [Fix]: Fix lint
* [Fix]: Change the type name of backbone to MAE
* [Fix]: Delete ade20k_512x512.py
* [Fix]: Use mmseg provided ade20k.py
* [Fix]: Change 1 sample per gpu to 2 samples per gpu
* [Fix]: Fix conflict
* [Refactor]: Use the TransformerEncoderLayer of BEiT
* [Feature]: Add UT
* [Fix]: Change the default value of qv bias to False
* [Fix]: Initialize relative pos table with zeros
* [Fix]: Delete redundant code in mae
* [Fix]: Fix lint
* [Fix]: Rename qkv_bias to qv_bias
* [Fix]: Add docstring to weight_init of MAEAttention
* [Refactor]: Delete qv_bias param
* [Fix]: Add reference to fix_init_weight
* [Fix]: Fix lint
* [Fix]: Delete extra crop size
* [Refactor]: Rename mae
* [Fix]: Set bias to True
* [Fix]: Delete redundant params
* [Fix]: Fix lint
* [Fix]: Fix UT
* [Fix]: Add resize abs pos embed
* [Fix]: Fix UT
* [Refactor]: Use build layer
* [Fix]: Add licsense and fix docstring
* [Fix]: Fix docstring
* [Feature]: Add README metafile
* [Fix]: Change 640 to 512
* [Fix]: Fix README
* fix readme of MAE
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-04-28 00:54:50 +08:00
Yuan Liu
6563cb513e
[Feature]: Add MAE ( #1307 )
...
* [Fix]: Fix lint
* [WIP]: Add mae seg config
* [Feature]: Add MAE seg
* [Fix]: Fix mae dataset img scale bug
* [Fix]: Fix lint
* [Feature]: Change mae config to mae_segmentation's config
* [Feature]: Add interpolate pe when loading
* [Fix]: Fix pos_embed not used bug
* [Fix]: Fix lint
* [Fix]: Init rel pos embed with zeros
* [Fix]: Fix lint
* [Fix]: Change the type name of backbone to MAE
* [Fix]: Delete ade20k_512x512.py
* [Fix]: Use mmseg provided ade20k.py
* [Fix]: Change 1 sample per gpu to 2 samples per gpu
* [Fix]: Fix conflict
* [Refactor]: Use the TransformerEncoderLayer of BEiT
* [Feature]: Add UT
* [Fix]: Change the default value of qv bias to False
* [Fix]: Initialize relative pos table with zeros
* [Fix]: Delete redundant code in mae
* [Fix]: Fix lint
* [Fix]: Rename qkv_bias to qv_bias
* [Fix]: Add docstring to weight_init of MAEAttention
* [Refactor]: Delete qv_bias param
* [Fix]: Add reference to fix_init_weight
* [Fix]: Fix lint
* [Fix]: Delete extra crop size
* [Refactor]: Rename mae
* [Fix]: Set bias to True
* [Fix]: Delete redundant params
* [Fix]: Fix lint
* [Fix]: Fix UT
* [Fix]: Add resize abs pos embed
* [Fix]: Fix UT
* [Refactor]: Use build layer
* [Fix]: Add licsense and fix docstring
* [Fix]: Fix docstring
* [Feature]: Add README metafile
* [Fix]: Change 640 to 512
* [Fix]: Fix README
* fix readme of MAE
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-04-28 00:54:20 +08:00
Miao Zheng
69b28e0b59
[Refactor] Add build_pos_embed and build_layers for BEiT ( #1517 )
...
* [Refactor] Add build_pos_embed and build_layers for BEiT
* Update mmseg/models/backbones/beit.py
2022-04-27 11:37:03 +08:00
FangjianLin
f16bb06092
[Refactory] Merge BEiT and ConvNext 's LR decay optimizer constructors ( #1438 )
...
* move layer_decay_optimizer_constructor
* fix
* fix
* merge test_core
* fix
* add DeprecationWarning
* fix DeprecationWarning
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix test
* fix
* fix
* fix
* fix
* fix ut
* fix
* fix
* Update tests/test_core/test_layer_decay_optimizer_constructor.py
* fix
* fix
* fix
* fix
Co-authored-by: MeowZheng <meowzheng@outlook.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-27 10:43:25 +08:00
Miao Zheng
62c3a7dda9
[Fix] Revise high workers_per_gpus ( #1506 )
2022-04-25 13:19:47 +08:00
Miao Zheng
239049cf91
[Refactor] Refactor transfomer encode layer in ViT and BEiT backbone ( #1481 )
...
* [Refactor] Refactor transfomer encoder layer
* fix ffn cfg
* fix drop path cfg
* private init func
* fix qv bias
* fix qkv bias
* fix qkv bias
* wH->Wh
2022-04-23 17:35:05 +08:00
Miao Zheng
25c1318f52
[Fix] the directory of cfg file in colab demo ( #1501 )
...
* [fix] cfg dir in colab
* Update demo/MMSegmentation_Tutorial.ipynb
2022-04-23 15:00:31 +08:00
Li Dong
b74e28dbd1
migrate azure blob for beit checkpoints ( #1503 )
...
We are going to use a new blob account to store the checkpoints.
2022-04-23 14:57:32 +08:00
Mladen Fernežir
7553fbe948
Fix validation loss logging ( #1494 )
2022-04-22 15:25:32 +08:00
jere357
e231583985
fixed a couple of issues that made the notebook not work in colab ( #1460 )
...
* fixed a couple of issues that made the notebook not work in colab
i fixed a couple of issues that made the notebook not work in colab
1. it downloaded incompatible versions of pytorch and cuda + the conda command doesnt do anything in colab since there is no conda in colab idk w y wanna do about that - The commit of 2 days ago only changes the conda command version and not the pip command which is used while isntaling mcvv
2. /demo.png doesnt exist in colab so i added a wget to download some cityscapes photo from the internet and run inference on that photo
3. i think it would be optimal to have 2 notebooks. 1 for running locally when cloning your git branch and one to run in google colab.
* Update demo/MMSegmentation_Tutorial.ipynb
* Update demo/MMSegmentation_Tutorial.ipynb
* Update demo/MMSegmentation_Tutorial.ipynb
* Update demo/MMSegmentation_Tutorial.ipynb
* Update demo/MMSegmentation_Tutorial.ipynb
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-04-22 10:10:02 +08:00
Miao Zheng
2aed0dec91
[Enhancement]Update checkpoint for model in deeplabv3plus ( #1487 )
...
* [WIP]Update checkpoint for model in deeplabv3plus
* add aug test
* url fix
2022-04-21 20:15:34 +08:00