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] tversky loss #634

Closed
wants to merge 3 commits into from

Conversation

MengzhangLI
Copy link
Contributor

Adding tversky loss.

Not too much difference with original dice_loss.py, just adding weight on false positives and false negatives.

@codecov
Copy link

codecov bot commented Jun 23, 2021

Codecov Report

Merging #634 (188e7e1) into master (3e70d93) will increase coverage by 0.34%.
The diff coverage is 98.75%.

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

@@            Coverage Diff             @@
##           master     #634      +/-   ##
==========================================
+ Coverage   85.57%   85.91%   +0.34%     
==========================================
  Files         101      104       +3     
  Lines        5226     5360     +134     
  Branches      842      862      +20     
==========================================
+ Hits         4472     4605     +133     
  Misses        583      583              
- Partials      171      172       +1     
Flag Coverage Δ
unittests 85.91% <98.75%> (+0.34%) ⬆️

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

Impacted Files Coverage Δ
mmseg/datasets/pipelines/transforms.py 97.12% <ø> (ø)
mmseg/models/utils/__init__.py 100.00% <ø> (ø)
mmseg/models/backbones/vit.py 85.87% <66.66%> (-0.80%) ⬇️
mmseg/models/decode_heads/__init__.py 100.00% <100.00%> (ø)
mmseg/models/decode_heads/setr_mla_head.py 100.00% <100.00%> (ø)
mmseg/models/decode_heads/setr_up_head.py 100.00% <100.00%> (ø)
mmseg/models/losses/__init__.py 100.00% <100.00%> (ø)
mmseg/models/losses/tversky_loss.py 100.00% <100.00%> (ø)
mmseg/models/necks/__init__.py 100.00% <100.00%> (ø)
mmseg/models/necks/mla_neck.py 100.00% <100.00%> (ø)
... and 4 more

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 3e70d93...5ba5acd. Read the comment docs.

@MengzhangLI
Copy link
Contributor Author

Because creating new PR, so this old version is closed.

@MengzhangLI MengzhangLI deleted the tversky_loss branch February 1, 2022 03:16
aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this pull request Mar 27, 2023
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this pull request Dec 3, 2023
* support mmcli

* 3D -> 2D

* add paper

* specify paper for each model

* modify MANIFEST.in

* mmtrack 0.5.1 -> 0.5.0

* override paper
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.

1 participant