mmrazor/tests/test_models/test_algorithms
Yue Sun fb42405af8
[Feature] Add Autoformer algorithm (#315)
* update candidates

* update subnet_sampler_loop

* update candidate

* add readme

* rename variable

* rename variable

* clean

* update

* add doc string

* Revert "[Improvement] Support for candidate multiple dimensional search constraints."

* [Improvement] Update Candidate with multi-dim search constraints. (#322)

* update doc

* add support type

* clean code

* update candidates

* clean

* xx

* set_resource -> set_score

* fix ci bug

* py36 lint

* fix bug

* fix check constrain

* py36 ci

* redesign candidate

* fix pre-commit

* update cfg

* add build_resource_estimator

* fix ci bug

* remove runner.epoch in testcase

* [Feature] Autoformer architecture and dynamicOPs (#327)

* add DynamicSequential

* dynamiclayernorm

* add dynamic_pathchembed

* add DynamicMultiheadAttention and DynamicRelativePosition2D

* add channel-level dynamicOP

* add autoformer algo

* clean notes

* adapt channel_mutator

* vit fly

* fix import

* mutable init

* remove annotation

* add DynamicInputResizer

* add unittest for mutables

* add OneShotMutableChannelUnit_VIT

* clean code

* reset unit for vit

* remove attr

* add autoformer backbone UT

* add valuemutator UT

* clean code

* add autoformer algo UT

* update classifier UT

* fix test error

* ignore

* make lint

* update

* fix lint

* mutable_attrs

* fix test

* fix error

* remove DynamicInputResizer

* fix test ci

* remove InputResizer

* rename variables

* modify type

* Continued improvements of ChannelUnit

* fix lint

* fix lint

* remove OneShotMutableChannelUnit

* adjust derived type

* combination mixins

* clean code

* fix sample subnet

* search loop fly

* more annotations

* avoid counter warning and modify batch_augment cfg by gy

* restore

* source_value_mutables restriction

* simply arch_setting api

* update

* clean

* fix ut
2022-11-14 13:01:04 +08:00
..
__init__.py merge pruning into dev-1.x (#312) 2022-10-10 17:30:25 +08:00
test_autoformer.py [Feature] Add Autoformer algorithm (#315) 2022-11-14 13:01:04 +08:00
test_autoslim.py merge pruning into dev-1.x (#312) 2022-10-10 17:30:25 +08:00
test_base_algorithm.py [Fix] Adapt latest mmcv (#253) 2022-08-29 20:34:51 +08:00
test_darts.py [Refactor] Refactor Mutables and Mutators (#324) 2022-11-01 12:49:42 +08:00
test_datafree_distill.py [Fix] Adapt latest mmcv (#253) 2022-08-29 20:34:51 +08:00
test_dsnas.py [Refactor] Refactor Mutables and Mutators (#324) 2022-11-01 12:49:42 +08:00
test_ofd_algo.py merge pruning into dev-1.x (#312) 2022-10-10 17:30:25 +08:00
test_prune_algorithm.py [Refactor] Refactor Mutables and Mutators (#324) 2022-11-01 12:49:42 +08:00
test_self_distill.py
test_single_teacher_distill.py merge pruning into dev-1.x (#312) 2022-10-10 17:30:25 +08:00
test_slimmable_network.py merge pruning into dev-1.x (#312) 2022-10-10 17:30:25 +08:00
test_spos.py [Refactor] Refactor Mutables and Mutators (#324) 2022-11-01 12:49:42 +08:00
toy_models.py [feature] add `A Comprehensive Overhaul of Feature Distillation` (#244) 2022-08-29 14:06:58 +08:00