Skip to content

Conversation

@MengzhangLI
Copy link
Contributor

In previous version of MMSegmentation, the loss_decode is a dict.

When using multiple losses pipeline, it is changed to nn.ModuleList() where each loss would be appended. It would raise BC-Breaking problem.

Thus, we change it back to dict of single loss situation.

@MengzhangLI MengzhangLI self-assigned this Oct 28, 2021
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.75%. Comparing base (93f8b14) to head (37e43da).
Report is 310 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1002      +/-   ##
==========================================
- Coverage   89.85%   89.75%   -0.11%     
==========================================
  Files         118      118              
  Lines        6558     6578      +20     
  Branches     1019     1024       +5     
==========================================
+ Hits         5893     5904      +11     
- Misses        464      473       +9     
  Partials      201      201              
Flag Coverage Δ
unittests 89.75% <100.00%> (-0.11%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@xvjiarui xvjiarui left a comment

Choose a reason for hiding this comment

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

LGTM

@Junjun2016 Junjun2016 merged commit 349fc2d into open-mmlab:master Nov 1, 2021
@MengzhangLI MengzhangLI deleted the single_loss_module branch February 1, 2022 03:17
bowenroom pushed a commit to bowenroom/mmsegmentation that referenced this pull request Feb 25, 2022
…on. (open-mmlab#1002)

* fix single loss type

* fix error in ohem & point_head

* fix coverage miss

* fix uncoverage error of PointHead loss

* fix coverage miss

* fix uncoverage error of PointHead loss

* nn.modules.container.ModuleList to nn.ModuleList

* more simple format

* merge unittest def
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