Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] bug fix for old MMCV format for mobilenetv3 configs file (changed to MMEngine format) #3674

Closed
wants to merge 152 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
794202e
Fix migration doc (#2827)
csatsurnh Apr 3, 2023
0e6f0e6
[Fix] Fix manifest (#2828)
xiexinch Apr 3, 2023
4dc4ed9
[Fix] Remove locations of not exists modules in the registry (#2829)
xiexinch Apr 3, 2023
b24099a
[Doc] Update links in README (#2831)
csatsurnh Apr 3, 2023
225e158
[Docs] Add faq in dev-1.x branch (#2765)
Renzhihan Apr 3, 2023
413f120
[CI] Update ci image (#2801)
xiexinch Apr 6, 2023
3312c50
[Doc] Update readme (#2834)
xiexinch Apr 6, 2023
997d147
[CI] update mmdet dependency (#2848)
xiexinch Apr 6, 2023
580887a
[Doc] Update version info in doc (#2851)
csatsurnh Apr 6, 2023
892f9e1
bumpv1.0.0 (#2849)
xiexinch Apr 6, 2023
b600f7c
Merge branch 'dev-1.x' of github.com:open-mmlab/mmsegmentation into main
xiexinch Apr 6, 2023
4eefd9f
[CI] Remove github workflow (#2898)
xiexinch Apr 13, 2023
22032e1
[Doc] update doc link (#2863)
csatsurnh Apr 13, 2023
969f504
Fix typo in tutorial-1 (#2896)
liu-mengyang Apr 13, 2023
ced29fc
[Refactor] Handle case where device is neither CPU nor CUDA in HamHea…
KKIEEK Apr 14, 2023
4371ba5
[Fix] Fix bugs when out_channels==1 (#2911)
likyoo Apr 18, 2023
1271db2
[Fix] modify links in `overview.md` (#2919)
tianleiSHI Apr 18, 2023
20f80f9
[Project] support SAM inferencer (#2897)
xiexinch Apr 19, 2023
8721d44
[Fix] Fix URL so output of `mim list` looks better (#2902)
1qh Apr 19, 2023
d3217ed
[Dev] update owner (#2927)
xiexinch Apr 19, 2023
e566f98
Merge branch 'dev-1.x' of github.com:open-mmlab/mmsegmentation into m…
xiexinch Apr 19, 2023
757f4a5
Merge branch 'main' of github.com:open-mmlab/mmsegmentation into dev-1.x
xiexinch Apr 19, 2023
04f7ec6
[Fix] Fix binary C=1 focal loss & dataset fileio (#2935)
csatsurnh Apr 23, 2023
60a542c
[Fix] fix squeeze error when N=1 and C=1 (#2933)
acdart Apr 23, 2023
7ff58d7
[Feature] Support albu transform (#2943)
xiexinch Apr 24, 2023
e64548f
[Doc] update repo list in README (#2949)
xiexinch Apr 26, 2023
3b072eb
Fix typo in docs/en/user_guides/visualization_feature_map.md (#2951)
JoshuaChou2018 Apr 26, 2023
990063e
[Feature] Support DDRNet (#2855)
whu-pzhang Apr 27, 2023
9b6c4b7
[Doc] Update the translation of models. (#2833)
jts250 May 4, 2023
227ced4
[Doc] Fix a tiny mis-Arg in BaseDecodeHead class (#2970)
MGAMZ May 5, 2023
01d4017
Fix typo in tools/test.py (#2961)
mmeendez8 May 5, 2023
b299120
[Project] add Bactteria_Dataset project in dev-1.x (#2568)
tianbinli May 6, 2023
99b9e81
[Fix] Limit urllib3 version for docs building (#2984)
xiexinch May 6, 2023
65b63cc
[Fix] Fix DDRNet readme (#2981)
MengzhangLI May 6, 2023
77836e6
[Project] add Vampire dataset project (#2633)
Provable0816 May 6, 2023
77591b9
[Feature] Add GDAL backend and Support LEVIR-CD Dataset (#2903)
Zoulinx May 8, 2023
b89c2c4
[Feature] Support DSDL Dataset (#2925)
wufan-tb May 10, 2023
b83a498
[Feature] Prevent passed `ann_file` from silently failing to load (#2…
haruishi43 May 12, 2023
2f257ab
[Refactor] Refactor dice loss (#3002)
csatsurnh May 15, 2023
7d61567
[Project] Cranium (#2675)
Masaaki-75 May 18, 2023
0bfe255
[Project] Added a supported for Visual Attention Network (VAN) (#2987)
tang576225574 May 22, 2023
a9e960c
[Project] add Ravir dataset project in dev-1.x (#2635)
Provable0816 May 23, 2023
5563480
[Doc] Repair invalid link of potsdam and vaihingen (#3042)
AI-Tianlong May 30, 2023
b6ec4ab
Fixes an issue in isaid.py (#3010)
Kedreamix May 30, 2023
e5b8d72
[Dataset] Support GID dataset on project (#3038)
AI-Tianlong Jun 5, 2023
c0d9830
[CI] Fix mmdet version (#3081)
xiexinch Jun 6, 2023
e8c8b94
Clean jupyter output (#3082)
xiexinch Jun 6, 2023
13e42cc
[Fix] Fix bug cannot use both '--tta' and '--out' while testing. (#3067)
nightrain01 Jun 6, 2023
cdc5d4d
[Docs] Add docs contents at README.md (#3083)
AI-Tianlong Jun 7, 2023
e5cb1d2
[Docker] update Dockerfile libgl1-mesa-dev (#3095)
shigengtian Jun 16, 2023
279b897
[Feature] enhance swin pretrained model loading (#3097)
SheffieldCao Jun 16, 2023
c30d506
[Fix] Robust mapping from image path to seg map path (#3091)
wangruohui Jun 16, 2023
b2f4b4f
[Fix] fix inferencer ut (#3117)
xiexinch Jun 19, 2023
bb93b48
[Feature] huasdorff distance loss (#2820)
jinxianwei Jun 19, 2023
20adcfa
[Dev] update benchmark script (#3116)
xiexinch Jun 19, 2023
b0635ff
[Enhancement] Change assertion logic inference cfg.model.test_cfg (#3…
LHamnett Jun 19, 2023
b8b6ee6
fix assert (#3119)
xiexinch Jun 19, 2023
4feba31
[Project] Medical semantic seg dataset: bccs (#2861)
Provable0816 Jun 20, 2023
f419f61
[Project] add Gamma Task3 dataset project in dev-1.x (#2695)
Provable0816 Jun 20, 2023
b5fc5ab
[Project] Medical semantic seg dataset: consep (#2724)
tianbinli Jun 20, 2023
041f1f0
[Project] Medical semantic seg dataset: breast_cancer_cell_seg (#2726)
tianbinli Jun 20, 2023
65c8d77
[Project] Medical semantic seg dataset: chest_image_pneum (#2727)
tianbinli Jun 20, 2023
81edd98
[Project] Medical semantic seg dataset: conic2022 (#2725)
tianbinli Jun 21, 2023
6333dc1
[Project] Medical semantic seg dataset: dr_hagis (#2729)
tianbinli Jun 21, 2023
78e036c
[Project] Medical semantic seg dataset: orvs (#2728)
tianbinli Jun 21, 2023
b24f422
[Project] Medical semantic seg dataset: ISIC-2016 Task1 (#2708)
suyanzhou626 Jun 21, 2023
3cc9d30
[Project] Medical semantic seg dataset: ISIC-2017 Task1 (#2709)
suyanzhou626 Jun 22, 2023
2ea4784
[Project] Medical semantic seg dataset: Kvasir seg (#2677)
Masaaki-75 Jun 25, 2023
5a9cfa9
[Project] Medical dataset: Kvasir seg aliyun (#2678)
Masaaki-75 Jun 25, 2023
d934d10
[Project] Medical semantic seg dataset: Rite (#2680)
Masaaki-75 Jun 25, 2023
ac24111
[Project] Medical semanti seg dataset: Fusc2021 (#2682)
Masaaki-75 Jun 25, 2023
942b054
[Project] Medical semantic seg dataset: 2pm vessel (#2685)
Masaaki-75 Jun 25, 2023
30e3b49
[Project] Medical semantic seg dataset: Pcam (#2684)
Masaaki-75 Jun 25, 2023
e4db1f2
[Project] Medical semantic seg dataset: Pannuke (#2683)
Masaaki-75 Jun 25, 2023
c1de52a
[Project] Medical semantic seg dataset: Covid 19 ct cxr (#2688)
Masaaki-75 Jun 25, 2023
c923f4d
[Project] Medical semantic seg dataset: Crass (#2690)
Masaaki-75 Jun 25, 2023
d3f2922
[Project] Medical semantic seg dataset: Chest x ray images with pneum…
Masaaki-75 Jun 25, 2023
ffb7e2e
[Fix] Fix dependency (#3136)
xiexinch Jun 26, 2023
a2efc04
[CI] fix merge stage (#3138)
xiexinch Jun 26, 2023
3dca9a0
[Project] add x-decoder link (#3142)
xiexinch Jun 28, 2023
b633093
[Dev] update owners (#3143)
xiexinch Jun 28, 2023
c55d7a7
[Feature] support mim download dataset (#3089)
xiexinch Jun 28, 2023
cc74c5c
[Enhancement] update segformer default pretrain to configs (#3153)
xiexinch Jun 30, 2023
8806b4e
[Fix] Fix visualizor (#3154)
xiexinch Jul 3, 2023
e4c1865
Bump1.1 (#3140)
xiexinch Jul 4, 2023
0079076
Release MMSegmentation v1.1.0
xiexinch Jul 4, 2023
ac78b13
[Fix] Fix train map path for coco-stuff164k.py (#3187)
OliverGrace Jul 12, 2023
067a95e
[Fix] fix mim search error (#3194)
xiexinch Jul 13, 2023
7254f53
[Fix] Fix SegTTAModel with no attribute '_gt_sem_seg' error (#3152)
ZiAn-Su Jul 13, 2023
057155d
[Feature] add bdd100K datasets (#3158)
CastleDream Jul 14, 2023
5fc1979
[Fix] Update ddrnet readme (#3198)
xiexinch Jul 14, 2023
580f63e
use correct link addresses for datasets in README_zh-CN (#3174)
coding-famer Jul 14, 2023
20fa129
[Fix] Albumentations default key mapping mismatch (#3195)
Alias-z Jul 14, 2023
857f854
[Enhancement] Remove batch inference assertion (#3210)
xiexinch Jul 20, 2023
30a3f94
bumpv1.1.1 (#3223)
xiexinch Jul 24, 2023
1235217
[CodeCamp2023-154] Add semantic label to the segmentation visualizati…
CastleDream Aug 1, 2023
4927b0e
[Fix] Fix module PascalContextDataset (#3235)
angiecao Aug 9, 2023
817c18b
[Fix] Added ignore_index and one hot encoding for dice loss (#3237)
yeedrag Aug 9, 2023
1e93796
[CodeCamp2023-367] Add pp_mobileseg model (#3239)
Yang-Changhui Aug 9, 2023
e458a46
[Project] Support CAT-Seg from CVPR2023 (#3098)
SheffieldCao Aug 9, 2023
9801c62
[Fix] update pp_mobileseg ckpt links (#3254)
xiexinch Aug 10, 2023
22ffd0d
[Doc]fix inference_segmentor to inference_model (#3261)
ooooo-create Aug 15, 2023
0391bc4
[Fix] Update dataset mim downloading source to OpenXLab (#3266)
xiexinch Aug 16, 2023
9277418
[Project] Add pp_mobileseg onnx inference demo (#3268)
xiexinch Aug 16, 2023
788b37f
[Feature] Support NYU depth estimation dataset (#3269)
Ben-Louis Aug 17, 2023
05767a2
Update QR code (#3284)
crazysteeaam Aug 23, 2023
b2f1095
[Doc] translate doc for docs/zh_cn/user_guides/5_deployment.md (#3281)
ooooo-create Aug 25, 2023
8233e64
[CodeCamp2023-526] Kullback-Leibler divergence Loss implementation (#…
zen0no Aug 28, 2023
35ff78a
[Feature] Support depth metrics (#3297)
Ben-Louis Aug 31, 2023
72e20a8
[Feature] remote sensing inference (#3131)
Zoulinx Aug 31, 2023
ebd5695
[Fix] Update confusion_matrix.py (#3291)
XDWang97 Aug 31, 2023
c46cc85
[Feature] Support VPD Depth Estimator (#3321)
Ben-Louis Sep 13, 2023
b6090a1
[CodeCamp2023-608] Add Adabins model (#3257)
Yang-Changhui Sep 13, 2023
2b3d3d0
[Fix] Fix training of VPD model (#3323)
Ben-Louis Sep 15, 2023
913fe3e
[Doc] add openxlab badge (#3332)
ZhaoQiiii Sep 18, 2023
f1fa61a
[Fix] Fix inferencer (#3333)
xiexinch Sep 18, 2023
743171d
[Feature] Support inference and visualization of VPD (#3331)
Ben-Louis Sep 18, 2023
56a40d7
Use the pytorch-grad-cam tool to visualize Class Activation Maps (CAM…
zhen6618 Sep 20, 2023
9c45a94
[Fix] fix import error raised by ldm (#3338)
Ben-Louis Sep 20, 2023
1471d1e
bumpv1.1.2 (#3339)
xiexinch Sep 20, 2023
608e319
[Feature] Support Side Adapter Network (#3232)
angiecao Sep 20, 2023
4278fff
[Dev] update requirement (#3351)
xiexinch Sep 26, 2023
ffbc7d7
[Dev] update test case (#3352)
xiexinch Sep 26, 2023
2b3d91a
[Dev] add san metafile (#3353)
xiexinch Sep 26, 2023
cf8fc7b
[Fix] fix wrong variables passing for `set_dataset_meta` (#3348)
likyoo Sep 26, 2023
e64c2fd
[CodeCamp2023-565] Fine tune ONNX Models (MMSegemetation) Inference f…
AI-Tianlong Oct 12, 2023
64172d6
[Fix] fix timm unit test (#3375)
xiexinch Oct 12, 2023
19b0e90
[Dev] update CI config (#3377)
xiexinch Oct 12, 2023
61e0253
bumpv1.2.0 (#3376)
xiexinch Oct 12, 2023
95fbfbb
[Fix] Add bpe_simple_vocab_16e6.txt.gz to release (#3386)
xiexinch Oct 16, 2023
649c50c
[Fix] Fix init api (#3388)
xiexinch Oct 16, 2023
cbf9af1
bumpv1.2.1 (#3391)
xiexinch Oct 17, 2023
e51f511
[Bugfix] Fix bug in cross entropy loss (#3457)
mmeendez8 Dec 4, 2023
83bff18
[Bugfix] Allow custom visualizer (#3455)
mmeendez8 Dec 4, 2023
7451459
[Bugfix] test resize with pad_shape (#3421)
okotaku Dec 7, 2023
c7ac97d
[Feature] add -with-labels arg to inferencer for visualization withou…
haruishi43 Dec 14, 2023
c685fe6
bumpv1.2.2 (#3475)
xiexinch Dec 14, 2023
bd255fc
[Doc] fix typo in `add_datasets` docs (#3496)
JimmyMa99 Jan 5, 2024
6a709be
[Docs] Optimize Home page format (#3483)
AI-Tianlong Jan 5, 2024
7a392ad
[Feature] add HSI-Drive dataset (#3365)
jonGuti13 Jan 10, 2024
303e754
[Fix] Fix no config link in SAN (#3517)
MengzhangLI Jan 15, 2024
e1b48d5
[New Configs] Add mmseg/configs folder & Support loveda, potsdam, sc…
AI-Tianlong Jan 29, 2024
1929c25
[Fix] Fix get_flops scrip (#3551)
xiexinch Jan 31, 2024
2558a72
[Bug] Fix links in SWIN transformer (#3546)
mmeendez8 Jan 31, 2024
972c5cb
[Docs] Fix readthedocs (#3584)
xiexinch Mar 7, 2024
95056cb
[Fix] FIx readthedocs subfix (#3585)
xiexinch Mar 7, 2024
be687fc
fix (#3586)
xiexinch Mar 8, 2024
5465118
[Fix] update build loss api (#3587)
xiexinch Mar 8, 2024
b677081
[Fix] Fix cd transform (#3598)
Zoulinx Mar 18, 2024
b040e14
[Fix] bugfix/avoid-runner-iter-in-vis-hook-test-mode (#3596)
mmeendez8 Mar 22, 2024
244d0bc
fix old MMCV config file format for mobilenetv3
tackhwa May 19, 2024
485f7c5
fix old MMCV config file format for mobilenetv3
tackhwa May 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ workflows:
tools/.* lint_only false
configs/.* lint_only false
.circleci/.* lint_only false
base-revision: dev-1.x
base-revision: main
# this is the path of the configuration we should trigger once
# path filtering and pipeline parameter value updates are
# complete. In this case, we are using the parent dynamic
Expand Down
52 changes: 29 additions & 23 deletions .circleci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,19 @@ jobs:
command: |
pip install git+https://github.com/open-mmlab/mmengine.git@main
pip install -U openmim
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/mmclassification@dev-1.x
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
mim install mmcv>=2.0.0
pip install mmpretrain>=1.0.0rc7
pip install mmdet>=3.0.0
pip install -r requirements/tests.txt -r requirements/optional.txt
python -m pip install albumentations>=0.3.2 --no-binary qudida,albumentations
- run:
name: Build and install
command: |
pip install -e .
- run:
name: Skip timm unittests and generate coverage report
command: |
python -m coverage run --branch --source mmseg -m pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py
python -m coverage run --branch --source mmseg -m pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py --ignore tests/test_apis/test_rs_inferencer.py
python -m coverage xml
python -m coverage report -m
build_cuda:
Expand All @@ -86,40 +87,47 @@ jobs:
type: integer
default: 7
machine:
image: ubuntu-2004-cuda-11.4:202110-01
# docker_layer_caching: true
resource_class: gpu.nvidia.small
image: linux-cuda-11:default
docker_layer_caching: true
resource_class: gpu.nvidia.small.multi
steps:
- checkout
- run:
name: Install nvidia-container-toolkit and Restart Docker
command: |
sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
- run:
# Cloning repos in VM since Docker doesn't have access to the private key
name: Clone Repos
command: |
git clone -b main --depth 1 https://github.com/open-mmlab/mmengine.git /home/circleci/mmengine
git clone -b dev-1.x --depth 1 https://github.com/open-mmlab/mmclassification.git /home/circleci/mmclassification
git clone -b dev-3.x --depth 1 https://github.com/open-mmlab/mmdetection.git /home/circleci/mmdetection
- run:
name: Build Docker image
command: |
docker build .circleci/docker -t mmseg:gpu --build-arg PYTORCH=<< parameters.torch >> --build-arg CUDA=<< parameters.cuda >> --build-arg CUDNN=<< parameters.cudnn >>
docker run --gpus all -t -d -v /home/circleci/project:/mmseg -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmclassification:/mmclassification -v /home/circleci/mmdetection:/mmdetection -w /mmseg --name mmseg mmseg:gpu
docker run --gpus all -t -d -v /home/circleci/project:/mmseg -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmpretrain:/mmpretrain -v /home/circleci/mmdetection:/mmdetection -w /mmseg --name mmseg mmseg:gpu
- run:
name: Install mmseg dependencies
command: |
docker exec mmseg pip install -e /mmengine
docker exec mmseg pip install -U openmim
docker exec mmseg mim install 'mmcv>=2.0.0rc4'
docker exec mmseg pip install -e /mmclassification
docker exec mmseg pip install -e /mmdetection
docker exec mmseg mim install mmcv>=2.0.0
docker exec mmseg pip install mmpretrain>=1.0.0rc7
docker exec mmseg mim install mmdet>=3.0.0
docker exec mmseg apt-get update
docker exec mmseg apt-get install -y git
docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt
docker exec mmseg python -m pip install albumentations>=0.3.2 --no-binary qudida,albumentations
- run:
name: Build and install
command: |
docker exec mmseg pip install -e .
- run:
name: Run unittests but skip timm unittests
command: |
docker exec mmseg pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py
docker exec mmseg pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py --ignore tests/test_models/test_backbones/test_timm_backbone.py --ignore tests/test_apis/test_rs_inferencer.py
workflows:
pr_stage_lint:
when: << pipeline.parameters.lint_only >>
Expand All @@ -130,8 +138,7 @@ workflows:
branches:
ignore:
- dev-1.x
- 1.x
- master
- main
pr_stage_test:
when:
not:
Expand All @@ -143,12 +150,11 @@ workflows:
branches:
ignore:
- dev-1.x
- 1.x
- master
- main
- build_cpu:
name: minimum_version_cpu
torch: 1.6.0
torchvision: 0.7.0
torch: 1.8.1
torchvision: 0.9.1
python: "3.7"
requires:
- lint
Expand Down Expand Up @@ -179,12 +185,12 @@ workflows:
jobs:
- build_cuda:
name: minimum_version_gpu
torch: 1.6.0
torch: 1.8.1
# Use double quotation mark to explicitly specify its type
# as string instead of number
cuda: "10.1"
cuda: "10.2"
filters:
branches:
only:
- dev-1.x
- 1.x
- main
File renamed without changes.
File renamed without changes.
File renamed without changes.
57 changes: 57 additions & 0 deletions .dev_scripts/benchmark_full_models.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
ann/ann_r50-d8_4xb2-40k_cityscapes-512x1024.py
apcnet/apcnet_r50-d8_4xb4-80k_ade20k-512x512.py
beit/beit-large_upernet_8xb1-amp-160k_ade20k-640x640.py
bisenetv1/bisenetv1_r18-d32_4xb4-160k_coco-stuff164k-512x512.py
bisenetv2/bisenetv2_fcn_4xb4-ohem-160k_cityscapes-1024x1024.py
ccnet/ccnet_r50-d8_4xb2-40k_cityscapes-512x1024.py
cgnet/cgnet_fcn_4xb4-60k_cityscapes-680x680.py
convnext/convnext-tiny_upernet_8xb2-amp-160k_ade20k-512x512.py
danet/danet_r50-d8_4xb2-40k_cityscapes-512x1024.py
deeplabv3/deeplabv3_r50-d8_4xb2-40k_cityscapes-512x1024.py
deeplabv3plus/deeplabv3plus_r101-d8_4xb2-40k_cityscapes-769x769.py
dmnet/dmnet_r50-d8_4xb2-40k_cityscapes-512x1024.py
dnlnet/dnl_r50-d8_4xb2-40k_cityscapes-512x1024.py
dpt/dpt_vit-b16_8xb2-160k_ade20k-512x512.py
emanet/eemanet_r50-d8_4xb2-80k_cityscapes-512x1024.py
encnet/encnet_r50-d8_4xb4-80k_ade20k-512x512.py
erfnet/erfnet_fcn_4xb4-160k_cityscapes-512x1024.py
fastfcn/fastfcn_r50-d32_jpu_aspp_4xb2-80k_cityscapes-512x1024.py
fastscnn/fast_scnn_8xb4-160k_cityscapes-512x1024.py
fcn/fcn_r50-d8_4xb2-40k_cityscapes-512x1024.py
gcnet/gcnet_r50-d8_4xb2-40k_cityscapes-769x769.py
hrnet/fcn_hr18s_4xb4-80k_ade20k-512x512.py
icnet/icnet_r50-d8_4xb2-80k_cityscapes-832x832.py
isanet/isanet_r50-d8_4xb2-80k_cityscapes-512x1024.py
knet/knet-s3_swin-l_upernet_8xb2-adamw-80k_ade20k-640x640.py
mae/mae-base_upernet_8xb2-amp-160k_ade20k-512x512.py
mask2former/mask2former_r50_8xb2-90k_cityscapes-512x1024.py
mask2former/mask2former_swin-t_8xb2-90k_cityscapes-512x1024.py
mask2former/mask2former_swin-s_8xb2-160k_ade20k-512x512.py
mask2former/mask2former_swin-l-in22k-384x384-pre_8xb2-160k_ade20k-640x640.py
maskformer/maskformer_r50-d32_8xb2-160k_ade20k-512x512.py
maskformer/maskformer_r101-d32_8xb2-160k_ade20k-512x512.py
maskformer/maskformer_swin-t_upernet_8xb2-160k_ade20k-512x512.py
maskformer/maskformer_swin-s_upernet_8xb2-160k_ade20k-512x512.py
mobilenet_v2/mobilenet-v2-d8_pspnet_4xb2-80k_cityscapes-512x1024.py
mobilenet_v3/mobilenet-v3-d8-scratch_lraspp_4xb4-320k_cityscapes-512x1024.py
nonlocal_net/nonlocal_r50-d8_4xb2-40k_cityscapes-512x1024.py
ocrnet/ocrnet_hr18_4xb4-80k_ade20k-512x512.py
pidnet/pidnet-l_2xb6-120k_1024x1024-cityscapes.py
point_rend/pointrend_r50_4xb2-80k_cityscapes-512x1024.py
poolformer/fpn_poolformer_m48_8xb4-40k_ade20k-512x512.py
psanet/psanet_r101-d8_4xb4-80k_ade20k-512x512.py
pspnet/pspnet_r50-d8-rsb_4xb2-adamw-80k_cityscapes-512x1024.py
resnest/resnest_s101-d8_deeplabv3_4xb4-160k_ade20k-512x512.py
segformer/segformer_mit-b5_8xb1-160k_cityscapes-1024x1024.py
segformer/segformer_mit-b5_8xb2-160k_ade20k-512x512.py
segmenter/segmenter_vit-t_mask_8xb1-160k_ade20k-512x512.py
segnext/segnext_mscan-t_1xb16-adamw-160k_ade20k-512x512.py
sem_fpn/fpn_r101_4xb2-80k_cityscapes-512x1024.py
setr/setr_vit-l-mla_8xb1-160k_ade20k-512x512.py
stdc/stdc1_in1k-pre_4xb12-80k_cityscapes-512x1024.py
swin/swin-small-patch4-window7-in1k-pre_upernet_8xb2-160k_ade20k-512x512.py
twins/twins_pcpvt-s_uperhead_8xb4-160k_ade20k-512x512.py
unet/unet-s5-d16_fcn_4xb4-160k_cityscapes-512x1024.py
upernet/upernet_r50_4xb2-40k_cityscapes-769x769.py
vit/vit_deit-s16_upernet_8xb2-80k_ade20k-512x512.py
san/san-vit-b16_coco-stuff164k-640x640.py
File renamed without changes.
10 changes: 10 additions & 0 deletions .dev_scripts/benchmark_options.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
third_part_libs = [
'pip install mmengine',
'pip install mmcv>=2.0.0',
'pip install mmcls==1.0.0rc6',
'pip install mmdet==3.0.0',
'pip install -r requirements.txt',
'pip install timm',
]

default_floating_range = 0.5
File renamed without changes.
26 changes: 26 additions & 0 deletions .dev_scripts/benchmark_train_models.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
bisenetv1/bisenetv1_r18-d32_4xb4-160k_coco-stuff164k-512x512.py
bisenetv2/bisenetv2_fcn_4xb4-ohem-160k_cityscapes-1024x1024.py
deeplabv3/deeplabv3_r50-d8_4xb2-40k_cityscapes-512x1024.py
deeplabv3/deeplabv3_r101-d8_4xb4-160k_ade20k-512x512.py
deeplabv3plus/deeplabv3plus_r101-d8_4xb2-40k_cityscapes-769x769.py
deeplabv3plus/deeplabv3plus_r50-d8_4xb4-80k_ade20k-512x512.py
hrnet/fcn_hr18s_4xb4-80k_ade20k-512x512.py
hrnet/fcn_hr18_4xb2-160k_cityscapes-512x1024.py
knet/knet-s3_swin-l_upernet_8xb2-adamw-80k_ade20k-512x512.py
knet/knet-s3_r50-d8_pspnet_8xb2-adamw-80k_ade20k-512x512.py
mae/mae-base_upernet_8xb2-amp-160k_ade20k-512x512.py
mask2former/mask2former_swin-l-in22k-384x384-pre_8xb2-160k_ade20k-640x640.py
maskformer/maskformer_swin-s_upernet_8xb2-160k_ade20k-512x512.py
mobilenet_v2/mobilenet-v2-d8_deeplabv3_4xb2-80k_cityscapes-512x1024.py
ocrnet/ocrnet_hr48_4xb4-80k_ade20k-512x512.py
pidnet/pidnet-m_2xb6-120k_1024x1024-cityscapes.py
pspnet/pspnet_r50-d8-rsb_4xb2-adamw-80k_cityscapes-512x1024.py
pspnet/pspnet_r101-d8_4xb4-80k_ade20k-512x512.py
segformer/segformer_mit-b5_8xb2-160k_ade20k-512x512.py
segmenter/segmenter_vit-t_mask_8xb1-160k_ade20k-512x512.py
segnext/segnext_mscan-t_1xb16-adamw-160k_ade20k-512x512.py
swin/swin-base-patch4-window12-in22k-384x384-pre_upernet_8xb2-160k_ade20k-512x512.py
twins/twins_pcpvt-l_uperhead_8xb2-160k_ade20k-512x512.py
unet/unet-s5-d16_fcn_4xb4-160k_cityscapes-512x1024.py
upernet/upernet_r101_4xb2-40k_cityscapes-512x1024.py
san/san-vit-b16_coco-stuff164k-640x640.py
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def parse_args():
parser.add_argument(
'--out',
type=str,
default='.dev/benchmark_evaluation.sh',
default='.dev_scripts/benchmark_evaluation.sh',
help='path to save model benchmark script')

args = parser.parse_args()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def parse_args():
parser.add_argument(
'--out',
type=str,
default='.dev/benchmark_train.sh',
default='.dev_scripts/benchmark_train.sh',
help='path to save model benchmark script')

args = parser.parse_args()
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def get_model_info(md_file: str, config_dir: str,
if line.startswith('<!-- [DATASET]'):
is_dataset = True

if '<!-- [SKIP DEV CHECK] -->' in line:
return None, None

# get dataset names
if line.startswith('###'):
current_dataset = line.split('###')[1].strip()
Expand Down Expand Up @@ -279,14 +282,20 @@ def update_model_index(config_dir_list: List[str]) -> bool:
collection_name_list: List[str] = get_collection_name_list(md_file_list)
# hard code to add 'FPN'
collection_name_list.append('FPN')
remove_config_dir_list = []
# parse md file
for md_file, config_dir in zip(md_file_list, config_dir_list):
results, collection_name = get_model_info(md_file, config_dir,
collection_name_list)
if results is None:
remove_config_dir_list.append(config_dir)
continue
filename = osp.join(config_dir, 'metafile.yaml')
file_modified |= dump_yaml_and_check_difference(results, filename)
if collection_name != '':
collection_name_list.append(collection_name)

# remove config dir
for config_dir in remove_config_dir_list:
config_dir_list.remove(config_dir)
file_modified |= update_model_index(config_dir_list)
sys.exit(1 if file_modified else 0)
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ concurrency:

jobs:
build-n-publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: startsWith(github.event.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Build MMSegmentation
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/lint.yml

This file was deleted.

Loading