30 Commits

Author SHA1 Message Date
Ma Zerun
a8f4f82b8e
[Enhance] Improve downstream repositories compatibility (#421)
* Defaults to return tuple in all backbones.

* Compat downstream of swin transformer.

* Support tuple input for multi label head and stacked head.

* Fix backbone unit tests for tuple output.

* Add downstream inference unit tests for mmdet.

* Update gitignore

* Add unit tests for `return_tuple` option

* Add unit tests for head input tuple.

* Add warning in `simple_test`

* Add TIMMBackbone return tuple.

* Modify timm backbone unit test.
2021-09-08 10:38:57 +08:00
Ma Zerun
f9eb9b409b
[Docs] Add Copyright information. (#413) 2021-08-17 19:52:42 +08:00
Junjun2016
1585ca83c8
[Fix] Fix docstring typo and init error in ShuffleNetV1 (#374) 2021-07-27 19:17:42 +08:00
Ezra-Yu
06bbd6940d
[Fix] Fix init_weights bug in some backbones and update Readme (#318)
* some init_weights bugs

* init_weights

* add import Basemodule

* code stye

* isort

* Use recommend init_weights override method.

Add init_cfg parameter in InvertedResidual.

Remove some useless comment.

Co-authored-by: mzr1996 <mzr1996@163.com>
2021-06-30 19:41:58 +08:00
whcao
5e1a02103f
[Feature]Delete comments (#298)
* add mytrain.py for test

* test before layers

* test attr in layers

* test classifier

* delete mytrain.py

* delete comments
2021-06-12 21:45:22 +08:00
Miao Zheng
4ca21c7d03
[WIP] Refactoring weights initialization (#270)
* [WIP] Refactoring weights initialization

* fix lint and constant init cfg

* fix pretrained bug

* fix typo

* fix isort

* revise model utils
2021-06-10 10:54:34 +08:00
mzr1996
b7b520881f
Update CONTRIBUTING.md according to mmcv (#210)
* Update CONTRIBUTING.md according to mmcv

* Docstring formatting by docformatter

* Update openmmlab website.
2021-04-14 21:22:37 +08:00
LXXXXR
63f38988eb
[Fix] Fix optional issues in docstring (#138)
* fix optional issue in docstring

* revised according to comments

* add optional
2021-01-14 11:09:08 +08:00
lixiaojie
c1d0090700 Change the init_weight for shufflenet models 2020-07-12 00:06:56 +08:00
lixiaojie
1d5f3d8c24 update shufflenet_v1 2020-07-12 00:06:55 +08:00
lixiaojie
f6260b33bf Add RandomCrop, RandomResizedCrop, RandomGrayscale, impad 2020-07-12 00:06:55 +08:00
louzan
deee5d61d7 add mobilenetv2 2020-06-16 14:37:03 +08:00
lixiaojie
66e9bb017d fix unit test 2020-06-16 00:03:45 +08:00
lixiaojie
8060e0f620 merge master 2020-06-15 20:54:52 +08:00
lixiaojie
edceab13e3 modify self.layers 2020-06-15 20:52:17 +08:00
lixiaojie
3bf971238a fix grammar 2020-06-15 16:29:36 +08:00
lixiaojie
402bedf489 update assertion message 2020-06-15 16:26:24 +08:00
lixiaojie
c3576c77fe fix docstring 2020-06-15 16:21:58 +08:00
lixiaojie
3bf34be1ed fix indent problem 2020-06-15 16:11:51 +08:00
lixiaojie
58faa2381c fix norm_eval & merge master 2020-06-15 02:22:50 +08:00
lixiaojie
fb3934fd2c fix norm_cfg&rewrite 2020-06-14 01:23:40 +08:00
lixiaojie
940c955523 fix description 2020-06-12 20:27:07 +08:00
lixiaojie
77c05e6b46 fix indent 2020-06-12 18:13:42 +08:00
lixiaojie
996f0a97e1 fix format 2020-06-12 18:07:53 +08:00
lixiaojie
93612db881 fix linting 2020-06-11 16:01:54 +08:00
lixiaojie
72bbfbc489 use ConvModule/build_*_layer from mmcv & use *_cfg & add _freeze_stages 2020-06-11 15:55:17 +08:00
lixiaojie
38a1c2533a use ConvModule 2020-06-10 16:53:43 +08:00
lixiaojie
05e5173b6b complete the docstring & import from mmcv & range check for frozen_stages and out_indices 2020-06-10 15:43:38 +08:00
lixiaojie
98f5b49ffe add unit test 2020-06-07 22:40:36 +08:00
louzan
a542651794 add shufflenet_v1 2020-05-28 11:44:43 +08:00