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

Bump version to v0.3.0 #135

Merged
merged 14 commits into from
Apr 2, 2022
Merged

Bump version to v0.3.0 #135

merged 14 commits into from
Apr 2, 2022

Conversation

pppppM
Copy link
Collaborator

@pppppM pppppM commented Apr 2, 2022

Motivation

Bump version to v0.3.0

wutongshenqiu and others added 13 commits March 8, 2022 11:38
* add init_model function for mmdeploy

* fix lint

* add unittest for init_xxx_model

* fix lint

* mv test_inference.py to test_apis directory
* add init_model function for mmdeploy

* fix lint

* add unittest for init_xxx_model

* fix lint

* mv test_inference.py to test_apis directory
* refactor set_random_seed

* add unittests

* fix unittests error

* fix lint

* avoid bc breaking
…nit_fn (#113)

* add init_random_seed

* Set diff seed to diff workers
* support multi nodes

* update training doc

* fix lints

* remove fixed seed
* Add brief installation

* add brief installtion ref to mmediting pr#816

Co-authored-by: caoweihan <[email protected]>
* fix bugs in pruner when pruning models with shared modules

* pruner can trace models with dilation conv2d

* fix deploy_subnet

* fix add_pruning_attrs

* fix bugs in modify_forward

* fix lint

* fix StructurePruner

* test tracing models with shared modules

Co-authored-by: caoweihan <[email protected]>
* add docs for dataset

* add cfg-options for distillation

* fix docs

Co-authored-by: caoweihan <[email protected]>
@codecov
Copy link

codecov bot commented Apr 2, 2022

Codecov Report

Merging #135 (de4dd13) into master (81e0e34) will increase coverage by 7.84%.
The diff coverage is 76.27%.

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
+ Coverage   58.46%   66.31%   +7.84%     
==========================================
  Files          87       92       +5     
  Lines        3154     3369     +215     
  Branches      581      613      +32     
==========================================
+ Hits         1844     2234     +390     
+ Misses       1223     1033     -190     
- Partials       87      102      +15     
Flag Coverage Δ
unittests 66.28% <76.27%> (+7.84%) ⬆️

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

Impacted Files Coverage Δ
mmrazor/apis/mmcls/train.py 27.50% <50.00%> (+27.50%) ⬆️
mmrazor/apis/mmdet/inference.py 51.51% <51.51%> (ø)
mmrazor/apis/mmcls/inference.py 55.17% <55.17%> (ø)
mmrazor/apis/utils.py 56.00% <56.00%> (ø)
mmrazor/apis/mmseg/inference.py 65.21% <65.21%> (ø)
mmrazor/apis/mmdet/train.py 25.97% <66.66%> (+25.97%) ⬆️
mmrazor/models/losses/relational_kd.py 94.82% <94.82%> (ø)
mmrazor/models/pruners/structure_pruning.py 89.53% <95.23%> (+1.14%) ⬆️
mmrazor/apis/__init__.py 100.00% <100.00%> (+100.00%) ⬆️
mmrazor/apis/mmcls/__init__.py 100.00% <100.00%> (+100.00%) ⬆️
... and 38 more

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 81e0e34...de4dd13. Read the comment docs.

Copy link
Contributor

@wutongshenqiu wutongshenqiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@wutongshenqiu wutongshenqiu self-requested a review April 2, 2022 11:12
Copy link
Contributor

@wutongshenqiu wutongshenqiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pr open-mmlab/mmrazor#127 seems not merged to dev_v0.3.0 yet.

* add rkd

* add rkd pytest

* add rkd configs

* fix readme

* fix rkd

* split rkd loss to distance-wise and angle-wise losses

* rename rkd losses

* add rkd metaflie

* add rkd related links

* rename rkd metafile and add to model index

* delete cifar100

Co-authored-by: caoweihan <[email protected]>
Co-authored-by: pppppM <[email protected]>
@pppppM pppppM merged commit 49f1bee into master Apr 2, 2022
pppppM added a commit that referenced this pull request Apr 2, 2022
pppppM added a commit to pppppM/mmrazor that referenced this pull request Jul 15, 2022
* [Feature] Add function to meet mmdeploy support (open-mmlab#102)

* add init_model function for mmdeploy

* fix lint

* add unittest for init_xxx_model

* fix lint

* mv test_inference.py to test_apis directory

* [Feature] Add function to meet mmdeploy support (open-mmlab#102)

* add init_model function for mmdeploy

* fix lint

* add unittest for init_xxx_model

* fix lint

* mv test_inference.py to test_apis directory

* [Refactor] Delete redundant `set_random_seed` function (open-mmlab#104)

* refactor set_random_seed

* add unittests

* fix unittests error

* fix lint

* avoid bc breaking

* [Feature] Add diff seeds to diff ranks and set torch seed in worker_init_fn (open-mmlab#113)

* add init_random_seed

* Set diff seed to diff workers

* [Feature] Add multi machine dist_train (open-mmlab#114)

* support multi nodes

* update training doc

* fix lints

* remove fixed seed

* fix ddp wrapper registry (open-mmlab#128)

* [Docs] Add brief installation steps in README(_zh-CN).md (open-mmlab#121)

* Add brief installation

* add brief installtion ref to mmediting pr#816

Co-authored-by: caoweihan <[email protected]>

* [BUG]Fix bugs in pruner (open-mmlab#126)

* fix bugs in pruner when pruning models with shared modules

* pruner can trace models with dilation conv2d

* fix deploy_subnet

* fix add_pruning_attrs

* fix bugs in modify_forward

* fix lint

* fix StructurePruner

* test tracing models with shared modules

Co-authored-by: caoweihan <[email protected]>

* [Docs]Add some more details to docs (open-mmlab#133)

* add docs for dataset

* add cfg-options for distillation

* fix docs

Co-authored-by: caoweihan <[email protected]>

* reset norm running status after prepare_from_supernet (open-mmlab#81)

* [Improvement]Sync train api (open-mmlab#115)

Co-authored-by: caoweihan <[email protected]>

* [Feature]Support Relational Knowledge Distillation (open-mmlab#127)

* add rkd

* add rkd pytest

* add rkd configs

* fix readme

* fix rkd

* split rkd loss to distance-wise and angle-wise losses

* rename rkd losses

* add rkd metaflie

* add rkd related links

* rename rkd metafile and add to model index

* delete cifar100

Co-authored-by: caoweihan <[email protected]>
Co-authored-by: pppppM <[email protected]>

Co-authored-by: qiufeng <[email protected]>
Co-authored-by: wutongshenqiu <[email protected]>
Co-authored-by: whcao <[email protected]>
Co-authored-by: caoweihan <[email protected]>
pppppM added a commit to pppppM/mmrazor that referenced this pull request Jul 15, 2022
* [Feature] Add function to meet mmdeploy support (open-mmlab#102)

* add init_model function for mmdeploy

* fix lint

* add unittest for init_xxx_model

* fix lint

* mv test_inference.py to test_apis directory

* [Feature] Add function to meet mmdeploy support (open-mmlab#102)

* add init_model function for mmdeploy

* fix lint

* add unittest for init_xxx_model

* fix lint

* mv test_inference.py to test_apis directory

* [Refactor] Delete redundant `set_random_seed` function (open-mmlab#104)

* refactor set_random_seed

* add unittests

* fix unittests error

* fix lint

* avoid bc breaking

* [Feature] Add diff seeds to diff ranks and set torch seed in worker_init_fn (open-mmlab#113)

* add init_random_seed

* Set diff seed to diff workers

* [Feature] Add multi machine dist_train (open-mmlab#114)

* support multi nodes

* update training doc

* fix lints

* remove fixed seed

* fix ddp wrapper registry (open-mmlab#128)

* [Docs] Add brief installation steps in README(_zh-CN).md (open-mmlab#121)

* Add brief installation

* add brief installtion ref to mmediting pr#816

Co-authored-by: caoweihan <[email protected]>

* [BUG]Fix bugs in pruner (open-mmlab#126)

* fix bugs in pruner when pruning models with shared modules

* pruner can trace models with dilation conv2d

* fix deploy_subnet

* fix add_pruning_attrs

* fix bugs in modify_forward

* fix lint

* fix StructurePruner

* test tracing models with shared modules

Co-authored-by: caoweihan <[email protected]>

* [Docs]Add some more details to docs (open-mmlab#133)

* add docs for dataset

* add cfg-options for distillation

* fix docs

Co-authored-by: caoweihan <[email protected]>

* reset norm running status after prepare_from_supernet (open-mmlab#81)

* [Improvement]Sync train api (open-mmlab#115)

Co-authored-by: caoweihan <[email protected]>

* [Feature]Support Relational Knowledge Distillation (open-mmlab#127)

* add rkd

* add rkd pytest

* add rkd configs

* fix readme

* fix rkd

* split rkd loss to distance-wise and angle-wise losses

* rename rkd losses

* add rkd metaflie

* add rkd related links

* rename rkd metafile and add to model index

* delete cifar100

Co-authored-by: caoweihan <[email protected]>
Co-authored-by: pppppM <[email protected]>

Co-authored-by: qiufeng <[email protected]>
Co-authored-by: wutongshenqiu <[email protected]>
Co-authored-by: whcao <[email protected]>
Co-authored-by: caoweihan <[email protected]>
humu789 pushed a commit to humu789/mmrazor that referenced this pull request Feb 13, 2023
* Add tests

* lint

* add data

* Remove redundant code
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.

3 participants