Commit Graph

46 Commits (1471d1e529f7887659bd9f2414c990763b3f95b2)

Author SHA1 Message Date
Yang-ChangHui b6090a1550
[CodeCamp2023-608] Add Adabins model (#3257) 2023-09-13 17:06:03 +08:00
谢昕辰 92774182ba
[Project] Add pp_mobileseg onnx inference demo (#3268)
## Motivation

Add a model deployment example.

## Modification

Add an inference script and update the README.

## BC-breaking (Optional)

None

## Use cases (Optional)

In README.
2023-08-16 18:01:22 +08:00
谢昕辰 9801c62fd7
[Fix] update pp_mobileseg ckpt links (#3254) 2023-08-10 18:56:30 +08:00
Xu CAO e458a467d6
[Project] Support CAT-Seg from CVPR2023 (#3098)
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

Support CAT-Seg open-vocabulary semantic segmentation (CVPR2023).

## Modification

Support CAT-Seg open-vocabulary semantic segmentation (CVPR2023).
- [x] Support CAT-Seg model training.
- [x] CLIP model based `backbone` (R101 & Swin-B), aggregation layers
based `neck`, and `decoder` head.
  - [x] Provide customized coco-stuff164k_384x384 training configs.
- [x] Language model supports for `open vocabulary` (OV) tasks. 
  - [x] Support CLIP-based pretrained language model (LM) inference.
  - [x] Add commonly used prompts templates. 
- [x] Add README tutorials.
- [x] Add zero-shot testing scripts.

**Working on the following tasks.**
- [x] Add unit test.

## BC-breaking (Optional)

Does the modification introduce changes that break the
backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the
downstream projects should modify their code to keep compatibility with
this PR.

## 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.
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.

---------

Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-08-09 23:57:30 +08:00
Yang-ChangHui 1e937961b3
[CodeCamp2023-367] Add pp_mobileseg model (#3239) 2023-08-09 23:57:01 +08:00
CastleDream 057155d3ab
[Feature] add bdd100K datasets (#3158)
## Motivation
Integrate [BDD100K](https://paperswithcode.com/dataset/bdd100k) dataset.
It shares the same classes as Cityscapes, and it's commonly used for
evaluating segmentation/detection tasks in driving scenes, such as in
[RobustNet](https://arxiv.org/abs/2103.15597),
[WildNet](https://github.com/suhyeonlee/WildNet).

Enhancement for Add BDD100K Dataset #2808

---------

Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-07-14 10:09:16 +08:00
谢昕辰 3dca9a0a5c
[Project] add x-decoder link (#3142) 2023-06-28 16:15:37 +08:00
masaaki d3f2922ff5
[Project] Medical semantic seg dataset: Chest x ray images with pneumothorax masks (#2687) 2023-06-25 18:24:49 +08:00
masaaki c923f4d25b
[Project] Medical semantic seg dataset: Crass (#2690) 2023-06-25 16:54:38 +08:00
masaaki c1de52a8be
[Project] Medical semantic seg dataset: Covid 19 ct cxr (#2688) 2023-06-25 16:36:17 +08:00
masaaki e4db1f20c9
[Project] Medical semantic seg dataset: Pannuke (#2683) 2023-06-25 15:57:40 +08:00
masaaki 30e3b49b0b
[Project] Medical semantic seg dataset: Pcam (#2684) 2023-06-25 15:44:43 +08:00
masaaki 942b054426
[Project] Medical semantic seg dataset: 2pm vessel (#2685) 2023-06-25 15:05:00 +08:00
masaaki ac241117cb
[Project] Medical semanti seg dataset: Fusc2021 (#2682) 2023-06-25 14:11:00 +08:00
masaaki d934d10148
[Project] Medical semantic seg dataset: Rite (#2680) 2023-06-25 13:14:29 +08:00
masaaki 5a9cfa9193
[Project] Medical dataset: Kvasir seg aliyun (#2678) 2023-06-25 12:57:18 +08:00
masaaki 2ea4784012
[Project] Medical semantic seg dataset: Kvasir seg (#2677) 2023-06-25 11:50:46 +08:00
legendchilli 3cc9d30d04
[Project] Medical semantic seg dataset: ISIC-2017 Task1 (#2709) 2023-06-22 11:03:34 +08:00
legendchilli b24f422a95
[Project] Medical semantic seg dataset: ISIC-2016 Task1 (#2708) 2023-06-21 16:39:07 +08:00
tianbin li 78e036c36f
[Project] Medical semantic seg dataset: orvs (#2728) 2023-06-21 15:16:27 +08:00
tianbin li 6333dc14f3
[Project] Medical semantic seg dataset: dr_hagis (#2729) 2023-06-21 14:41:58 +08:00
tianbin li 81edd98c05
[Project] Medical semantic seg dataset: conic2022 (#2725) 2023-06-21 14:24:56 +08:00
tianbin li 65c8d77d62
[Project] Medical semantic seg dataset: chest_image_pneum (#2727) 2023-06-20 21:13:32 +08:00
tianbin li 041f1f0f4f
[Project] Medical semantic seg dataset: breast_cancer_cell_seg (#2726) 2023-06-20 21:09:04 +08:00
tianbin li b5fc5abcc4
[Project] Medical semantic seg dataset: consep (#2724) 2023-06-20 16:55:47 +08:00
Sizheng Guo f419f618a1
[Project] add Gamma Task3 dataset project in dev-1.x (#2695) 2023-06-20 15:28:46 +08:00
Sizheng Guo 4feba3114f
[Project] Medical semantic seg dataset: bccs (#2861) 2023-06-20 11:39:22 +08:00
谢昕辰 e8c8b94e8c
Clean jupyter output (#3082) 2023-06-06 14:40:03 +08:00
Tianlong Ai e5b8d72e01
[Dataset] Support GID dataset on project (#3038)
## Motivation
Support GID dataset on project

---------

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
2023-06-05 11:25:50 +08:00
Sizheng Guo a9e960c40b
[Project] add Ravir dataset project in dev-1.x (#2635) 2023-05-23 17:35:05 +08:00
tang576225574 0bfe255fe6
[Project] Added a supported for Visual Attention Network (VAN) (#2987)
## Motivation
The original version of Visual Attention Network (VAN) can be found from
https://github.com/Visual-Attention-Network/VAN-Segmentation
添加Visual Attention Network (VAN)的支持。



## Modification
added a floder mmsegmentation/projects/van/
added 13 configs totally and aligned performance basically.
只增加了一个文件夹,共增加13个配置文件,基本对齐性能(没有全部跑)。


## Use cases (Optional)
Before running, you may need to download the pretrain model from
https://cloud.tsinghua.edu.cn/d/0100f0cea37d41ba8d08/
and then move them to the folder mmsegmentation/pretrained/, i.e.
"mmsegmentation/pretrained/van_b2.pth".
After that, run the following command:
    cd mmsegmentation
bash tools/dist_train.sh
projects/van/configs/van/van-b2_pre1k_upernet_4xb2-160k_ade20k-512x512.py
4

---------

Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-05-22 20:26:26 +08:00
masaaki75 7d6156776e
[Project] Cranium (#2675) 2023-05-18 10:01:18 +08:00
Sizheng Guo 77836e6231
[Project] add Vampire dataset project (#2633) 2023-05-06 17:39:12 +08:00
tianbin li b29912036d
[Project] add Bactteria_Dataset project in dev-1.x (#2568) 2023-05-06 13:04:12 +08:00
谢昕辰 20f80f9162
[Project] support SAM inferencer (#2897) 2023-04-19 11:41:10 +08:00
CSH 22032e1de2
[Doc] update doc link (#2863) 2023-04-13 19:21:19 +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
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 2d38bc8554
[Enhancement] Refine projects (#2586)
## Motivation

Make projects contribution more clear

## Modification

1. Add description on project/README
2. Modify comments to reference in example_project/README 
3. Add faq for projects

## BC-breaking (Optional)

No
2023-02-22 19:18:12 +08:00
Tianlong Ai 432628b735
[Fix] Rename and Fix bug of projects HieraSeg (old PR #2444) (#2565)
## Motivation
Supplementary PR #2444 
Fix tiny bug and add loss_by_feat() to compute loss to train.
The inference process have verified to be accurate.
## Modification
- modify `sep_aspp_contrast_head.py` , add `loss_by_feat()` function to
train(training still has bug, will fix in future😫)
- fix testing commands path error `bash tools/dist_test.sh
projects/HieraSeg_project/` to `bash tools/dist_test.sh
projects/HieraSeg/` at README.md
2023-02-06 18:55:22 +08:00
Tianlong Ai e394e2aa28
CodeCamp #1555[Feature] Support Mapillary Vistas Dataset (#2484)
## Support `Mapillary Vistas Dataset`

## Motivation

Support  **`Mapillary Vistas Dataset`**
Dataset Paper link : https://ieeexplore.ieee.org/document/9878466/
Download and more information view
https://www.mapillary.com/dataset/vistas
```
@InProceedings{Neuhold_2017_ICCV,
author = {Neuhold, Gerhard and Ollmann, Tobias and Rota Bulo, Samuel and Kontschieder, Peter},
title = {The Mapillary Vistas Dataset for Semantic Understanding of Street Scenes},
booktitle = {Proceedings of the IEEE International Conference on Computer Vision (ICCV)},
month = {Oct},
year = {2017}
}
```

## Modification

Add `Mapillary_dataset` in `mmsegmentation/projects`
Add `configs/_base_/mapillary_v1_2.py` and
`configs/_base_/mapillary_v2_0.py`
Add `configs/deeplabv3plus_r18-d8_4xb2-80k_mapillay-512x1024.py` to test
training and testing on Mapillary datasets
Add `docs/en/user_guides/2_dataset_prepare.md` , add Mapillary Vistas
Dataset Preparing and Structure.
Add `tools/dataset_converters/mapillary.py` to convert RGB labels to
Mask labels.

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
2023-01-20 14:25:51 +08:00
Tianlong Ai ce09639a21
CodeCamp #151[Feature] Support HieraSeg on cityscapes (#2444)
## Support `HieraSeg` interface on `cityscapes`

## Motivation

Support `HieraSeg` interface on cityscapes dataset  
Paper link : https://ieeexplore.ieee.org/document/9878466/

```
@article{li2022deep,
  title={Deep Hierarchical Semantic Segmentation},
  author={Li, Liulei and Zhou, Tianfei and Wang, Wenguan and Li, Jianwu and Yang, Yi},
  journal={CVPR},
  year={2022}
}
```

## Modification

Add `HieraSeg_Projects` on `projects/`
Add `sep_aspp_contrast_head` decoder head.
Add `HieraSeg` config.
Add `hiera_loss`, `hiera_triplet_loss_cityscape`, `tree_triplet_loss`
2023-01-12 17:12:40 +08:00
谢昕辰 0238d02c48
[Doc] Add checklist of ISNet (#2460)
## Motivation

As title. 

## Modification

- projects/isnet/README.md
2023-01-09 13:09:23 +08:00
unrealMJ bd29c20778
CodeCamp #150 [Feature] Add ISNet (#2400)
## Motivation

Support ISNet.
paper link: [ISNet: Integrate Image-Level and Semantic-Level Context for
Semantic
Segmentation](https://openaccess.thecvf.com/content/ICCV2021/papers/Jin_ISNet_Integrate_Image-Level_and_Semantic-Level_Context_for_Semantic_Segmentation_ICCV_2021_paper.pdf)

## Modification

Add ISNet decoder head.
Add ISNet config.
2023-01-04 20:39:03 +08:00
xiexinch 2843faa6b5 [Projects] Add 'Projects/' folder, and the first example project (#2412)
add example project

add ci ignore

add version limits
2022-12-30 22:52:07 +08:00