open-mmlab / mmselfsup

OpenMMLab Self-Supervised Learning Toolbox and Benchmark
https://mmselfsup.readthedocs.io/en/latest/
Apache License 2.0
3.18k stars 428 forks source link

[Feature] Add SparK #698

Closed fangyixiao18 closed 1 year ago

fangyixiao18 commented 1 year ago

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:

After PR:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -6.19 :warning:

Comparison is base (a1f1dad) 81.84% compared to head (d2e078c) 75.65%.

:exclamation: Current head d2e078c differs from pull request most recent head c09b9f2. Consider uploading reports for the commit c09b9f2 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-1.x #698 +/- ## =========================================== - Coverage 81.84% 75.65% -6.19% =========================================== Files 120 153 +33 Lines 4176 5723 +1547 Branches 586 781 +195 =========================================== + Hits 3418 4330 +912 - Misses 645 1251 +606 - Partials 113 142 +29 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `75.65% <ø> (-6.19%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab) | Coverage Δ | | |---|---|---| | [mmselfsup/\_\_init\_\_.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [mmselfsup/apis/\_\_init\_\_.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2FwaXMvX19pbml0X18ucHk=) | `100.00% <ø> (ø)` | | | [mmselfsup/apis/inference.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2FwaXMvaW5mZXJlbmNlLnB5) | `50.00% <ø> (+1.21%)` | :arrow_up: | | [mmselfsup/datasets/image\_list\_dataset.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL2ltYWdlX2xpc3RfZGF0YXNldC5weQ==) | `100.00% <ø> (+67.74%)` | :arrow_up: | | [mmselfsup/datasets/samplers/deepcluster\_sampler.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL3NhbXBsZXJzL2RlZXBjbHVzdGVyX3NhbXBsZXIucHk=) | `95.83% <ø> (ø)` | | | [mmselfsup/datasets/transforms/\_\_init\_\_.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL3RyYW5zZm9ybXMvX19pbml0X18ucHk=) | `100.00% <ø> (ø)` | | | [mmselfsup/datasets/transforms/formatting.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL3RyYW5zZm9ybXMvZm9ybWF0dGluZy5weQ==) | `95.31% <ø> (+0.23%)` | :arrow_up: | | [mmselfsup/datasets/transforms/processing.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL3RyYW5zZm9ybXMvcHJvY2Vzc2luZy5weQ==) | `89.22% <ø> (ø)` | | | [mmselfsup/datasets/transforms/pytorch\_transform.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL3RyYW5zZm9ybXMvcHl0b3JjaF90cmFuc2Zvcm0ucHk=) | `100.00% <ø> (ø)` | | | [mmselfsup/datasets/transforms/wrappers.py](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1zZWxmc3VwL2RhdGFzZXRzL3RyYW5zZm9ybXMvd3JhcHBlcnMucHk=) | `100.00% <ø> (ø)` | | | ... and [21 more](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab) | | ... and [51 files with indirect coverage changes](https://codecov.io/gh/open-mmlab/mmselfsup/pull/698/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab)

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