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

[Feature] Support ICNet #863

Closed
wants to merge 9 commits into from
Closed

Conversation

Junjun2016
Copy link
Collaborator

@Junjun2016 Junjun2016 commented Sep 8, 2021

Support ICNet

  • Refactor
  • Add benchmark
  • Add unittests

@Junjun2016 Junjun2016 mentioned this pull request Sep 8, 2021
@codecov
Copy link

codecov bot commented Sep 8, 2021

Codecov Report

Merging #863 (cf1965e) into master (56e18ba) will increase coverage by 0.03%.
The diff coverage is 91.07%.

❗ Current head cf1965e differs from pull request most recent head e53a1fb. Consider uploading reports for the commit e53a1fb to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #863      +/-   ##
==========================================
+ Coverage   89.02%   89.06%   +0.03%     
==========================================
  Files         111      113       +2     
  Lines        6043     6147     +104     
  Branches      969      974       +5     
==========================================
+ Hits         5380     5475      +95     
- Misses        467      476       +9     
  Partials      196      196              
Flag Coverage Δ
unittests 89.06% <91.07%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmseg/models/decode_heads/ic_head.py 83.33% <83.33%> (ø)
mmseg/models/backbones/icnet.py 97.50% <97.50%> (ø)
mmseg/__init__.py 90.32% <100.00%> (ø)
mmseg/datasets/custom.py 92.43% <100.00%> (+0.34%) ⬆️
mmseg/models/backbones/__init__.py 100.00% <100.00%> (ø)
mmseg/models/decode_heads/__init__.py 100.00% <100.00%> (ø)
mmseg/datasets/pipelines/loading.py 98.52% <0.00%> (+1.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56e18ba...e53a1fb. Read the comment docs.

@MengzhangLI
Copy link
Contributor

@Junjun2016
Copy link
Collaborator Author

Can find more results here.

uni19 and others added 4 commits September 14, 2021 19:16
…nd (open-mmlab#867)

* support load gt for evaluation from multi-backend

* move some code from get_gt_seg_maps to get_one_gt_seg_map

* rename gt_seg_map_loader_conf to gt_seg_map_loader_cfg

* fix doc str

* rename get_one_gt_seg_map to get_gt_seg_map_by_idx
* [Fix] Convert SyncBN to BN when training on DP.

* Modify SyncBN2BN.

* Add SyncBN2BN unit test.

* Resolve some comments.

* use mmcv official revert_sync_batchnorm

* Remove local syncbn2bn unit tests.

* Update mmcv version.

* Fix bugs of gather model tools.

* Modify warnings.

* Modify docker mmcv version.

* Update mmcv version table.
@@ -0,0 +1,36 @@
# Icnet for real-time semantic segmentation on high-resolution images
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Icnet for real-time semantic segmentation on high-resolution images
# ICNet for real-time semantic segmentation on high-resolution images


| Method | Backbone | Crop Size | Lr schd | Mem (GB) | Inf time (fps) | mIoU | mIoU(ms+flip) | config | download |
| ------ | ---------- | --------- | ------: | -------- | -------------- | ----: | ------------: | -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ICNet | R-18-D8 | 832x832 | 80000 | 1.87 | 40.66 | 66.92 | 69.43 | [config](https://github.com/open-mmlab/mmsegmentation/blob/master/configs/icnet/icnet_r18-d8_832x832_80k_cityscapes.py) | [model](https://download.openmmlab.com/mmsegmentation/v0.5/fcn/fcn_r50-d8_512x1024_40k_cityscapes/fcn_r50-d8_512x1024_40k_cityscapes_20200604_192608-efe53f0d.pth) &#124; [log](https://download.openmmlab.com/mmsegmentation/v0.5/fcn/fcn_r50-d8_512x1024_40k_cityscapes/fcn_r50-d8_512x1024_40k_cityscapes_20200604_192608.log.json) |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can Aevrage fps.

@MengzhangLI
Copy link
Contributor

This PR is ended, please review new PR instead: #884

@xvjiarui xvjiarui closed this Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants