Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
786 commits
Select commit Hold shift + click to select a range
a63f77d
Merge branch 'xiexinchen/fix_optim_config' into 'refactor_dev'
Jul 7, 2022
3e8594d
[Refactor] Move tensor2list operation to EncoderDecoder
xiexinch Jul 8, 2022
ad35ec6
Merge branch 'xiexinchen/tensor2list' into 'refactor_dev'
Jul 8, 2022
d74dc89
[Refactor] Fix load annotations by file
xiexinch Jul 11, 2022
b08e0bc
Merge branch 'xiexinchen/fix_dataset' into 'refactor_dev'
Jul 11, 2022
c1c870a
rename init/inference_segmentor to init/inference_model
xiexinch Jul 12, 2022
1b3a487
[Refactor] Fix STDCNet custom loss
xiexinch Jul 12, 2022
ed4bb5b
Merge branch 'xiexinchen/fix_stdcnet' into 'refactor_dev'
Jul 12, 2022
5b41431
[Fix] Fix optim wrapper configs
xiexinch Jul 14, 2022
6eeec22
Merge branch 'xiexinchen/fix_optim_configs' into 'refactor_dev'
Jul 14, 2022
e324e8f
Merge branch 'xiexinchen/rename_apis' into 'refactor_dev'
Jul 14, 2022
0fc9071
[Refactor] Fix benchmark script
xiexinch Jul 14, 2022
b217481
Merge branch 'xiexinchen/fix_benchmark_script' into 'refactor_dev'
Jul 14, 2022
741190a
support '--amp' option
xiexinch Jul 14, 2022
2a138b4
[Refactor] Fix analyze log script
xiexinch Jul 14, 2022
4717c01
Merge branch 'xiexinchen/fix_analyze_log_script' into 'refactor_dev'
Jul 14, 2022
fba9195
Merge branch 'xiexinchen/amp_train' into 'refactor_dev'
Jul 14, 2022
4b76f27
[Refactory] MMSegmentation Content
Jul 15, 2022
d0fb6cc
Merge branch 'zhengmiao/refactory-content' into 'refactor_dev'
Jul 15, 2022
b61347e
update mmcv version (#1801)
xiexinch Jul 21, 2022
d326471
set circle ci (#1804)
MeowZheng Jul 21, 2022
4de57b4
[Fix] Fix register_all_modules and imports (#1793)
MeowZheng Jul 21, 2022
ba4d1d6
[Feature] Add LoadImageFromNdArray pipeline (#1810)
xiexinch Jul 22, 2022
3cf2bbd
[Fix] Change CustomDataset to BaseSegDataset (#1791)
MengzhangLI Jul 26, 2022
6758b14
[Fix] Fix DATASETS not imported error (#1827)
MengzhangLI Jul 26, 2022
4079d6d
[Fix] Use MMEngine BaseModule (#1829)
MengzhangLI Jul 27, 2022
6873f9e
[Feature] Add SegVisualizer (#1792)
MengzhangLI Jul 27, 2022
1ded0a4
[Enhancement] Replace MMCV with MMEngine in convert model scripts (#1…
xiexinch Jul 27, 2022
3bbdd6d
[Fix] Fix unit test image file path error (#1835)
MengzhangLI Jul 28, 2022
5d96508
[Fix] Fix demo scripts (#1815)
xiexinch Jul 29, 2022
7369d50
[Fix] Fix SegLocalVisualizer gt_sem_seg cuda tensor error (#1845)
MengzhangLI Aug 1, 2022
1479d0a
[Fix] Add skip op if NO CUDA in local visualizer (#1850)
MengzhangLI Aug 1, 2022
85ef7b9
[Fix] Fix LoacalVisualizer UT (#1851)
MeowZheng Aug 1, 2022
fdaf8ea
[Enhancement] Set up circle-ci on test-1.x branch (#1852)
MeowZheng Aug 1, 2022
e2f26e3
[Fix] Import BaseModule from mmengien (#1862)
MeowZheng Aug 4, 2022
e4b9d72
[Fix] 2.0 Fix mDice metric for medical datasets (#1864)
MengzhangLI Aug 4, 2022
7e83c1d
[Enhancement] Add mmcls installation in circle ci (#1898)
MeowZheng Aug 9, 2022
78b0865
[Fix] Default hooks in cgnet config (#1897)
MeowZheng Aug 9, 2022
d265778
[Fix] Import Sequential from mmengine (#1899)
MeowZheng Aug 9, 2022
c498e6f
[Fix] Add SegVisualizationHook in default hooks (#1900)
MeowZheng Aug 9, 2022
76c5ce1
[Fix] Fix after iter `SegVisualizationHook` (#1908)
MeowZheng Aug 10, 2022
ecab73a
[Feature] Add P1 DataTransform (#1843)
MengzhangLI Aug 1, 2022
167f94a
rename data to structures (#1854)
xiexinch Aug 3, 2022
bfe0fbe
support load v1/v2 ckpt (#1868)
xiexinch Aug 5, 2022
e0499d5
[Fix] Fix repo based on refactoring standard (#1869)
MeowZheng Aug 5, 2022
671ed74
fix logdict (#1892)
xiexinch Aug 9, 2022
94481d5
[Doc] Update API doc (#1888)
xiexinch Aug 9, 2022
03405dc
fix logger cfg (#1894)
xiexinch Aug 9, 2022
45b63c5
[Doc] MMSeg 1.x Documentation (#1924)
MeowZheng Aug 17, 2022
13b108d
[Enhancement] Support custom runner (#1923)
xiexinch Aug 17, 2022
3d98c25
fix base dataset (#1926)
xiexinch Aug 17, 2022
8f2c657
[Refactor] Dataset tutorial for 1.x (#1932)
xiexinch Aug 18, 2022
179e128
transform tutorial (#1953)
xiexinch Aug 23, 2022
c932102
[Refactor] Config tutorial for 1.x (#1951)
xiexinch Aug 24, 2022
50546da
[Fix]Remove modules from mmcv.runner and mmcv.utils (#1966)
MeowZheng Aug 25, 2022
8de0050
[Refactor] data flow (#1956)
MeowZheng Aug 26, 2022
ef2152f
[Fix] Fix inputs dtype convert in data preprocessor (#1975)
MeowZheng Aug 26, 2022
a3a144a
[Refactor] Update config names (#1964)
xiexinch Aug 26, 2022
c5bcf99
[Fix] batch size for citys in cfg file name (#1977)
MeowZheng Aug 26, 2022
032ad84
[Fix] Config name in ut (#1978)
MeowZheng Aug 26, 2022
adec7f2
[Fix] Add `by_epoch=False` for log processor (#1987)
MeowZheng Aug 29, 2022
cc240ce
[Refactor] Add transform tutorial for dev-1.x (#1985)
xiexinch Aug 29, 2022
aed1886
[Fix] benckmark script (#1991)
MeowZheng Aug 29, 2022
99a8f59
visual tutorial (#1984)
xiexinch Aug 29, 2022
ae5c13e
[Refactor] Inference and train tutorials for 1.x (#1952)
xiexinch Aug 29, 2022
bd1097a
[Fix] Fix several config file errors in 2.0 (New) (#1994)
MengzhangLI Aug 30, 2022
ee7f340
[Feature] Support Tversky Loss in dev-1.x branch (#2000)
MengzhangLI Aug 31, 2022
8ce7055
[Fix] Fix mmengine dump of tversky ut in dev-1.x (#2001)
MengzhangLI Aug 31, 2022
2724d47
[Fix] Add out-file in demo and show_result_pyplot (#2004)
MeowZheng Aug 31, 2022
ef111df
[Fix] browse dataset (#2005)
MeowZheng Aug 31, 2022
8ba8017
[Enhancement] version check codebase from openmmlab (#2006)
MeowZheng Aug 31, 2022
309528d
[Refactor] Refine documentation (#1993)
MeowZheng Aug 31, 2022
211584f
[Fix] Revise MMEngine mim version (#2008)
MeowZheng Aug 31, 2022
8f5dcc8
[Fix] README for mmseg 1.x (#2009)
MeowZheng Aug 31, 2022
87a1d32
Add changelog for MMSeg 1.0.0rc0 (#2007)
MeowZheng Aug 31, 2022
60f0415
chore(setup.py): add mim extras_requires (#2012)
ice-tong Sep 1, 2022
a57855b
[Enhancement] Fix ci for 1.x (#2011)
MeowZheng Sep 2, 2022
cf1577c
Fix links in README (#2024)
nijkah Sep 5, 2022
6cdc2c4
[Fix] circle ci (#2019)
MeowZheng Sep 5, 2022
8aca73e
[CI] Fix CI (#2029)
MengzhangLI Sep 13, 2022
fffb9e2
[Del] Remove ops (#2063)
MeowZheng Sep 13, 2022
b4941da
[Doc] Update config doc (#2048)
xiexinch Sep 14, 2022
775ef3c
[Doc] Update inference doc (#2052)
xiexinch Sep 14, 2022
bff8a98
[Doc] Update Data Preparation and Visualization doc (#2054)
MengzhangLI Sep 14, 2022
0097dfb
[Fix] Fix segmenter-vit-s_fcn config (#2037)
MengzhangLI Sep 14, 2022
3388cfd
[Refactor]Resume do not specify ckpt (#2074)
MeowZheng Sep 15, 2022
eef3888
[Docs] Add Overview (#2042)
MeowZheng Sep 16, 2022
52ce34c
[Doc] Update train test doc (#2061)
xiexinch Sep 16, 2022
230246f
[Refactor] Add pyupgrade pre-commit hook (#2078)
xiexinch Sep 19, 2022
89f6647
[Doc] Updata transforms Doc
MengzhangLI Sep 19, 2022
2a18328
[Enhancement]Add `out_file` in add_datasample to directly save image …
MeowZheng Sep 20, 2022
b3b7629
[Fix] Fix binary segmentation (#2101)
xiexinch Sep 27, 2022
5d1faea
[Doc] Update add module doc (#2067)
xiexinch Sep 29, 2022
c8eb303
[Fix] Fix typo in visualization.md (#2116)
MengzhangLI Sep 29, 2022
e951955
[Doc] Add Data Structure chinese doc (#2129)
MengzhangLI Sep 30, 2022
f87c053
[Fix] Fix MMSegmentation colab demo (#2089)
MeowZheng Sep 30, 2022
fd6e42d
Update get_started.md (#2148)
matrixgame2018 Oct 8, 2022
b732fae
Upgrade pre commit hooks (#2154)
MeowZheng Oct 8, 2022
5b5968d
fix typo
MengzhangLI Oct 8, 2022
00c5e80
[Fix] Ignore test timm when torch<1.7 (#2158)
MeowZheng Oct 8, 2022
1413c75
update model doc (#2160)
xiexinch Oct 8, 2022
d61dd2d
Update get_started.md (#2174)
RangeKing Oct 12, 2022
e2d11d2
[Fix] Fix typo in installation (#2175)
MengzhangLI Oct 12, 2022
8b39294
[Doc] Add evaluation doc (#2077)
xiexinch Oct 13, 2022
84e7649
mmengine requirement (#2186)
xiexinch Oct 13, 2022
f3cd44b
[Fix] Fix ResizeToMultiple transform in MMSeg 1.x (#2185)
MengzhangLI Oct 14, 2022
2ea4034
upgrade (#2202)
xiexinch Oct 18, 2022
20c7dc6
[Feature] Add BioMedical data loading (#2176)
MeowZheng Oct 18, 2022
e8af7a0
[Fix]Use syncbn in mobilenet_v2 (#2198)
MeowZheng Oct 18, 2022
25604a1
[Feature] Support PoolFormer in MMSegmentation 2.0 (#2191)
MengzhangLI Oct 19, 2022
ac9ee8c
[Feature]Generate Edge for dataset (#2210)
MeowZheng Oct 20, 2022
293a057
doc: add mmyolo to Projects in OpenMMLab in readme (#2220)
Li-Qingyun Oct 21, 2022
3d8fd35
[Feature]Add Decathlon dataset (#2227)
MeowZheng Oct 26, 2022
a6a5a50
modify results (#2113)
xiexinch Oct 27, 2022
92ebba6
[Doc] Add Migration documentation (#2066)
MeowZheng Oct 28, 2022
a1f011d
[Doc] Add Data Structures and Elements (#2070)
MengzhangLI Oct 28, 2022
b21df46
[Feature] LIP dataset (#2187)
MeowZheng Oct 31, 2022
02d3793
[Doc] Add Engine ZN doc (#2157)
MengzhangLI Nov 1, 2022
650be56
Update get_started.md (#2148)
matrixgame2018 Oct 8, 2022
b8d87d7
[Doc] Update train test doc (#2061)
xiexinch Sep 16, 2022
2eaf7ee
[Doc] Update inference doc (#2052)
xiexinch Sep 14, 2022
b5715f3
[Doc] Update config doc (#2048)
xiexinch Sep 14, 2022
7f4fb80
[Fix] circle ci (#2019)
MeowZheng Sep 5, 2022
580bd38
Fix links in README (#2024)
nijkah Sep 5, 2022
b07bb16
[Enhancement] Fix ci for 1.x (#2011)
MeowZheng Sep 2, 2022
e4bc52e
Merge pull request #2251 from MeowZheng/sync-1.x
MeowZheng Nov 2, 2022
8545510
Bump 1.0.0rc1
MeowZheng Nov 2, 2022
84ed033
Bump 1.0.0rc1
MeowZheng Nov 2, 2022
ddd2d6f
fix
MeowZheng Nov 2, 2022
ab26606
typo
MeowZheng Nov 2, 2022
38c3145
refine changelog
MeowZheng Nov 2, 2022
eafb5da
Merge pull request #2252 from MeowZheng/v1.0.0rc1
MeowZheng Nov 2, 2022
e9a1c7e
Merge branch '1.x' into dev-1.x
MeowZheng Nov 2, 2022
9699627
lint
MeowZheng Nov 2, 2022
0c87f7a
Merge pull request #2253 from open-mmlab/dev-1.x
MeowZheng Nov 2, 2022
124ec82
Merge pull request #2088 from MengzhangLI/transforms_doc
MeowZheng Nov 2, 2022
c2b4798
Update README.md
kitecats Nov 3, 2022
4d6d74e
Update README_zh-CN.md
kitecats Nov 3, 2022
7927591
Merge pull request #2259 from kitecats/dev-1.x
MeowZheng Nov 8, 2022
70daaaa
support padding in test and fix remove gt padding at post_process
xiexinch Nov 10, 2022
d0b35cd
fix get gt data
xiexinch Nov 10, 2022
d33af52
fix ut
xiexinch Nov 10, 2022
ef0f56d
Update visualization.md
matrixgame2018 Nov 12, 2022
2b854e6
Update visualization.md
matrixgame2018 Nov 13, 2022
921fdde
fix lint
xiexinch Nov 15, 2022
a39b16f
Merge pull request #2308 from xiexinch/fix_lint
MeowZheng Nov 15, 2022
26e9729
fix swin load statedict
xiexinch Nov 15, 2022
a06bf4d
Merge pull request #2304 from xiexinch/fix_swin_load
MeowZheng Nov 15, 2022
8fed7f5
add data_preprocessor ut
xiexinch Nov 17, 2022
fd0fffc
Update visualization.md
matrixgame2018 Nov 18, 2022
2d4b113
[Fix] Fix typo of BaseSegDataset docstring
MengzhangLI Nov 18, 2022
2f15bfe
Merge pull request #2322 from MengzhangLI/fix_basesegdataset_typo
MeowZheng Nov 19, 2022
f915df4
remove gt padding
xiexinch Nov 19, 2022
4e12bcd
fix data sample is None
xiexinch Nov 19, 2022
c56a299
Merge pull request #2290 from xiexinch/fix_gt_padding
MeowZheng Nov 19, 2022
bc013fb
fixed the AttributeError in show_result_pyplot()
VoyagerXvoyagerx Nov 19, 2022
3bf399e
Add PyTorch installation before import torch.
VoyagerXvoyagerx Nov 21, 2022
5ef9f62
Update demo/MMSegmentation_Tutorial.ipynb
MeowZheng Nov 21, 2022
2b4dbcf
Update demo/MMSegmentation_Tutorial.ipynb
MeowZheng Nov 21, 2022
ca1dc71
Update demo/MMSegmentation_Tutorial.ipynb
MeowZheng Nov 21, 2022
8ea777e
Merge pull request #2326 from VoyagerXvoyagerx/dev-1.x
MeowZheng Nov 21, 2022
cfab5b3
[Fix] Fix ignore class id from -1 to 255 in BaseSegDataset in 1.x
MengzhangLI Nov 21, 2022
6d7af07
Merge pull request #2332 from MengzhangLI/fix_basesegdataset_ignoreid
MeowZheng Nov 22, 2022
58e73c3
[Fix] Fix KNet IterativeDecodeHead bug in dev-1.x branch
MengzhangLI Nov 22, 2022
056edc8
init
xiexinch Nov 22, 2022
8b61820
add comment
MengzhangLI Nov 22, 2022
25abd9e
delete data link
MengzhangLI Nov 22, 2022
14a1bb6
[Fix] Add data string in .gitignore file
MengzhangLI Nov 22, 2022
b19e54c
Merge pull request #2334 from MengzhangLI/fix_knet_dev1.x
MeowZheng Nov 22, 2022
d62774c
Merge pull request #2336 from MengzhangLI/fix_gitignore_dev1.x
MeowZheng Nov 22, 2022
840b5b7
Update visualization.md
matrixgame2018 Nov 23, 2022
721f4d0
add ut
xiexinch Nov 23, 2022
68e3b25
use mmcv.RandomChoiceResize as entry
xiexinch Nov 24, 2022
1910dff
minor change
xiexinch Nov 24, 2022
721afae
add docstring
xiexinch Nov 24, 2022
5d3ecd1
Update visualization.md
matrixgame2018 Nov 29, 2022
ccc2005
Update visualization.md
matrixgame2018 Nov 29, 2022
6d3464a
fix lint
xiexinch Nov 29, 2022
aefcab3
Merge pull request #2298 from matrixgame2018/patch-1
MeowZheng Nov 29, 2022
e98231b
[Enhance] Make scipy as a default dependency in runtime 1.x
MengzhangLI Nov 30, 2022
f2b8d2f
doc
BLUE-coconut Nov 30, 2022
9251100
[Enhance] Make scipy as a default dependency in runtime in dev-1.x
MengzhangLI Nov 30, 2022
383826f
Merge pull request #2362 from MengzhangLI/scipy_1.x
MeowZheng Nov 30, 2022
5a62b03
fix h,w order
xiexinch Dec 1, 2022
3b731ed
update copyright
xiexinch Dec 1, 2022
0cdab72
Merge pull request #2339 from xiexinch/resize-shortest-edge
MeowZheng Dec 1, 2022
90c816b
[Enchancement] Delete mmcls in runtime.txt in dev-1.x (#2368)
MengzhangLI Dec 1, 2022
925faea
[Fix] Fix the problem of post-processing not removing padding (#2367)
xiexinch Dec 1, 2022
933e4d3
[Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x (#2215)
MengzhangLI Dec 1, 2022
ba790bd
add synapse dataset
Dominic23331 Dec 2, 2022
67b51b7
[Doc]Translate the 1_config.md and modify a wrong statement in 1_conf…
pofengdenihong Dec 2, 2022
4287fd2
Translate the 1_config.md and modify a wrong statement in 1_config.md
pofengdenihong Dec 2, 2022
babc520
add synapse transforms and test
Dominic23331 Dec 2, 2022
99a0c2a
add some annotates
Dominic23331 Dec 2, 2022
8aebcde
add synapse dataset utils
Dominic23331 Dec 2, 2022
33d7345
delete some useless code
Dominic23331 Dec 2, 2022
5a0e26f
chenge the code format
Dominic23331 Dec 3, 2022
375cf93
fix the conflicts
Dominic23331 Dec 3, 2022
5668182
modify part of content
BLUE-coconut Dec 3, 2022
ffade67
fix the dataset converters
Dominic23331 Dec 3, 2022
1f5a33b
fix the transforms.py
Dominic23331 Dec 3, 2022
cfa2c22
fix the test_transform.py
Dominic23331 Dec 3, 2022
fa7a3da
fix the code style
Dominic23331 Dec 5, 2022
e6302f3
fix the transforms and tests
Dominic23331 Dec 5, 2022
ad470a3
Modify some expressions
pofengdenihong Dec 5, 2022
163277b
[Feature] Support Mask2former in MMSeg 1.x (#2255)
xiexinch Dec 5, 2022
f3db8d7
[Fix]Add input argument for datasets (#2379)
MeowZheng Dec 5, 2022
104a24d
changed parts of content
BLUE-coconut Dec 5, 2022
3bac6ef
Fix typo in warning on binary classification (#2382)
nulam Dec 6, 2022
750bb4f
Bump 1.0.0rc2 (#2384)
MeowZheng Dec 6, 2022
b0e57c6
Apply suggestions from code review
MeowZheng Dec 6, 2022
9750c97
Merge pull request #2371 from pofengdenihong/dev-1.x
MeowZheng Dec 6, 2022
8a3d6cd
[Doc] Add ZN datasets.md in dev-1.x
MengzhangLI Dec 6, 2022
3d1f8b7
modified
BLUE-coconut Dec 7, 2022
addd38d
fix typo
MengzhangLI Dec 7, 2022
372a6ce
Update docs/zh_cn/user_guides/4_train_test.md
BLUE-coconut Dec 7, 2022
c8e7f09
delete some test image
Dominic23331 Dec 9, 2022
b05a26e
Merge remote-tracking branch 'upstream/dev-1.x' into dev-1.x
Dominic23331 Dec 9, 2022
0fa5899
change mmseg/datasets/synapse.py file
Dominic23331 Dec 9, 2022
dc8aa35
CodeCamp #1562 [Doc] update `overview.md`
tianleiSHI Dec 10, 2022
dddf093
Update overview.md
tianleiSHI Dec 10, 2022
7edb141
Merge pull request #2355 from BLUE-coconut/master
MeowZheng Dec 12, 2022
b770884
Add torch1.13 in CI
xiexinch Dec 12, 2022
02030b1
use mim install mm packages
xiexinch Dec 12, 2022
d755707
Update docs/zh_cn/overview.md
tianleiSHI Dec 12, 2022
c2042f3
Update docs/zh_cn/overview.md
tianleiSHI Dec 12, 2022
fdd1b95
install all requirements
xiexinch Dec 12, 2022
7537987
Merge pull request #2397 from tianleiSHI/dev-1.x
MeowZheng Dec 12, 2022
492313b
install wheel
xiexinch Dec 13, 2022
815b24e
add ref
xiexinch Dec 13, 2022
d7b85aa
Merge pull request #2402 from xiexinch/add-torch1.13-in-ci-1.x
MeowZheng Dec 13, 2022
164fd3f
fix
MengzhangLI Dec 13, 2022
e88489e
fix
MengzhangLI Dec 13, 2022
eeee12e
Merge pull request #2387 from MengzhangLI/zn_datasets_1.x
MeowZheng Dec 13, 2022
f5b4c12
add example project
xiexinch Dec 15, 2022
81da7aa
add ci ignore
xiexinch Dec 15, 2022
532ff5b
DOC
tianleiSHI Dec 17, 2022
87b2c6f
Merge remote-tracking branch 'upstream/dev-1.x' into dev-1.x
Dominic23331 Dec 19, 2022
ece5e71
change synapse dataset style
Dominic23331 Dec 19, 2022
ab690bd
Update docs/zh_cn/get_started.md
tianleiSHI Dec 20, 2022
20f491c
change synapse dataset style
Dominic23331 Dec 20, 2022
ca68b00
Merge pull request #2417 from tianleiSHI/get_started_doc
MeowZheng Dec 20, 2022
074485a
fix test_transform.py code style
Dominic23331 Dec 20, 2022
534b27b
add version limits
xiexinch Dec 20, 2022
8539e22
Merge pull request #2412 from xiexinch/mmseg_projects
MeowZheng Dec 20, 2022
77f3470
fix dataset image
Dominic23331 Dec 21, 2022
60827ec
Merge remote-tracking branch 'upstream/dev-1.x' into dev-1.x
Dominic23331 Dec 21, 2022
5f1a6f1
fix doc code style
Dominic23331 Dec 21, 2022
3d113d3
Add Comments
Dominic23331 Dec 21, 2022
956d75f
change dataset mapping
Dominic23331 Dec 22, 2022
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
  •  
  •  
  •  
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2.1

# this allows you to use CircleCI's dynamic configuration feature
setup: true

# the path-filtering orb is required to continue a pipeline based on
# the path of an updated fileset
orbs:
path-filtering: circleci/path-filtering@0.1.2

workflows:
# the always-run workflow is always triggered, regardless of the pipeline parameters.
always-run:
jobs:
# the path-filtering/filter job determines which pipeline
# parameters to update.
- path-filtering/filter:
name: check-updated-files
# 3-column, whitespace-delimited mapping. One mapping per
# line:
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter>
mapping: |
mmseg/.* lint_only false
requirements/.* lint_only false
tests/.* lint_only false
tools/.* lint_only false
configs/.* lint_only false
.circleci/.* lint_only false
base-revision: dev-1.x
# 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
# configuration itself.
config-path: .circleci/test.yml
12 changes: 12 additions & 0 deletions .circleci/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

ARG PYTORCH="1.8.1"
ARG CUDA="10.2"
ARG CUDNN="7"

FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

# To fix GPG key error when running apt-get update
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx
190 changes: 190 additions & 0 deletions .circleci/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
version: 2.1

# the default pipeline parameters, which will be updated according to
# the results of the path-filtering orb
parameters:
lint_only:
type: boolean
default: true

jobs:
lint:
docker:
- image: cimg/python:3.7.4
steps:
- checkout
- run:
name: Install pre-commit hook
command: |
pip install pre-commit
pre-commit install
- run:
name: Linting
command: pre-commit run --all-files
- run:
name: Check docstring coverage
command: |
pip install interrogate
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-magic --ignore-regex "__repr__" --fail-under 75 mmseg
build_cpu:
parameters:
# The python version must match available image tags in
# https://circleci.com/developer/images/image/cimg/python
python:
type: string
torch:
type: string
torchvision:
type: string
docker:
- image: cimg/python:<< parameters.python >>
resource_class: large
steps:
- checkout
- run:
name: Install Libraries
command: |
sudo apt-get update
sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5
- run:
name: Configure Python & pip
command: |
pip install --upgrade pip
pip install wheel
- run:
name: Install PyTorch
command: |
python -V
pip install torch==<< parameters.torch >>+cpu torchvision==<< parameters.torchvision >>+cpu -f https://download.pytorch.org/whl/torch_stable.html
- run:
name: Install mmseg dependencies
command: |
pip install git+https://github.com/open-mmlab/mmengine.git@main
pip install -U openmim
mim install 'mmcv>=2.0.0rc3'
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
pip install -r requirements/tests.txt -r requirements/optional.txt
- 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 xml
python -m coverage report -m
build_cuda:
parameters:
torch:
type: string
cuda:
type: enum
enum: ["10.1", "10.2", "11.1"]
cudnn:
type: integer
default: 7
machine:
image: ubuntu-2004-cuda-11.4:202110-01
# docker_layer_caching: true
resource_class: gpu.nvidia.small
steps:
- checkout
- 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
- 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.0rc3'
docker exec mmseg pip install -e /mmclassification
docker exec mmseg pip install -e /mmdetection
docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt
- 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
workflows:
pr_stage_lint:
when: << pipeline.parameters.lint_only >>
jobs:
- lint:
name: lint
filters:
branches:
ignore:
- dev-1.x
- 1.x
- master
pr_stage_test:
when:
not:
<< pipeline.parameters.lint_only >>
jobs:
- lint:
name: lint
filters:
branches:
ignore:
- dev-1.x
- 1.x
- master
- build_cpu:
name: minimum_version_cpu
torch: 1.6.0
torchvision: 0.7.0
python: 3.6.9 # The lowest python 3.6.x version available on CircleCI images
requires:
- lint
- build_cpu:
name: maximum_version_cpu
torch: 1.13.0
torchvision: 0.14.0
python: 3.9.0
requires:
- minimum_version_cpu
- hold:
type: approval
requires:
- maximum_version_cpu
- build_cuda:
name: mainstream_version_gpu
torch: 1.8.1
# Use double quotation mark to explicitly specify its type
# as string instead of number
cuda: "10.2"
requires:
- hold
merge_stage_test:
when:
not:
<< pipeline.parameters.lint_only >>
jobs:
- build_cuda:
name: minimum_version_gpu
torch: 1.6.0
# Use double quotation mark to explicitly specify its type
# as string instead of number
cuda: "10.1"
filters:
branches:
only:
- dev-1.x
- 1.x
- master
133 changes: 133 additions & 0 deletions .dev/batch_test_list.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# yapf: disable
# Inference Speed is tested on NVIDIA V100
hrnet = [
dict(
config='configs/hrnet/fcn_hr18s_512x512_160k_ade20k.py',
checkpoint='fcn_hr18s_512x512_160k_ade20k_20200614_214413-870f65ac.pth', # noqa
eval='mIoU',
metric=dict(mIoU=33.0),
),
dict(
config='configs/hrnet/fcn_hr18s_512x1024_160k_cityscapes.py',
checkpoint='fcn_hr18s_512x1024_160k_cityscapes_20200602_190901-4a0797ea.pth', # noqa
eval='mIoU',
metric=dict(mIoU=76.31),
),
dict(
config='configs/hrnet/fcn_hr48_512x512_160k_ade20k.py',
checkpoint='fcn_hr48_512x512_160k_ade20k_20200614_214407-a52fc02c.pth',
eval='mIoU',
metric=dict(mIoU=42.02),
),
dict(
config='configs/hrnet/fcn_hr48_512x1024_160k_cityscapes.py',
checkpoint='fcn_hr48_512x1024_160k_cityscapes_20200602_190946-59b7973e.pth', # noqa
eval='mIoU',
metric=dict(mIoU=80.65),
),
]
pspnet = [
dict(
config='configs/pspnet/pspnet_r50-d8_512x1024_80k_cityscapes.py',
checkpoint='pspnet_r50-d8_512x1024_80k_cityscapes_20200606_112131-2376f12b.pth', # noqa
eval='mIoU',
metric=dict(mIoU=78.55),
),
dict(
config='configs/pspnet/pspnet_r101-d8_512x1024_80k_cityscapes.py',
checkpoint='pspnet_r101-d8_512x1024_80k_cityscapes_20200606_112211-e1e1100f.pth', # noqa
eval='mIoU',
metric=dict(mIoU=79.76),
),
dict(
config='configs/pspnet/pspnet_r101-d8_512x512_160k_ade20k.py',
checkpoint='pspnet_r101-d8_512x512_160k_ade20k_20200615_100650-967c316f.pth', # noqa
eval='mIoU',
metric=dict(mIoU=44.39),
),
dict(
config='configs/pspnet/pspnet_r50-d8_512x512_160k_ade20k.py',
checkpoint='pspnet_r50-d8_512x512_160k_ade20k_20200615_184358-1890b0bd.pth', # noqa
eval='mIoU',
metric=dict(mIoU=42.48),
),
]
resnest = [
dict(
config='configs/resnest/pspnet_s101-d8_512x512_160k_ade20k.py',
checkpoint='pspnet_s101-d8_512x512_160k_ade20k_20200807_145416-a6daa92a.pth', # noqa
eval='mIoU',
metric=dict(mIoU=45.44),
),
dict(
config='configs/resnest/pspnet_s101-d8_512x1024_80k_cityscapes.py',
checkpoint='pspnet_s101-d8_512x1024_80k_cityscapes_20200807_140631-c75f3b99.pth', # noqa
eval='mIoU',
metric=dict(mIoU=78.57),
),
]
fastscnn = [
dict(
config='configs/fastscnn/fast_scnn_lr0.12_8x4_160k_cityscapes.py',
checkpoint='fast_scnn_8x4_160k_lr0.12_cityscapes-0cec9937.pth',
eval='mIoU',
metric=dict(mIoU=70.96),
)
]
deeplabv3plus = [
dict(
config='configs/deeplabv3plus/deeplabv3plus_r101-d8_769x769_80k_cityscapes.py', # noqa
checkpoint='deeplabv3plus_r101-d8_769x769_80k_cityscapes_20200607_000405-a7573d20.pth', # noqa
eval='mIoU',
metric=dict(mIoU=80.98),
),
dict(
config='configs/deeplabv3plus/deeplabv3plus_r101-d8_512x1024_80k_cityscapes.py', # noqa
checkpoint='deeplabv3plus_r101-d8_512x1024_80k_cityscapes_20200606_114143-068fcfe9.pth', # noqa
eval='mIoU',
metric=dict(mIoU=80.97),
),
dict(
config='configs/deeplabv3plus/deeplabv3plus_r50-d8_512x1024_80k_cityscapes.py', # noqa
checkpoint='deeplabv3plus_r50-d8_512x1024_80k_cityscapes_20200606_114049-f9fb496d.pth', # noqa
eval='mIoU',
metric=dict(mIoU=80.09),
),
dict(
config='configs/deeplabv3plus/deeplabv3plus_r50-d8_769x769_80k_cityscapes.py', # noqa
checkpoint='deeplabv3plus_r50-d8_769x769_80k_cityscapes_20200606_210233-0e9dfdc4.pth', # noqa
eval='mIoU',
metric=dict(mIoU=79.83),
),
]
vit = [
dict(
config='configs/vit/upernet_vit-b16_ln_mln_512x512_160k_ade20k.py',
checkpoint='upernet_vit-b16_ln_mln_512x512_160k_ade20k-f444c077.pth',
eval='mIoU',
metric=dict(mIoU=47.73),
),
dict(
config='configs/vit/upernet_deit-s16_ln_mln_512x512_160k_ade20k.py',
checkpoint='upernet_deit-s16_ln_mln_512x512_160k_ade20k-c0cd652f.pth',
eval='mIoU',
metric=dict(mIoU=43.52),
),
]
fp16 = [
dict(
config='configs/deeplabv3plus/deeplabv3plus_r101-d8_fp16_512x1024_80k_cityscapes.py', # noqa
checkpoint='deeplabv3plus_r101-d8_fp16_512x1024_80k_cityscapes_20200717_230920-f1104f4b.pth', # noqa
eval='mIoU',
metric=dict(mIoU=80.46),
)
]
swin = [
dict(
config='configs/swin/upernet_swin_tiny_patch4_window7_512x512_160k_ade20k_pretrain_224x224_1K.py', # noqa
checkpoint='upernet_swin_tiny_patch4_window7_512x512_160k_ade20k_pretrain_224x224_1K_20210531_112542-e380ad3e.pth', # noqa
eval='mIoU',
metric=dict(mIoU=44.41),
)
]
# yapf: enable
19 changes: 19 additions & 0 deletions .dev/batch_train_list.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
configs/hrnet/fcn_hr18s_512x512_160k_ade20k.py
configs/hrnet/fcn_hr18s_512x1024_160k_cityscapes.py
configs/hrnet/fcn_hr48_512x512_160k_ade20k.py
configs/hrnet/fcn_hr48_512x1024_160k_cityscapes.py
configs/pspnet/pspnet_r50-d8_512x1024_80k_cityscapes.py
configs/pspnet/pspnet_r101-d8_512x1024_80k_cityscapes.py
configs/pspnet/pspnet_r101-d8_512x512_160k_ade20k.py
configs/pspnet/pspnet_r50-d8_512x512_160k_ade20k.py
configs/resnest/pspnet_s101-d8_512x512_160k_ade20k.py
configs/resnest/pspnet_s101-d8_512x1024_80k_cityscapes.py
configs/fastscnn/fast_scnn_lr0.12_8x4_160k_cityscapes.py
configs/deeplabv3plus/deeplabv3plus_r101-d8_769x769_80k_cityscapes.py
configs/deeplabv3plus/deeplabv3plus_r101-d8_512x1024_80k_cityscapes.py
configs/deeplabv3plus/deeplabv3plus_r50-d8_512x1024_80k_cityscapes.py
configs/deeplabv3plus/deeplabv3plus_r50-d8_769x769_80k_cityscapes.py
configs/vit/upernet_vit-b16_ln_mln_512x512_160k_ade20k.py
configs/vit/upernet_deit-s16_ln_mln_512x512_160k_ade20k.py
configs/deeplabv3plus/deeplabv3plus_r101-d8_fp16_512x1024_80k_cityscapes.py
configs/swin/upernet_swin_tiny_patch4_window7_512x512_160k_ade20k_pretrain_224x224_1K.py
Loading