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 the bug in shape bias #717

Merged
merged 3 commits into from Mar 9, 2023

Conversation

YuanLiuuuuuu
Copy link
Collaborator

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here and update the documentation.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
  • CLA has been signed and all committers have signed the CLA in this PR.

@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Patch coverage: 80.98% and project coverage change: -1.26 ⚠️

Comparison is base (a1f1dad) 81.84% compared to head (ce94a61) 80.59%.

❗ Current head ce94a61 differs from pull request most recent head 35ef9a2. Consider uploading reports for the commit 35ef9a2 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           dev-1.x     #717      +/-   ##
===========================================
- Coverage    81.84%   80.59%   -1.26%     
===========================================
  Files          120      141      +21     
  Lines         4176     5127     +951     
  Branches       586      687     +101     
===========================================
+ Hits          3418     4132     +714     
- Misses         645      855     +210     
- Partials       113      140      +27     
Flag Coverage Δ
unittests 80.59% <80.98%> (-1.26%) ⬇️

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

Impacted Files Coverage Δ
mmselfsup/datasets/transforms/__init__.py 100.00% <ø> (ø)
mmselfsup/datasets/transforms/wrappers.py 100.00% <ø> (ø)
mmselfsup/engine/hooks/deepcluster_hook.py 38.88% <0.00%> (-0.55%) ⬇️
mmselfsup/engine/optimizers/lars.py 16.12% <ø> (ø)
mmselfsup/models/algorithms/odc.py 31.70% <ø> (ø)
mmselfsup/models/backbones/mae_vit.py 100.00% <ø> (ø)
mmselfsup/models/backbones/simmim_swin.py 86.95% <ø> (ø)
mmselfsup/models/heads/latent_heads.py 100.00% <ø> (ø)
mmselfsup/models/losses/swav_loss.py 83.01% <ø> (ø)
mmselfsup/models/necks/densecl_neck.py 85.71% <ø> (ø)
... and 76 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

projects/shape_bias/toy_example.py Outdated Show resolved Hide resolved
@fangyixiao18 fangyixiao18 merged commit 5efb4f4 into open-mmlab:dev-1.x Mar 9, 2023
7 of 8 checks passed
@YuanLiuuuuuu YuanLiuuuuuu deleted the shape_bias branch March 10, 2023 01:47
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

3 participants