Commit Graph

1019 Commits (1db85b5d3b967f40c9e68f05e8d8a48a6e7b98ac)

Author SHA1 Message Date
gaotingquan 10c93c55d1 fix: enable amp only in training 2022-01-25 11:58:07 +08:00
gaotingquan 7040ce8314 refactor: change params to be consistent with amp 2022-01-25 11:58:07 +08:00
Wei Shengyu d6d5efe055
Merge pull request #1616 from JamesLim-sy/change_some_settings_for_clas_train_performance
Change some settings for clas model`s trainning performance
2022-01-25 11:29:27 +08:00
Tingquan Gao ce166b6ced docs: fix invalid links 2022-01-17 21:14:38 +08:00
gaotingquan 6963c25804 fix: fix bug
bug is that error rasied by calling update_res() when sublayer does not have _save_sub_res_hook() because nn.Sequential and nn.LayerList is not TheseusLayer.
2022-01-14 14:58:28 +08:00
gaotingquan a6a76f3d36 fix: args error 2022-01-14 14:58:28 +08:00
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
zhangbo9674 cd039a7b37 add save_dtype 2022-01-10 18:19:03 +08:00
zhangbo9674 d437bb0a7e use fp32 to eval 2022-01-10 18:19:03 +08:00
zhangbo9674 bb19c1f7a6 fix eval bug 2022-01-10 18:19:03 +08:00
zhangbo9674 b2956c1b41 refine code 2022-01-10 18:19:03 +08:00
zhangbo9674 205592a3e3 fix amp with distribute bug 2022-01-10 18:19:03 +08:00
gaotingquan 1a9b1782ef fix: fix min_lr & warmup_lr 2022-01-07 11:52:30 +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 7a0ed6f08d rename 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
JamesLim-sy f015860645 drop useless settings 2022-01-05 13:15:19 +00:00
littletomatodonkey aea712cc87
add dist of rec model (#1574)
* add distillation loss func and rec distillation
2022-01-05 19:25:36 +08:00
JamesLim-sy 24a51ae064 first 2022-01-04 07:20:31 +00:00
Bin Lu 304bafb735
Merge pull request #1610 from TingquanGao/dev/fix_theseus
fix: upgrade replace_sub() to upgrade_sublayer()
2021-12-31 12:15:18 +08:00
gaotingquan d6aeba6f56
fix: upgrade replace_sub() to upgrade_sublayer()
supplement to PR #1581
2021-12-30 10:59:20 +00:00
gaotingquan 6e13ff3068 fix: use hasattr() to check if collate_fn is in dataloader
fix bug caused by PR #1596
2021-12-30 16:35:05 +08:00
gaotingquan cabc7a0f83 fix: replace reg exp with layer name 2021-12-28 15:24:50 +08: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
gaotingquan 7da2a997e9 fix: save latest model every epoch 2021-12-27 22:04:26 +08:00
weishengyu 377a7b4b2f dbg 2021-12-27 20:35:42 +08:00
weishengyu 9a1d35ba3b add license info 2021-12-27 20:16:56 +08:00
weishengyu 87f508e9f9 dbg 2021-12-27 19:37:00 +08:00
gaotingquan 5d53e9f152 fix: raise warning when setting batch_transform_ops and TopkAcc 2021-12-24 21:22:52 +08:00
weishengyu b662ed34ac dbg 2021-12-24 11:15:27 +08:00
weishengyu 18d99b012b move gallery layer into extractor 2021-12-24 11:06:42 +08:00
weishengyu 25edd1c0d8 refactor code 2021-12-23 20:51:15 +08:00
weishengyu d5637367a9 add export method 2021-12-23 20:35:10 +08:00
weishengyu 932e0eace1 dbg 2021-12-23 20:29:05 +08:00
Wei Shengyu 0f35f706b6
Fix static training speed (#1590)
* fix training speed

* update config setting method
2021-12-23 11:13:51 +08:00
Wei Shengyu f45f9ee4d4
Merge pull request #1585 from zhangbo9674/dev/resnet50_optimize
Accelerate dynamic graph amp training
2021-12-21 17:31:25 +08:00
zhangbo9674 558f03d684 refine code 2021-12-21 06:30:13 +00:00
zhangbo9674 28061f537c refine optimizer init logice 2021-12-21 06:28:13 +00:00
cuicheng01 7aa9f1c6ea
Merge pull request #1588 from cuicheng01/add_new_config
add some new configs
2021-12-21 14:03:51 +08:00
cuicheng01 2e578335cd add some new configs 2021-12-20 08:10:39 +00:00
zhangbo9674 b54ee04491 Accelerate dynamic graph amp training 2021-12-20 06:36:56 +00:00
gaotingquan 7732a69f1b fix: fix key error in distillation 2021-12-16 18:21:08 +08:00
weishengyu b6a7c53182 add feature extract 2021-12-15 10:39:26 +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 f5450c3d66 delete vit_huge config 2021-12-14 03:10:07 +00:00
weishengyu c941144568 update gallery2fc 2021-12-14 10:34:40 +08:00
cuicheng01 83d1b411c5 update vit 2021-12-10 09:56:33 +00:00
Wei Shengyu 8d22f0250e
Merge pull request #3 from PaddlePaddle/develop
Develop
2021-12-10 17:26:22 +08:00
Walter 524190a775
Merge pull request #1543 from RainFrost1/tipc_batch_size
fix tipc batch_size bug
2021-12-10 16:57:36 +08:00
dongshuilong ab187e21cc fix tipc inference batch_size bug 2021-12-10 08:05:36 +00:00
Wei Shengyu 51c3a34275
Merge pull request #1540 from weisy11/refor_quant
Refor quant
2021-12-10 14:59:39 +08:00
weishengyu 534037d145 dbg 2021-12-10 11:14:14 +08: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 7c6567cc6b dbg 2021-12-09 18:08:16 +08:00
weishengyu 6c5d1ebc28 add pruner and quanter for theseus 2021-12-09 14:51:40 +08:00
Bin Lu f9ee1befbf
Merge pull request #1533 from Intsigstephon/modify_binary_configure
modify binary model configure
2021-12-09 14:47:18 +08:00
weishengyu 63f7fdbf9c add logger 2021-12-08 20:02:13 +08:00
weishengyu 823074d894 dbg 2021-12-08 19:56:30 +08:00
weishengyu d05d9d8d65 update functions 2021-12-08 19:48:59 +08:00
weishengyu be220a5f09 move file to ppcls 2021-12-08 19:47:43 +08:00
dongshuilong 94cce6422f fix augmix bug 2021-12-08 07:53:33 +00:00
stephon ecbc2b998f modify binary model configure 2021-12-07 07:24:01 +00:00
cuicheng01 a3b54f15d5 fix export quant_model 2021-12-03 07:39:31 +00:00
cuicheng01 71abe2e9bf update PP-LCNet config 2021-12-01 04:08:38 +00:00
cuicheng01 5dad991c2a update se_resnext_vd.py 2021-11-30 15:06:05 +00:00
cuicheng01 bc16eed9f9
Merge pull request #1453 from cuicheng01/develop
fix class_num in quickstart
2021-11-22 12:00:56 +08:00
dongshuilong ee3c643cc1 update combined loss for accelerate classification training speed 2021-11-19 08:35:47 +00:00
cuicheng01 dd08d344af fix class_num in quickstart 2021-11-17 15:04:04 +00:00
cuicheng01 9a23b4326a
Merge pull request #1444 from RainFrost1/reid
添加车辆ReID的PPLCNet 2.5x模型
2021-11-17 15:03:29 +08:00
gaotingquan d53a06c625 fix: fix download link 2021-11-17 15:02:20 +08:00
dongshuilong c02ec9a3b3 update vehcile reid model PPLCNet2.5x 2021-11-16 06:24:57 +00:00
dongshuilong c39838778b add vehcile reid model PPLCNet2.5x 2021-11-16 06:22:03 +00:00
dongshuilong f7ccc874e2 fix dali distributed eval bug 2021-11-16 11:09:21 +08:00
cuicheng01 423144c097 fix some configs 2021-11-15 07:26:58 +00: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
gaotingquan af25eaf799 docs: update flower102 label map list 2021-11-10 00:16:23 +08:00
gaotingquan 720c451bc4 fix: fix batch size to 64 * 4 2021-11-10 00:16:23 +08:00
gaotingquan 7ebb0b8ab1 docs: add reference link 2021-11-08 06:36:02 +00:00
Bin Lu 3b4a45f8ab
Update deephashloss.py 2021-11-06 23:32:19 +08:00