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

Mmcv-and-mmcls-compatible #1

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open

Conversation

ccanamero
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.

mzr1996 and others added 30 commits June 22, 2022 17:28
* [Feature] Support MPS device.

* Add `auto_select_device`

* Add unit tests
* Fix albu BUG: using albu will cause the label from array(x) to array([x]) and crash the trainning

* Fix common

* Using copy incase potential bug in multi-label tasks

* Improve coding

* Improve code logic

* Add unit test

* Fix typo

* Fix yapf
* [Feature] Support MViT.

* Add MViT configs and docs

* Add unit test

* Fix unit tests.
* init rough try for modify

* Init swin transform v2

* lint

* reformat

* init config

* refactor

* update config

* fix test

* add doc

* refact

* add model meta

* rename config

* add doc

* fix meta model name

* restruct

* rename embed_bims to out_channels

* fix ut and update model
* [Fix] Fix the output position of Swin-Transformer.

* Rename `downsample` argument to `do_downsample`.
* Support CSRA head.

* Add CSRA config.

* Improve training scheduler and Update cfg, ckpt, log

* Update metafile

* Rename config files and checkpoints

Co-authored-by: Ezra-Yu <[email protected]>
Co-authored-by: mzr1996 <[email protected]>
* Update regnet.py

In the example comment to print out the different layers of outputs, we need to indicate the `out_indices` to (0,1,2,3) to see all backbone layers output as the default argument is (3,)

* Update regnet.py

following changes proposal of maintainer

* fix linting

* fix blank space for docs

* fix blank space for docs

* fix blank space for docs
…pen-mmlab#964)

* fix precise BN hook when using MLU

* fix unit tests
* feat: add stanford car dataset

* feat: add stanford car dataset

* feat: add stanford car dataset

* feat: add stanford car dataset

* feat: add stanford car dataset

* feat: add stanford car dataset

* Update links and using cars insteam of car

* place ependency scipy from runtime to optional

* Fix docstring

Co-authored-by: Ezra-Yu <[email protected]>
Co-authored-by: mzr1996 <[email protected]>
* add efficient backbone

* Update Readme and metafile

* Add unit tests

* fix confict

* fix lint

* update efficientformer head unit tests

* update README

* fix unit test

* fix Readme

* fix example

* fix typo

* recover api modification

* Update EfficiemtFormer Backbone

* fix unit tests

* add efficientformer to readme and model zoo
* [Improve] Use `forward_dummy` to calculate FLOPS. (open-mmlab#953)

* fixed

Co-authored-by: Ming-Hsuan-Tu <[email protected]>
…mmlab#1032)

* [Feature] update the issue template with more links and emoji

* fix lint error

* Use yaml format issue templates.

* Update template

Co-authored-by: mzr1996 <[email protected]>
* update van

* fix init

* b4 result

* update van

* keep old config

* keep old config

* fix metafile

* update VAN configs

* update example

Co-authored-by: Ezra-Yu <[email protected]>
* add hornet

* add hornet

* add hornet

* add hornet

* add hornet

* add hornet

* add hornet

* fix test for torch before 1.7.0

* del timm

* fix readme

* fix readme

* Update mmcls/models/backbones/hornet.py

Co-authored-by: Ezra-Yu <[email protected]>

* fix docs

* fix docs

* s -> scale

* fix dims and dpr impl

* fix layer scale

* refactor gnconv

* add dw_cfg

* add convert tools

* update code

* update docs

* update readme

* update URLs

Co-authored-by: Ezra-Yu <[email protected]>
mzr1996 and others added 30 commits November 1, 2022 14:19
…mlab#901)

* futher detail for the doc for datasets/dataset_wrappers/ClassBalancedDataset

* fix
* [Docs] Fixed typo in pytorch2torchscript.md

* [Docs] Fixed W293 blank line contains whitespace
…1152)

* Support Activation Checkpointing for ConvNeXt

* Add test case

* Lint

* Add docstring
…ts. (open-mmlab#1218)

* update npu results

* add dist_train_arm.sh & updata docs

* del content
* [Improve]Enable binary operators on the NPU.

* Update docs link

---------

Co-authored-by: mzr1996 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.