Miao Zheng
4bc2a30ea0
Add DistSamplerSeedHook for when runner is EpochBasedRunner ( #1449 )
...
* Add DistSamplerSeedHook for when runner is EpochBasedRunner
* add comment
2022-04-06 22:04:11 +08:00
jiangyitong
7b6953fd5f
[Feature] Add with cp to mit and vit ( #1431 )
...
* add with cp to mit and vit
* add test unit
Co-authored-by: jiangyitong <jiangyitong1@sensetime.com>
2022-04-01 21:01:45 +08:00
Miao Zheng
bf745ca09c
Bump version to v0.23.0 ( #1439 )
...
* Bump version to v0.23.0
* new contributor
* rephrase
* tyoi
* typo
* get_started
* typo
* rephrase
* rephrase
* rephrase
2022-04-01 15:43:19 +08:00
MengzhangLI
cc89c8d18d
[Fix] Add avg_non_ignore in cross entropy loss ( #1409 )
...
* [Fix] Add avg_non_ignore in cross entropy loss
* [Fix] Add avg_non_ignore in cross entropy loss
* add docstring
* fix ut
* fix docstring and comments
* fix
* fix bce
* fix avg_factor in BCE and add more ut
* add avg_non_ignore
* add more ut
* fix part of ut
* fix part of ut
* test avg_non_ignore would not affect ce/bce when reduction none/sum
* test avg_non_ignore would not affect ce/bce when reduction none/sum/mean
* re-organize ut
* re-organize ut
* re-organize ut
* re-organize hardcode case
* fix parts of comments
* fix another parts of comments
* fix
2022-03-30 18:32:47 +08:00
FangjianLin
d1b8eae35e
[Feature] Add BEiT backbone ( #1404 )
...
* [Feature] Add BEiT backbone
* fix
* fix
* fix
* fix
* add readme
* fix
* fix
* fix
* fix
* fix
* add link
* fix memory
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix test_beit.py
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
2022-03-30 15:25:10 +08:00
Miao Zheng
fa316a1f85
[Feature] Support dataset initialization with file_client ( #1402 )
...
* [Feature] Support file_client in dataset initialization
* docstring
* revise osp.exist
2022-03-28 23:53:23 +08:00
MengzhangLI
f15a21a30d
[Enchance] Support random seed for distributed sampler ( #1411 )
...
* support random seed for distributed sampler
* move mmseg/utils/dist_util.py to mmseg/core/utils/dist_util.py
* move mmseg/utils/dist_util.py to mmseg/core/utils/dist_util.py
* change dist sampler
* change dist sampler
* fix docstring in sync_random_seed
2022-03-28 23:50:39 +08:00
Xiangxu-0103
7a8227b747
fix typo ( #1405 )
2022-03-23 10:36:27 +08:00
FangjianLin
415b20febd
[Feature] Add multi machine `dist_train`. ( #1383 )
...
* Add training startup documentation
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
2022-03-18 10:55:49 +08:00
CCODING
786a9f7902
Support #1375 : add demo/image_demo.py support for STARE ( #1376 )
...
* Support #1375 : add demo/image_demo.py support for STARE
* Update mmseg/core/evaluation/class_names.py
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-03-15 22:42:20 +08:00
Rockey
42df28c7bd
[Feature] add nlc2nchw2nlc and nchw2nlc2nchw ( #1249 )
...
* [Feature] add nlc2nchw2nlc and nchw2nlc2nchw
* add example
* add test, add **kwargs to make it more universal
2022-03-10 20:27:28 +08:00
MengzhangLI
054dc66145
[Feature] Support K-Net ( #1289 )
...
* knet first commit
* fix import error in knet
* remove kernel update head from decoder head
* [Feature] Add kenerl updation for some decoder heads.
* [Feature] Add kenerl updation for some decoder heads.
* directly use forward_feature && modify other 3 decoder heads
* remover kernel_update attr
* delete unnecessary variables in forward function
* delete kernel update function
* delete kernel update function
* delete kernel_generate_head
* add unit test & comments in knet.py
* add copyright to fix lint error
* modify config names of knet
* rename swin-l 640
* upload models&logs and refactor knet_head.py
* modify docstrings and add some ut
* add url, modify docstring and add loss ut
* modify docstrings
2022-03-10 20:05:37 +08:00
Rockey
da6bb2c8c5
[Feature]: Add diff seeds to diff ranks and set torch seed in worker_init_fn ( #1362 )
2022-03-10 09:41:16 +08:00
MengzhangLI
6b05790429
Bump v0.22.1 ( #1361 )
2022-03-09 20:05:44 +08:00
Rockey
6665b42159
[Fix] Fix the bug that when all pixels in an image is ignored, the ac… ( #1336 )
...
* [Fix] Fix the bug that when all pixels in an image is ignored, the accuracy calculation raises ZeroDivisionError
* use eps
* all close
* add ignore test
* add eps
2022-03-09 13:20:46 +08:00
MengzhangLI
67e0f9dd15
Bump v0.22.0 ( #1347 )
...
* change version to v0.22.0
* change version to v0.22.0
* add mmcls version in get_started.md
* add mmcls installation and move PR1299 into enhancement
* add mmcls installation and move PR1299 into enhancement
* remove MMCLS and make mmcv <=1.5.0 version in get_started.md
* fix typo
2022-03-04 22:17:29 +08:00
MengzhangLI
befdc93dc3
[Feature] Support ConvNext ( #1216 )
...
* upload original backbone and configs
* ConvNext Refactor
* ConvNext Refactor
* convnext customization refactor with mmseg style
* convnext customization refactor with mmseg style
* add ade20k_640x640.py
* upload files for training
* delete dist_optimizer_hook and remove layer_decay_optimizer_constructor
* check max(out_indices) < num_stages
* add unittest
* fix lint error
* use MMClassification backbone
* fix bugs in base_1k
* add mmcls in requirements/mminstall.txt
* add mmcls in requirements/mminstall.txt
* fix drop_path_rate and layer_scale_init_value
* use logger.info instead of print
* add mmcls in runtime.txt
* fix f string && delete
* add doctring in LearningRateDecayOptimizerConstructor and fix mmcls version in requirements
* fix typo in LearningRateDecayOptimizerConstructor
* use ConvNext models in unit test for LearningRateDecayOptimizerConstructor
* add unit test
* fix typo
* fix typo
* add layer_wise and fix redundant backbone.downsample_norm in it
* fix unit test
* give a ground truth lr_scale and weight_decay
* upload models and readme
* delete 'backbone.stem_norm' and 'backbone.downsample_norm' in get_num_layer()
* fix unit test and use mmcls url
* update md2yml.py and metafile
* fix typo
2022-03-04 15:52:01 +08:00
FangjianLin
38df41ea19
[Feature] Add `min_size` arg in `Resize` to keep the shape after resize bigger than slide window ( #1318 )
...
* [Feature] add setr_resize
* fix a bug
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
2022-03-01 16:25:48 +08:00
sshuair
06b3533ee5
fix dnl_head export onnx inference difference type Cast error ( #1161 )
...
* fix export onnx inference difference type Cast error
* fix export onnx inference difference type Cast error.
* use yapf format
* use same device type with pairwise_weight
2022-03-01 10:16:08 +08:00
MengzhangLI
2717ee62f9
[Feature] Support kenerl updation for some decoder heads. ( #1299 )
...
* [Feature] Add kenerl updation for some decoder heads.
* [Feature] Add kenerl updation for some decoder heads.
* directly use forward_feature && modify other 3 decoder heads
* remover kernel_update attr
* delete unnecessary variables in forward function
* delete kernel update function
* delete kernel update function
* delete unnecessary docstrings
* modify comments in self._forward_feature()
* modify docstrings in self._forward_feature()
* fix docstring
* modify uperhead
2022-02-27 11:35:29 +08:00
Miao Zheng
b97cfa77d2
[Enhancement] Revise pre-commit-hooks ( #1315 )
2022-02-23 23:44:27 +08:00
Waterman0524
a93423e1fd
[Feature] Support iSAID aerial dataset. ( #1115 )
...
* support iSAID aerial dataset
* Update and rename docs/dataset_prepare.md to 博士/dataset_prepare.md
* Update dataset_prepare.md
* fix typo
* fix typo
* fix typo
* remove imgviz
* fix wrong order in annotation name
* upload models&logs
* upload models&logs
* add load_annotations
* fix unittest coverage
* fix unittest coverage
* fix correct crop size in config
* fix iSAID unit test
* fix iSAID unit test
* fix typos
* fix wrong crop size in readme
* use smaller figure as test data
* add smaller dataset in test data
* add blank in docs
* use 0 bytes pseudo data
* add footnote and comments for crop size
* change iSAID to isaid and add default value in it
* change iSAID to isaid in _base_
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-02-17 19:07:32 +08:00
MengzhangLI
1abf76decf
[Fix] Fix wrong palette value in vaihingen ( #1292 )
2022-02-16 22:41:39 +08:00
Hyeokjoon Kwon
4d451a09dc
[Fix] Make accuracy take into account ignore_index ( #1259 )
...
* make accuracy take into account ignore_index
* add UT for accuracy
2022-02-15 00:39:59 +08:00
MengzhangLI
4de0c3708d
[Fix] Fix type in Swin Transformer ( #1274 )
2022-02-09 19:08:32 +08:00
MengzhangLI
574adbe43b
Bump v0.21.1 ( #1273 )
...
* Bump v0.21.1
* add improvements in changelog
* add improvements in changelog
* fix cn readme
* change changelog
2022-02-09 17:17:55 +08:00
Jerry Jiarui XU
b405ce0506
[Improve] Add exception for PointRend for support CPU-only usage ( #1271 )
...
* [Improve] Add exception for PointRend for support CPU-only usage
* fixed linting
2022-02-09 00:52:56 -05:00
Jerry Jiarui XU
548eec9580
[Improve] Use MMCV load_state_dict func in ViT/Swin ( #1272 )
...
* [Improve] Use MMCV load_state_dict func in ViT/Swin
* use CheckpointLoader instead
2022-02-09 00:52:42 -05:00
MengzhangLI
d4f5bb25fc
[Enhancement] Upgrade isort in pre-commit hook ( #1270 )
2022-02-08 19:06:33 +08:00
MengzhangLI
a83f715bb8
Bump v0.21.0 ( #1258 )
...
* change version to v0.21.0
* change version to v0.21.0
* change version to v0.21.0
* change version to v0.21.0
2022-01-29 18:30:13 +08:00
MengzhangLI
574b195be1
[Enhance] New-style CPU training and inference. ( #1251 )
...
* [Enhance] New-style CPU training and inference.
* assert mmcv version
* SyncBN to BN in training and testing
* SyncBN to BN in training and testing
* upload untracked files to this branch
* delete gpu_ids
* fix bugs
* assert args.gpu_id in train.py
* use cfg.gpu_ids = [args.gpu_id]
* use cfg.gpu_ids = [args.gpu_id]
* fix typo
* fix typo
* fix typos
2022-01-28 23:03:01 +08:00
MengzhangLI
46898b8e8a
delete unnecessary lines of STDCHead ( #1231 )
2022-01-28 10:53:11 +08:00
MengzhangLI
2729a6d4d1
add multi-processes script ( #1238 )
2022-01-27 21:18:55 +08:00
rstrudel
ee47c41740
[Feature] Support Segmenter ( #955 )
...
* segmenter: add model
* update
* readme: update
* config: update
* segmenter: update readme
* segmenter: update
* segmenter: update
* segmenter: update
* configs: set checkpoint path to pretrain folder
* segmenter: modify vit-s/lin, remove data config
* rreadme: update
* configs: transfer from _base_ to segmenter
* configs: add 8x1 suffix
* configs: remove redundant lines
* configs: cleanup
* first attempt
* swipe CI error
* Update mmseg/models/decode_heads/__init__.py
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
* segmenter_linear: use fcn backbone
* segmenter_mask: update
* models: add segmenter vit
* decoders: yapf+remove unused imports
* apply precommit
* segmenter/linear_head: fix
* segmenter/linear_header: fix
* segmenter: fix mask transformer
* fix error
* segmenter/mask_head: use trunc_normal init
* refactor segmenter head
* Fetch upstream (#1 )
* [Feature] Change options to cfg-option (#1129 )
* [Feature] Change option to cfg-option
* add expire date and fix the docs
* modify docstring
* [Fix] Add <!-- [ABSTRACT] --> in metafile #1127
* [Fix] Fix correct num_classes of HRNet in LoveDA dataset #1136
* Bump to v0.20.1 (#1138 )
* bump version 0.20.1
* bump version 0.20.1
* [Fix] revise --option to --options #1140
Co-authored-by: Rockey <41846794+RockeyCoss@users.noreply.github.com>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
* decode_head: switch from linear to fcn
* fix init list formatting
* configs: remove variants, keep only vit-s on ade
* align inference metric of vit-s-mask
* configs: add vit t/b/l
* Update mmseg/models/decode_heads/segmenter_mask_head.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* Update mmseg/models/decode_heads/segmenter_mask_head.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* Update mmseg/models/decode_heads/segmenter_mask_head.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* Update mmseg/models/decode_heads/segmenter_mask_head.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* Update mmseg/models/decode_heads/segmenter_mask_head.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* model_converters: use torch instead of einops
* setup: remove einops
* segmenter_mask: fix missing imports
* add necessary imported init funtion
* segmenter/seg-l: set resolution to 640
* segmenter/seg-l: fix test size
* fix vitjax2mmseg
* add README and unittest
* fix unittest
* add docstring
* refactor config and add pretrained link
* fix typo
* add paper name in readme
* change segmenter config names
* fix typo in readme
* fix typos in readme
* fix segmenter typo
* fix segmenter typo
* delete redundant comma in config files
* delete redundant comma in config files
* fix convert script
* update lateset master version
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
Co-authored-by: Rockey <41846794+RockeyCoss@users.noreply.github.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-26 13:50:51 +08:00
MengzhangLI
fe42371297
[Feature] Support ISPRS Vaihingen Dataset. ( #1171 )
...
* Add Vaihingen
* upload models&logs of vaihingen
* fix unit test
* fix dataset pipeline
* fix unit test coverage
* fix vaihingen docstring
2022-01-22 20:27:51 +08:00
MengzhangLI
bdecbdbdf1
[Fix] Add `COCOStuffDataset` in `class_names.py`. ( #1222 )
...
* add cocostuff in class_names
* add more class names
2022-01-22 18:03:24 +08:00
Kingdrone
634fbceab0
[Feature] Support ISPRS Potsdam Dataset. ( #1097 )
...
* add isprs potsdam dataset
* add isprs dataset configs
* fix lint error
* fix potsdam conversion bug
* fix error in potsdam class
* fix error in potsdam class
* add vaihingen dataset
* add vaihingen dataset
* add vaihingen dataset
* fix some description errors.
* fix some description errors.
* fix some description errors.
* upload models & logs of Potsdam
* remove vaihingen and add unit test
* add chinese readme
* add pseudodataset
* use mmcv and add class_names
* use f-string
* add new dataset unittest
* add docstring and remove global variables args
* fix metafile error in PSPNet
* fix pretrained value
* Add dataset info
* fix typo
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-01-18 14:15:15 +08:00
Kyungmin Lee
88944e9935
[Feature] Add MultiImageMixDataset ( #1105 )
...
* Fix typo in usage example
* original MultiImageMixDataset code in mmdet
* Add MultiImageMixDataset unittests in test_dataset_wrapper
* fix lint error
* fix value name ann_file to ann_dir
* modify retrieve_data_cfg (#1 )
* remove dynamic_scale & add palette
* modify retrieve_data_cfg method
* modify retrieve_data_cfg func
* fix error
* improve the unittests coverage
* fix unittests error
* Dataset (#2 )
* add cfg-options
* Add unittest in test_build_dataset
* add blank line
* add blank line
* add a blank line
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Co-authored-by: Younghoon-Lee <72462227+Younghoon-Lee@users.noreply.github.com>
Co-authored-by: MeowZheng <meowzheng@outlook.com>
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-11 16:18:24 +08:00
Kyungmin Lee
e9dd32b6e8
[Feature] Add Mosaic transform ( #1093 )
...
* Fix typo in usage example
* original mosaic code in mmdet
* Adjust mosaic to the semantic segmentation
* Remove bbox test in test_mosaic
* Add unittests
* Fix resize mode for seg_fields
* Fix repr error
* modify Mosaic docs
* modify from Mosaic to RandomMosaic
* Add docstring
* modify Mosaic docstring
* [Docs] Add a blank line before Returns:
* add blank lines
Co-authored-by: MeowZheng <meowzheng@outlook.com>
2022-01-11 16:17:36 +08:00
Rockey
43ad37b478
[Feature] add auto resume ( #1172 )
...
* [Feature] add auto resume
* Update mmseg/utils/find_latest_checkpoint.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* Update mmseg/utils/find_latest_checkpoint.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* modify docstring
* Update mmseg/utils/find_latest_checkpoint.py
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
* add copyright
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2022-01-11 12:27:24 +08:00
jbwang1997
44d4c3877e
[Fix] Set random seed for generating `palette` if not given. ( #1152 )
...
* Fix colors
* fix comments
* Add comments
* Add comments. Add random seed in datasets
2021-12-23 09:51:50 +08:00
MengzhangLI
4a90241f91
[Docs] Refactor the structure of documentation ( #1128 )
...
* merge docs/ and docs_zh-CN/
* merge docs/ and docs_zh-CN/
* merge docs/ and docs_zh-CN/
* merge docs/ and docs_zh-CN/
* fix launch utility url
* fix launch utility url
* fix wrong pytorch doc url
* remove wrong links docs//
2021-12-16 18:56:45 +08:00
MengzhangLI
fbcfa0568b
Bump v0.20.2 #1141
2021-12-15 16:49:42 +08:00
MengzhangLI
a87de3c025
Bump to v0.20.1 ( #1138 )
...
* bump version 0.20.1
* bump version 0.20.1
2021-12-14 22:32:11 +08:00
MengzhangLI
520372eec8
Bump v0.20.0 ( #1124 )
...
* change version to v0.20.0
* change version to v0.20.0
* change version to v0.20.0
2021-12-11 01:43:29 +08:00
MengzhangLI
c1e72513c9
[Feature] Support STDC Network (new) ( #995 )
...
* refactor stdc code
* update key
* fix backbone inference
* remove comments
* fixing errors
* fixing version conflict
* fux typo
* use STDCHead
* upload models&logs
* adding model converters script and fix unittest
* fix error
* fix error
* fix error
* delete redundant keys in config
* fix errors in configs and unittest
* fix errors in configs and unittest
* fix errors in configs and unittest
* change Memory name
* refactor stdc2mmseg
* change name to STDC
* refactor stdc
* refactor stdc
* stdc refactor
* stdc refactor
* stdc refactor
* stdc refactor
* stdc refactor
* stdc refactor
* refactor stdc
* stdc refactor
Co-authored-by: xiexinch <xinchen.xie@qq.com>
2021-12-10 23:09:32 +08:00
Lxinyang
cd246e3635
[Feature] Support Twins (NeurIPS2021) ( #989 )
...
* debug
* debug
* debug
* this is a debug step, and needs to be recovered
* need recover
* git
* debug
* git
* git
* git
* git
* git
* git
* debug need recover
* debug
* git
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debugf
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* git
* git
* git
* use config small/base/large
* debug
* debug
* git
* debug
* git
* debug
* debug
* debug args
* debug
* debug
* git
* git
* debug
* git
* git
* git
* git
* git
* debug
* debug
* git
* debug
* git
* debug
* debug
* debug
* debug
* git
* debug
* git
* git
* debug
* debug
* git
* git
* git
* git
* debug
* debug
* debug
* debug
* git
* debug
* debug
* git
* git
* debug
* debug
* git
* debug
* debug
* debug
* git
* debug
* debug
* debug
* Please enter the commit message for your changes. Lines starting
* git
* git
* debug
* debug
* debug
* git
* git
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* git
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* git
* fix pre-commit error
* fix error
* git
* git
* git
* git
* git
* git
* debug
* debug
* debug
* debug
* debug
* debug
* git
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* git
* git
* git
* debug
* debug
* debug
* git
* git
* git
* git
* git
* git
* git
* git
* git
* debug
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* fix unittest error
* fix config errors
* fix twins2mmseg bug
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* git
* fix init_weights() in twins.py
* git
* git
* git
* git
* fix comment
* fix comment
* fix comment
* fix comment
* fix unit test coverage in TwinsPR
* Add Twins README
* Add Twins README
* twins refactor
* twins refactor
* delete init_cfg in FFN
* delete init_cfg in FFN
* Update mmseg/models/backbones/twins.py
* Update mmseg/models/backbones/twins.py
* Update mmseg/models/backbones/twins.py
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
* Update mmseg/models/backbones/twins.py
* add conference name
Co-authored-by: linxinyang <linxinyang@meituan.com>
Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-12-09 19:18:10 +08:00
Rockey
a370777e3b
[Fix] Fix the bug that mit cannot process init_cfg ( #1102 )
...
* [Fix] Fix the bug that mit cannot process init_cfg
* fix error
2021-12-08 23:17:43 -08:00
Rockey
0ad0303ebc
[Fix] Remove the inplace operation in uper_head and fpn_neck ( #1103 )
...
* [Fix] Remove the inplace operation in uper_head
* remove the inplace operation in fpn neck
* fix conflict
* increase the coverage
2021-12-09 12:12:31 +08:00
Han Zhang
e06cbcd8b1
[Fix] Fix dist training infinite waiting issue ( #1035 )
...
* [#1034 ] fix dist training infinite waiting issue
* print log_vars keys in assertion msg
* linting issue
2021-12-08 21:02:41 +08:00