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

Add class weight #509

Merged
merged 25 commits into from
Jan 4, 2021
Merged

Conversation

kennymckormick
Copy link
Member

@kennymckormick kennymckormick commented Jan 4, 2021

  1. Add class_weight for CrossEntropyLoss and BCELossWithLogits
  2. switch mmcv to 1.2.4 in CI

@codecov
Copy link

codecov bot commented Jan 4, 2021

Codecov Report

Merging #509 (8a28890) into master (e40df88) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #509      +/-   ##
==========================================
+ Coverage   84.73%   84.76%   +0.03%     
==========================================
  Files         120      120              
  Lines        8407     8424      +17     
  Branches     1373     1377       +4     
==========================================
+ Hits         7124     7141      +17     
  Misses        935      935              
  Partials      348      348              
Flag Coverage Δ
unittests 84.75% <100.00%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
mmaction/models/losses/cross_entropy_loss.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 e40df88...8a28890. Read the comment docs.

@innerlee innerlee merged commit 6df7018 into open-mmlab:master Jan 4, 2021
@kennymckormick kennymckormick deleted the add_class_weight branch January 15, 2021 14:33
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.

None yet

2 participants