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

[Fix] Fix a warning caused by torch.div #2449

Merged
merged 4 commits into from May 6, 2023
Merged

Conversation

Dai-Wenxun
Copy link
Collaborator

Motivation

Fix a warning caused by torch.div. See issue #2446.

@Dai-Wenxun Dai-Wenxun mentioned this pull request May 5, 2023
3 tasks
@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Patch coverage: 91.66% and project coverage change: -0.02 ⚠️

Comparison is base (07259a2) 76.97% compared to head (dc2dc08) 76.95%.

❗ Current head dc2dc08 differs from pull request most recent head 50fd192. Consider uploading reports for the commit 50fd192 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2449      +/-   ##
==========================================
- Coverage   76.97%   76.95%   -0.02%     
==========================================
  Files         159      159              
  Lines       12546    12546              
  Branches     2099     2099              
==========================================
- Hits         9657     9655       -2     
- Misses       2386     2387       +1     
- Partials      503      504       +1     
Flag Coverage Δ
unittests 76.95% <91.66%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
mmaction/models/heads/base.py 80.95% <ø> (ø)
mmaction/models/utils/blending_utils.py 90.42% <77.77%> (-1.71%) ⬇️
mmaction/__init__.py 100.00% <100.00%> (ø)
mmaction/evaluation/metrics/acc_metric.py 81.29% <100.00%> (-0.70%) ⬇️
mmaction/models/losses/cross_entropy_loss.py 65.27% <100.00%> (+0.48%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cir7 cir7 merged commit c79dba9 into open-mmlab:main May 6, 2023
10 of 14 checks passed
@Dai-Wenxun Dai-Wenxun deleted the fix branch May 6, 2023 07:04
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