Commit Graph

349 Commits (c35d3fcda6d38ceb31eff88ac93174a20902fc7d)

Author SHA1 Message Date
gaotingquan 43fce425ac fix: change the returned result from dict to list 2022-01-14 14:58:28 +08:00
gaotingquan 3b9f629220 feat: support specify return_stages to update_res() 2022-01-14 14:58:28 +08:00
gaotingquan 56c72a85a1 fix: fix lr 2022-01-07 11:52:30 +08:00
gaotingquan 025feb6de9 fix: fix -1 in dims 2022-01-07 11:52:30 +08:00
gaotingquan ee819393ac fix: fix -1 in dims and ignore swapdim in static 2022-01-07 11:52:30 +08:00
gaotingquan 00fb3f7519 feat: support PVTV2 2022-01-07 11:52:30 +08:00
gaotingquan a53b636829 feat: support PVTV2 2022-01-07 11:52:30 +08:00
littletomatodonkey e0a6e5bf38
fox dist err (#1621)
* fox dist err

* fix init

* fix init
2022-01-06 09:46:52 +08:00
littletomatodonkey aea712cc87
add dist of rec model (#1574)
* add distillation loss func and rec distillation
2022-01-05 19:25:36 +08:00
gaotingquan d6aeba6f56
fix: upgrade replace_sub() to upgrade_sublayer()
supplement to PR #1581
2021-12-30 10:59:20 +00:00
gaotingquan 71cb728b07 fix: rename to upgrade_sublayer() 2021-12-28 15:24:50 +08:00
gaotingquan 1e696ac22b fix: remove unnecessary register_hook() call & pre-commit 2021-12-28 15:24:50 +08:00
gaotingquan a86c4b290e add license 2021-12-28 15:24:50 +08:00
gaotingquan 721ac0bf61 refactor: simplify code
1. remove WrapLayer and wrap_theseus;
2. support call update_res() one more;
3. optim parse_pattern_str() to return list of layer parsed.
2021-12-28 15:24:50 +08:00
gaotingquan 56911b573b refactor: rename replace_sub() func to ? 2021-12-28 15:24:50 +08:00
gaotingquan 0f126b75da refactor: strengthen parse_pattern_str() func 2021-12-28 15:24:50 +08:00
gaotingquan 8d0b0d4b0a refactor: extract _parse_pattern_str() func 2021-12-28 15:24:50 +08:00
gaotingquan 18dec0744a fix: fix problems commented in reviewing 2021-12-28 15:24:50 +08:00
gaotingquan 41296972a4 fix: fix comments 2021-12-28 15:24:50 +08:00
gaotingquan f8ee6c0f86 fix: fix result returned by stop_after 2021-12-28 15:24:50 +08:00
gaotingquan cf205e1379 fix: fix result returned by _find_layers_handle 2021-12-28 15:24:50 +08:00
gaotingquan b0ae3a1210 fix: unify the pattern of layer's name 2021-12-28 15:24:50 +08:00
cuicheng01 897760f073
Merge pull request #1544 from cuicheng01/update_vit
update vit
2021-12-14 14:40:14 +08:00
cuicheng01 b3922c96f5
Merge pull request #1436 from TingquanGao/dev/update_whl
update whl
2021-12-14 12:15:46 +08:00
cuicheng01 83d1b411c5 update vit 2021-12-10 09:56:33 +00:00
weishengyu 6510da8fca dbg 2021-12-09 20:15:25 +08:00
weishengyu ad1a2fd137 move slim into arch 2021-12-09 20:08:57 +08:00
weishengyu 6c5d1ebc28 add pruner and quanter for theseus 2021-12-09 14:51:40 +08:00
cuicheng01 5dad991c2a update se_resnext_vd.py 2021-11-30 15:06:05 +00:00
gaotingquan d53a06c625 fix: fix download link 2021-11-17 15:02:20 +08:00
gaotingquan ae6cb7d529 feat: support MixNet 2021-11-15 06:53:34 +00:00
cuicheng01 6e4bf593fb
Merge pull request #1390 from Intsigstephon/feature_binary_model
add Binary general recog configure
2021-11-12 15:25:00 +08:00
cuicheng01 fb631b38fb update esnet.py 2021-11-11 12:51:58 +00:00
cuicheng01 d868a63764 Add ESNet code and pretrained models 2021-11-11 06:00:32 +00:00
littletomatodonkey 67d982c30e
fix csp refer (#1404) 2021-11-05 13:54:10 +08:00
cuicheng01 7875e83d9e update vision_transformer.py 2021-11-05 02:53:10 +00:00
cuicheng01 08952deb88 update codes 2021-11-04 10:47:13 +00:00
Bin Lu 9f2f62f3ae
Update pp_lcnet_variant.py 2021-11-04 16:58:17 +08:00
Bin Lu 17fc4595b3
Create pp_lcnet_variant.py 2021-11-04 16:44:56 +08:00
Bin Lu cad5ce842a
Update __init__.py 2021-11-04 16:44:16 +08:00
stephon 6f13c5b798 rename PPLCNet_x2_5_Tanh 2021-11-04 08:37:21 +00:00
stephon df03b4a022 add Binary general reocg configure 2021-11-03 10:09:34 +00:00
gaotingquan 5025d09fd8 fix: fix a DeprecationWarning & style 2021-10-27 19:47:43 +08:00
Wei Shengyu 3c148cb56a
update return res method and fix amp bug (#1309)
* fix amp bug; update return res method

* support index for list object for return res
2021-10-15 18:25:50 +08:00
littletomatodonkey f8b420946c
fix cspnet (#1282)
* fix cspnet

* minor fix
2021-10-11 17:23:31 +08:00
cuicheng01 b7bab1e648 fix googlenet avg-pool 2021-09-23 08:29:07 +00:00
cuicheng01 ef2fd19bb0
Merge pull request #1243 from RainFrost1/arcmargin
fix pact bug for circlemargin arcmargin cosmargin
2021-09-17 18:56:03 +08:00
cuicheng01 48494ec051
Merge pull request #1213 from cuicheng01/develop
Add PP-LCNet codes and configs
2021-09-17 15:29:50 +08:00
dongshuilong 18e1cf040b fix pact bug for circlemargin arcmargin cosmargin 2021-09-16 12:17:02 +00:00
Wei Shengyu d98b881603
Merge pull request #1208 from weisy11/fix_bug_of_theseus
dbg theseus
2021-09-15 14:04:51 +08:00
weishengyu 600067f4fc dbg 2021-09-15 11:35:49 +08:00
weishengyu e916259508 update return_res method 2021-09-15 11:03:46 +08:00
Walter 74622af482
Merge pull request #1093 from RainFrost1/slim
添加slim功能
2021-09-13 19:11:43 +08:00
cuicheng01 d470f34c64 Update code and docs 2021-09-13 03:18:37 +00:00
dongshuilong 8e85ef4775 update slim 2021-09-10 03:09:03 +00:00
cuicheng01 4150df912e Add LCNet codes and config 2021-09-07 16:14:40 +00:00
cuicheng01 3f0b406fb2 fix tnt inference bug when bs > 1 2021-09-07 03:46:29 +00:00
weishengyu 5131956d15 dbg theseus 2021-09-06 16:18:57 +08:00
dongshuilong 50f2547005 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into slim 2021-09-03 03:19:14 +00:00
dongshuilong 68c1b089e8 update slim for new trainer 2021-08-27 09:32:37 +00:00
Bin Lu 35d2be15dc
Merge branch 'PaddlePaddle:develop' into develop 2021-08-25 13:53:14 +08:00
Bin Lu 860e4aa421
Update cosmargin.py 2021-08-24 16:20:21 +08:00
Bin Lu 5b70d442f9
Update circlemargin.py 2021-08-24 16:19:41 +08:00
cuicheng01 8c8153e97f Update SwinTransformer pretrained url 2021-08-24 03:22:03 +00:00
Bin Lu c9912f0a04
Update vgg_variant.py 2021-08-24 10:53:13 +08:00
Bin Lu f878fb27e5
Update __init__.py 2021-08-23 19:19:19 +08:00
Bin Lu 26eda0efef
Update __init__.py 2021-08-23 19:08:06 +08:00
Bin Lu 0b9f0ad001
Create vgg_variant.py 2021-08-23 19:07:35 +08:00
Wei Shengyu 4ae4a4a903
Merge pull request #1116 from weisy11/develop
update save sub layer result
2021-08-18 14:12:43 +08:00
cuicheng01 2940e2a9b8
Merge pull request #1130 from cuicheng01/develop
fix resnext101_wsl pretrain url bug
2021-08-11 23:01:13 +08:00
cuicheng01 ac404c7a37
Update resnext101_wsl.py 2021-08-11 22:57:28 +08:00
Wei Shengyu 59be8e4674
Merge branch 'release/2.2' into develop 2021-08-09 11:07:31 +08:00
weishengyu 98f38fa0f7 dbg 2021-08-08 17:53:06 +08:00
weishengyu f41b09ef7f dbg 2021-08-08 17:28:57 +08:00
weishengyu 88a72b6735 dbg 2021-08-08 15:56:57 +08:00
weishengyu 2cb3bf66dd update wrap theseus rule 2021-08-08 15:55:34 +08:00
weishengyu 1985075550 dbg 2021-08-08 15:18:28 +08:00
weishengyu ef13f8c640 modify code 2021-08-08 15:04:26 +08:00
weishengyu 6dbbf8cc17 add theseus wrapper 2021-08-08 14:57:29 +08:00
weishengyu 4f8552aa4f dbg 2021-08-08 14:32:45 +08:00
weishengyu 8211880d10 dbg 2021-08-08 14:29:07 +08:00
weishengyu 132ec21fba reverse res_dict 2021-08-08 14:27:43 +08:00
weishengyu 56c513fdc7 remove disconnect 2021-08-08 13:29:30 +08:00
weishengyu 3b62e4d401 dbg 2021-08-08 13:14:30 +08:00
weishengyu 7e1aa2d358 dbg 2021-08-08 12:58:31 +08:00
weishengyu 6ebe7f09ed add return_inter flag 2021-08-08 01:52:18 +08:00
weishengyu 9790cc517f add return_dict to trainer 2021-08-08 01:49:26 +08:00
weishengyu bba9e0dfff add vgg theseus funcs 2021-08-08 01:07:49 +08:00
weishengyu 8c1515b5db add hook 2021-08-08 00:37:53 +08:00
weishengyu 0040a973eb add save res back 2021-08-07 23:00:32 +08:00
cuicheng01 3a9e6b3179 fix ResNeXt101_wsl bugs 2021-08-03 08:48:58 +00:00
cuicheng01 cc55d6371b fix ResNeXt101_wsl bugs 2021-08-03 08:46:25 +00:00
gaotingquan abb5d0fdf6 fix: fix @ -> matmul 2021-07-27 04:26:21 +00:00
gaotingquan 2f666cdfc9 fix: fix @ -> matmul 2021-07-27 04:10:10 +00:00
cuicheng01 95eb232a5a Add MixNet and ReXNet configs 2021-07-22 03:38:47 +00:00
cuicheng01 da1b58840e Update levit.py 2021-07-22 03:36:04 +00:00
cuicheng01 18592f5b88 Update gvt.py 2021-07-21 13:18:03 +00:00
cuicheng01 3a8715240c Update gvt.py 2021-07-21 13:16:23 +00:00
Tingquan Gao c4d131ebd3
Update gvt.py 2021-07-21 20:50:34 +08:00
Tingquan Gao e07674603e
Update gvt.py 2021-07-21 20:50:04 +08:00
cuicheng01 e6eeb09a82 Update Twins configs 2021-07-21 09:35:58 +00:00
cuicheng01 88d0d4ca9f Update Twins configs 2021-07-21 09:32:58 +00:00
littletomatodonkey 9d9cd3719e
add static training (#1037)
* add static training

* fix typo

* add se fp16

* rm note

* fix loader

* fix cfg
2021-07-15 10:30:07 +08:00
cuicheng01 c965193f36 fix typo in cosmargin 2021-07-13 07:54:29 +00:00
cuicheng01 3c9086c270 Update levit.py 2021-07-12 03:49:37 +00:00
cuicheng01 68d5bb0341 Add MixNet and ReXNet configs 2021-07-09 06:20:41 +00:00
cuicheng01 48ff7ec1f9
Merge branch 'PaddlePaddle:develop' into develop 2021-07-06 21:51:26 +08:00
cuicheng01 9db7262f0e fix LeViT_384 train bugs 2021-07-05 14:13:30 +00:00
dongshuilong 1b004933e1 fix resnet50_variant pretrained bugs 2021-07-05 12:16:48 +00:00
cuicheng01 f6c5625f25 Fix LeVit export_model bugs 2021-07-05 07:43:43 +00:00
cuicheng01 a6420f1cce Update tnt.py 2021-07-01 03:37:42 +00:00
cuicheng01 03a3da164b Update tnt.py 2021-07-01 03:33:27 +00:00
cuicheng01 f731ac545f fix initial bug of levit 2021-07-01 02:56:10 +00:00
cuicheng01 dfb8e26923
Merge pull request #990 from cuicheng01/develop
Update vision_transformer.py
2021-06-30 14:48:47 +08:00
cuicheng01 c492e1b2a2 Update vision_transformer.py 2021-06-29 13:08:40 +00:00
littletomatodonkey 4d496f787b fix class_dim 2021-06-29 10:12:40 +00:00
Walter 6fc9e5ad54
Merge pull request #979 from cuicheng01/develop
update new_user/ShuffleNetV2_x0_25.yaml
2021-06-29 11:05:23 +08:00
cuicheng01 8a31e4f4d7 update xception_deeplab.py pretrained url 2021-06-28 15:18:12 +00:00
Tingquan Gao 24727034d8
Update whl (#871)
* Update whl

* Optimize usage of CLI args
2021-06-22 11:12:26 +08:00
Tingquan Gao 27849b7a76
Update en doc of Hubserving (#900) 2021-06-22 11:08:55 +08:00
Aurelius84 d5c1700faf support to_static for benchmark 2021-06-21 06:14:06 +00:00
cuicheng01 8246563c5a Remove expired codes 2021-06-18 11:10:29 +00:00
cuicheng01 d5a4ad19e2 Remove 2021-06-17 02:52:15 +00:00
weishengyu e11cc5c8c1 remove useless comments 2021-06-16 22:13:32 +08:00
littletomatodonkey 35437e2236 fix distillation model infer and export model 2021-06-13 05:01:56 +00:00
cuicheng01 d8def84624 Update model_zoo 2021-06-11 13:58:50 +00:00
cuicheng01 f136ee1843
Merge branch 'develop_reg' into reg/add_twins_levit 2021-06-11 17:01:49 +08:00
jm12138 d28b8607ca update code format 2021-06-11 00:14:34 +08:00
jm12138 6055b717ca add code License 2021-06-11 00:11:20 +08:00
jm12138 bec1289fcd update __all__ export 2021-06-10 23:20:29 +08:00
jm12138 a950ec42b0 add the codes of TNT, HarDNet, RedNet and DLA models 2021-06-10 23:15:40 +08:00
gaotingquan 9e2a8e862a Add LeViT and Twins 2021-06-10 14:29:12 +00:00
littletomatodonkey edec759fa2 fix reader 2021-06-10 09:19:49 +00:00
littletomatodonkey 3b4f5f4dfc
add distillation and fix some apis (#810)
* fix save load and imagenet dataset
* refine trainer
2021-06-10 16:30:05 +08:00
Wei Shengyu a175ce5efe
Merge pull request #800 from cuicheng01/develop_reg
Add products configs
2021-06-08 10:40:03 +08:00
cuicheng01 05aa04f7d3 Add products configs 2021-06-07 11:48:18 +00:00
Felix eaf3b31577
Update circlemargin.py 2021-06-07 15:31:30 +08:00
weishengyu 25f6af99b2 fix format 2021-06-07 15:05:51 +08:00
weishengyu 296ba94c1c dbg 2021-06-07 15:05:26 +08:00
weishengyu 07089dcfe7 move identity_head to gears 2021-06-07 14:22:53 +08:00
weishengyu 91f72dcef7 dbg label 2021-06-05 17:56:40 +08:00
weishengyu ce43150ffe dbg 2021-06-05 17:45:31 +08:00
weishengyu 1c7a23c5e7 dbg 2021-06-05 13:44:58 +08:00
dongshuilong 8a8eb34d79 add vehicle neck and fix bugs 2021-06-04 16:44:24 +08:00
dongshuilong 505c9309a0 add vehicle neck 2021-06-04 14:54:34 +08:00
dongshuilong 76fcde59af add variant model example 2021-06-04 10:19:01 +08:00
weishengyu 582157f209 modify format and remove loss 2021-06-03 15:23:23 +08:00
weishengyu 586af751ac rename head -> gears 2021-06-03 15:19:39 +08:00
dongshuilong 435144b526 fix bugs imgnet and rec train 2021-06-03 12:24:48 +08:00
dongshuilong 452f532121 add CompCars train and fix bugs 2021-06-03 11:00:47 +08:00