谢昕辰
7ff58d7074
[Feature] Support albu transform ( #2943 )
...
## Motivation
3a14c35974/mmseg/datasets/pipelines/transforms.py (L1348)
## Modification
Add albu to dev-1.x
2023-04-24 13:44:20 +08:00
Julius Zhang
60a542cc66
[Fix] fix squeeze error when N=1 and C=1 ( #2933 )
...
## Motivation
fix squeeze error when N=1 and C=1
## Modification
fix squeeze error when N=1 and C=1
2023-04-23 15:12:40 +08:00
CSH
04f7ec60d8
[Fix] Fix binary C=1 focal loss & dataset fileio ( #2935 )
2023-04-23 15:02:18 +08:00
xiexinch
757f4a583e
Merge branch 'main' of github.com:open-mmlab/mmsegmentation into dev-1.x
2023-04-19 17:27:10 +08:00
谢昕辰
e566f986be
Merge branch 'dev-1.x' of github.com:open-mmlab/mmsegmentation into main ( #2928 )
2023-04-19 17:23:29 +08:00
谢昕辰
d3217edb7f
[Dev] update owner ( #2927 )
2023-04-19 16:58:27 +08:00
Lai Quang Huy
8721d44724
[Fix] Fix URL so output of `mim list` looks better ( #2902 )
2023-04-19 15:50:19 +08:00
谢昕辰
20f80f9162
[Project] support SAM inferencer ( #2897 )
2023-04-19 11:41:10 +08:00
tianlei
1271db2cff
[Fix] modify links in `overview.md` ( #2919 )
2023-04-18 18:47:04 +08:00
李开宇
4371ba5db6
[Fix] Fix bugs when out_channels==1 ( #2911 )
2023-04-18 18:26:59 +08:00
Junhwa Song
ced29fcaf8
[Refactor] Handle case where device is neither CPU nor CUDA in HamHead ( #2868 )
2023-04-14 10:12:49 +08:00
Mengyang Liu
969f50459d
Fix typo in tutorial-1 ( #2896 )
2023-04-13 19:27:19 +08:00
CSH
22032e1de2
[Doc] update doc link ( #2863 )
2023-04-13 19:21:19 +08:00
谢昕辰
4eefd9fcee
[CI] Remove github workflow ( #2898 )
2023-04-13 19:13:15 +08:00
xiexinch
b600f7cb26
Merge branch 'dev-1.x' of github.com:open-mmlab/mmsegmentation into main
2023-04-06 17:30:10 +08:00
谢昕辰
892f9e19e7
bumpv1.0.0 ( #2849 )
2023-04-06 17:24:57 +08:00
CSH
580887ad10
[Doc] Update version info in doc ( #2851 )
2023-04-06 16:49:56 +08:00
谢昕辰
997d14701e
[CI] update mmdet dependency ( #2848 )
2023-04-06 16:18:25 +08:00
谢昕辰
3312c505af
[Doc] Update readme ( #2834 )
...
## Motivation
As title, lead users to follow our migration document.
## Checklist
- [x] https://github.com/open-mmlab/mmsegmentation/pull/2801
2023-04-06 14:57:25 +08:00
谢昕辰
413f12066e
[CI] Update ci image ( #2801 )
...
## Motivation
https://github.com/actions/runner-images/issues/6002
2023-04-06 11:12:14 +08:00
任祉涵
225e1582a8
[Docs] Add faq in dev-1.x branch ( #2765 )
2023-04-03 18:49:48 +08:00
CSH
b24099aaa0
[Doc] Update links in README ( #2831 )
2023-04-03 18:49:08 +08:00
谢昕辰
4dc4ed9650
[Fix] Remove locations of not exists modules in the registry ( #2829 )
...
## Motivation
If the module does not actually exist, setting locations will report an
error.
https://github.com/open-mmlab/mmengine/pull/1010
## Modification
mmseg/registry/registry.py
2023-04-03 17:29:53 +08:00
谢昕辰
0e6f0e6baf
[Fix] Fix manifest ( #2828 )
2023-04-03 14:16:52 +08:00
CSH
794202e93a
Fix migration doc ( #2827 )
2023-04-03 11:11:53 +08:00
xiexinch
0601f28021
Merge branch 'dev-1.x' of github.com:open-mmlab/mmsegmentation into 1.x
2023-03-31 16:38:41 +08:00
谢昕辰
c448646a92
[Doc] Refine doc and fix links ( #2821 )
...
## Motivation
- Create the `main` branch
## Modification
Modify links from `dev-1.x` to `main`
2023-03-31 16:26:30 +08:00
谢昕辰
58b43fc26e
[Doc] Temporarily skip errors in building pdf docs at readthedocs ( #2814 )
2023-03-30 17:22:56 +08:00
谢昕辰
23fb3a9812
[Fix] Fix accepting an unexpected argument `local-rank` in PyTorch 2.0 ( #2812 )
2023-03-30 16:43:15 +08:00
谢昕辰
15979db1ec
[Doc] Add custom metrics document ( #2799 )
2023-03-30 15:21:07 +08:00
谢昕辰
9dbe415847
[Doc] Add more social networking links ( #2802 )
2023-03-30 15:02:09 +08:00
CSH
a7d2e28dca
[Doc] Update dataset_prepare & inference ( #2798 )
2023-03-30 15:01:27 +08:00
Tianlong Ai
871e7ac1ff
[Doc] Fix invalid links and standardize Chinese and English punctuation marks at zh_CN faq.md ( #2790 )
2023-03-30 14:50:13 +08:00
谢昕辰
1dd65813f9
[Doc] Add English version document of the Training Engine ( #2797 )
2023-03-30 14:19:13 +08:00
CSH
3c26531e69
[Doc] Update add_datasets docs ( #2745 )
2023-03-23 15:42:16 +08:00
Miao Zheng
1ea397509e
[Doc] Refine training tricks documentation ( #2755 )
2023-03-22 14:37:54 +08:00
Tianlong Ai
1896344e04
[Docs] Update zh_CN faq.md ( #2769 )
...
As title #2750
2023-03-21 21:33:40 +08:00
Miao Zheng
ff95416c3b
[Features]Support dump segment predition ( #2712 )
...
## Motivation
1. It is used to save the segmentation predictions as files and upload
these files to a test server
## Modification
1. Add output_file and format only in `IoUMetric`
## BC-breaking (Optional)
No
## Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases
here, and update the documentation.
## Checklist
1. Pre-commit or other linting tools are used to fix the potential lint
issues.
3. The modification is covered by complete unit tests. If not, please
add more unit test to ensure the correctness.
4. If the modification has potential influence on downstream projects,
this PR should be tested with downstream projects, like MMDet or
MMDet3D.
5. The documentation has been modified accordingly, like docstring or
example tutorials.
2023-03-17 22:58:08 +08:00
谢昕辰
f6de1aad81
[Dev] update update-model-index pre-commit hook ( #2667 )
2023-03-17 19:12:58 +08:00
Haolan He
6d63e77600
[Docs] add deeplabv3 model structure ( #2426 )
...
as title
2023-03-17 17:35:38 +08:00
MengzhangLI
ff8d971988
[Feature] Support SegNeXt in MMSegmentation 2.0 ( #2654 )
...
## Motivation
Support SegNeXt in MMSeg 1.x branch.
0.x PR: https://github.com/open-mmlab/mmsegmentation/pull/2600
---------
Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-03-16 16:49:15 +08:00
Junhwa Song
cb2d8fe085
[Enhance] Support multi-band image for Mosaic ( #2748 )
...
## Modification
I changed the hardcoded 3 channel length to dynamic channel length in
`np.full` function arguments.
This modification enables `RandomMosaic` transform to support
multispectral image (e.g. RGB image with NIR band) or bi-temporal image
pairs for change detection task.
## Checklist
1. Pre-commit or other linting tools are used to fix the potential lint
issues.
2. The modification is covered by complete unit tests. If not, please
add more unit test to ensure the correctness.
3. If the modification has potential influence on downstream projects,
this PR should be tested with downstream projects, like MMDet or
MMDet3D.
4. The documentation has been modified accordingly, like docstring or
example tutorials.
2023-03-15 19:36:47 +08:00
谢昕辰
1f1f2666b5
[Dev] Replace the test images ( #2754 )
...
## Motivation
The original images are too large.
## Modification
Crop to small images.
2023-03-15 18:29:16 +08:00
Miao Zheng
3cc7ae2167
[Fix] Format shape check ( #2753 )
...
as title
2023-03-15 17:49:59 +08:00
谢昕辰
dd47cef801
[Feature] Support PIDNet ( #2609 )
...
## Motivation
Support SOTA real-time semantic segmentation method in [Paper with
code](https://paperswithcode.com/task/real-time-semantic-segmentation )
Paper: https://arxiv.org/pdf/2206.02066.pdf
Official repo: https://github.com/XuJiacong/PIDNet
## Current results
**Cityscapes**
|Model|Ref mIoU|mIoU (ours)|
|---|---|---|
|PIDNet-S|78.8|78.74|
|PIDNet-M|79.9|80.22|
|PIDNet-L|80.9|80.89|
## TODO
- [x] Support inference with official weights
- [x] Support training on Cityscapes
- [x] Update docstring
- [x] Add unit test
2023-03-15 14:55:30 +08:00
Tianlong Ai
8c89ff3dd1
[Datasets] Add Mapillary Vistas Datasets to MMSeg Core Package. ( #2576 )
...
## [Datasets] Add Mapillary Vistas Datasets to MMSeg Core Package .
## Motivation
Add Mapillary Vistas Datasets to core package.
Old PR #2484
## Modification
- Add Mapillary Vistas Datasets to core package.
- Delete `tools/datasets_convert/mapillary.py` , dataset does't need
converting.
- Add `schedule_240k.py` config.
- Add configs files.
```none
deeplabv3plus_r101-d8_4xb2-240k_mapillay_v1-512x1024.py
deeplabv3plus_r101-d8_4xb2-240k_mapillay_v2-512x1024.py
maskformer_swin-s_4xb2-240k_mapillary_v1-512x1024.py
maskformer_swin-s_4xb2-240k_mapillary_v2-512x1024.py
maskformer_r101-d8_4xb2-240k_mapillary_v1-512x1024.py
maskformer_r101-d8_4xb2-240k_mapillary_v2-512x1024.py
pspnet_r101-d8_4xb2-240k_mapillay_v1-512x1024.py
pspnet_r101-d8_4xb2-240k_mapillay_v2-512x1024.py
```
- Synchronized changes to `projects/mapillary_datasets`
---------
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-03-15 14:44:38 +08:00
Junhwa Song
447a398c24
[Typo] Change indexes to indices ( #2747 )
...
## Modification
I just replaced the `indexes` variable name with `indices` for naming
consistency.
2023-03-14 23:56:40 +08:00
Miao Zheng
6ba4696648
[Enhancement] Support input gt seg map is not 2D ( #2739 )
...
Thanks for your contribution and we appreciate it a lot. The following
instructions would make your pull request more healthy and more easily
get feedback. If you do not understand some items, don't worry, just
make the pull request and seek help from maintainers.
## Motivation
fix #2593
## Modification
1. Only when gt seg map is 2D, extend its shape to 3D PixelData
2. If seg map is not 2D, we raised warning for users.
---------
Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-03-14 23:14:41 +08:00
CSH
684d79fedc
[Doc] add zh_cn migration doc ( #2733 )
...
as title
---------
Co-authored-by: MeowZheng <meowzheng@outlook.com>
2023-03-13 19:23:22 +08:00
谢昕辰
45fae72de5
[Feature] Support calculating FLOPs of segmentors ( #2706 )
...
## Motivation
fix compute flops problems
## Modification
Please briefly describe what modification is made in this PR.
2023-03-10 19:25:47 +08:00