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

[New model] Support CGNet #223

Merged
merged 21 commits into from
Nov 3, 2020
Merged

[New model] Support CGNet #223

merged 21 commits into from
Nov 3, 2020

Conversation

yamengxi
Copy link
Collaborator

@yamengxi yamengxi commented Nov 3, 2020

Based on #107

@codecov
Copy link

codecov bot commented Nov 3, 2020

Codecov Report

Merging #223 into master will increase coverage by 0.48%.
The diff coverage is 96.89%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
+ Coverage   83.69%   84.18%   +0.48%     
==========================================
  Files          89       90       +1     
  Lines        4128     4287     +159     
  Branches      651      680      +29     
==========================================
+ Hits         3455     3609     +154     
- Misses        535      537       +2     
- Partials      138      141       +3     
Flag Coverage Δ
unittests 84.18% <96.89%> (+0.48%) ⬆️

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

Impacted Files Coverage Δ
mmseg/models/backbones/cgnet.py 96.75% <96.75%> (ø)
mmseg/models/backbones/__init__.py 100.00% <100.00%> (ø)
mmseg/models/decode_heads/fcn_head.py 100.00% <100.00%> (ø)

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 8a174a3...3b76125. Read the comment docs.

@hellock
Copy link
Member

hellock commented Nov 3, 2020

Task linked: CU-4huttc 支持CGNet

@@ -0,0 +1,35 @@
# model settings
Copy link
Collaborator

Choose a reason for hiding this comment

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

We may rename this file to cgnet.py.


| Method | Backbone | Crop Size | Lr schd | Mem (GB) | Inf time (fps) | mIoU | mIoU(ms+flip) | download |
|-----------|----------|-----------|--------:|----------|----------------|------:|--------------:|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CGNet | M3N21 | 680x680 | 60000 | 7.5 | 16.03 | 65.63 | 68.04 | [model](https://openmmlab.oss-accelerate.aliyuncs.com/mmsegmentation/v0.5/cgnet/cgnet_680x680_60k_cityscapes/cgnet_680x680_60k_cityscapes_20201101_110253-4c0b2f2d.pth) &#124; [log](https://openmmlab.oss-accelerate.aliyuncs.com/mmsegmentation/v0.5/cgnet/cgnet_680x680_60k_cityscapes/cgnet_680x680_60k_cityscapes-20201101_110253.log.json) |
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use https://download.openmmlab.com instead.


Args:
in_channels (int): Number of input image channels. Normally 3.
num_channels (list[int]): Numbers of feature channels at each stages.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use tuple instead.

@xvjiarui xvjiarui changed the title New cgnet [New model] Support CGNet Nov 3, 2020
@xvjiarui xvjiarui merged commit f5eb7f2 into open-mmlab:master Nov 3, 2020
bowenroom pushed a commit to bowenroom/mmsegmentation that referenced this pull request Feb 25, 2022
* added cgnet

* added testing for cgnet

* git test

* add cgnet

* fix __init__

* rename FGlo with GlobalContextExtractor

* add readme.md and rename bn with norm

* delete cg_head

* fix a language mistake

* rename cgnet_m3n21.py to cgnet.py

* modify README.md

* modify list to tuple

* add fcn_head test

* add assert to fcn_head

* blank

* fix fcn_head assert bug

* add

* add cgnet to README.md and model_zoo.md

* modify cgnet README.md

Co-authored-by: KID <wps_@mail.nankai.edu.cn>
aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this pull request Mar 27, 2023
* split tests_modeling_utils

* Fix SD tests .to(device)

* fix merge

* Fix style

Co-authored-by: anton-l <anton@huggingface.co>
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this pull request Dec 3, 2023
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.

4 participants