Commit Graph

157 Commits (5b06e18b2436f2161d27935bf5c5566133e78883)

Author SHA1 Message Date
gaotingquan a38e42f644 refactor: iter_per_epoch -> max_iter 2023-03-10 16:56:55 +08:00
gaotingquan 284e2a6756 refactor: mv all dataloaders to engine.dataloader_dict 2023-03-10 16:56:55 +08:00
gaotingquan 6bed0f5707 refactor: build_train_func & build_eval_func
1. rm engine.device and use paddle.device.get_device() instead;
2. mv some code to build_train_func or build_eval_func to simpfy engine.
2023-03-10 16:56:55 +08:00
gaotingquan 75a20ba557 refactor: add ClassModel to unify model forward interface 2023-03-10 16:56:55 +08:00
gaotingquan 376d83d46e refactor: simplify engine 2023-03-10 16:56:55 +08:00
gaotingquan 81de331e00 rename to re_parameterize() for re-parameterization nets 2023-01-06 20:29:07 +08:00
HydrogenSulfate 97398d9f12 fix export pretrained_model when it is None 2022-12-16 18:46:21 +08:00
HydrogenSulfate 51d71016ac support web link for 'Global.pretrained_model' when export models 2022-12-16 18:46:21 +08:00
HydrogenSulfate 6cc6540ca5 add different seed for workers and replicas 2022-11-24 11:51:13 +08:00
HydrogenSulfate 1ad4167fdc fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate 25ed25372a fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate c07758b331 fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate 7ff257ea69 fix random seed bug for pksampler in DDP 2022-11-22 16:47:47 +08:00
USTCKAY 0cec70bd22 [CustomDevice]add support for custom NPU, test=develop 2022-10-26 10:33:10 +08:00
dongshuilong 944763d7a5 add fixmatch 2022-10-25 12:04:22 +08:00
HydrogenSulfate 09200a31f4 remove redundant code, fix bugs in lr.step, merge GoodsDataset into Vehicle 2022-10-19 07:18:21 +00:00
HydrogenSulfate 2cfd8dd828 add xbm 2022-10-17 15:45:45 +08:00
cuicheng01 0b9f62262a
Merge branch 'develop' into fix_multilabel 2022-09-14 14:41:32 +08:00
HydrogenSulfate 5a4874079d fix some bugs 2022-08-23 10:59:30 +00:00
HydrogenSulfate 1b5e00e82a add PP-ShiTuV2 code 2022-08-23 07:54:58 +00:00
cuicheng01 eade1b7232 fix multilabel 2022-08-22 06:40:26 +00:00
Yang Nie 436f64ad84 Merge branch 'develop' into ConvNeXt 2022-07-09 21:50:31 +08:00
HydrogenSulfate e8fc16d76b update rep condition 2022-06-28 05:58:14 +00:00
HydrogenSulfate de1e9cab74 update pact chain 2022-06-28 04:06:54 +00:00
littletomatodonkey 794af8c06f
add kd doc (#1997)
* add kd doc

* fix

* add ssld doc

* fix ssld

* fix ssld

* Update knowledge_distillation.md

* fix doc

* fix dist export

* fix

* add dist doc

* fix speed info

* Update ssld.md

* Update ssld.md
2022-06-09 14:52:50 +08:00
Tingquan Gao b457c393eb
fix: dbg (#1993)
1. config["Metric"]["Train"] may be None
2. fliter -> list
2022-06-07 20:08:48 +08:00
gaotingquan 80358efbe2 fix: pop TopkAcc when using batch_transform_ops 2022-06-06 16:47:57 +08:00
gaotingquan ccefbd7864 fix: dbg 2022-06-06 16:47:57 +08:00
gaotingquan df3e75dde4 fix: warn when topk parameter setting is wrong 2022-06-06 16:47:57 +08:00
littletomatodonkey 4003cdb7ad
add traffic sign yaml (#1966)
* add traffic sign and vehicle attr doc and yaml
2022-06-06 13:13:50 +08:00
Wei Shengyu d039691fce
Merge pull request #1963 from TingquanGao/dev/rm_fluid
remove fluid
2022-06-06 10:54:16 +08:00
cuicheng01 ad71254e68
Merge pull request #1960 from zhiboniu/dev_attr
support attribute infer
2022-05-27 19:22:17 +08:00
Walter dcef409dde
Merge branch 'develop' into adaface 2022-05-27 14:19:03 +08:00
gaotingquan c22bdc7e54
remove fluid 2022-05-26 07:40:15 +00:00
zhiboniu a4e1da6610 modify attr export model 2022-05-25 08:13:38 +00:00
littletomatodonkey 6dac07f68d
fix quant logic (#1941)
* fix quant logic

* add support for trt+int8 inference

* add support for swin quant

* fix swin and quant

* fix assert info

* fix assert info

* fix log
2022-05-23 19:04:27 +08:00
cuicheng01 8f5fe61540
Merge pull request #1925 from cuicheng01/add_person_demo
Add person demo
2022-05-23 09:26:49 +08:00
gaotingquan 683adcda46 fix: support AMP infer 2022-05-18 18:10:44 +08:00
gaotingquan e4327c8686 log tip when export succeeded 2022-05-18 13:00:00 +08:00
littletomatodonkey afafb8f41d fix save load 2022-05-17 13:24:24 +00:00
dongshuilong 32c99be6aa add adaface 2022-05-16 03:50:35 +00:00
cuicheng01 45b1296c25 Add cls_demo_person code 2022-05-14 09:31:52 +00:00
gaotingquan f04b52343f fix: unable to export rep net 2022-05-14 14:13:25 +08:00
Yang Nie e61f392598 Merge branch 'develop' into ConvNeXt 2022-05-09 12:22:37 +08:00
gaotingquan 56b8710dc4 fix: fix bug get paddle version 2022-05-06 19:51:44 +08:00
dongshuilong 7283598041 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into adaface 2022-05-06 04:50:31 +00:00
dongshuilong bdc535bb39 add adaface 2022-05-06 04:50:26 +00:00
Walter bd524e8a88
Merge pull request #1819 from weisy11/reid
复现reid-strong-baseline
2022-05-06 12:05:07 +08:00
Wei Shengyu 4bc4b7e0e2
Merge pull request #1876 from TingquanGao/dev/fix_amp_eval
fix: amp eval
2022-05-05 20:39:02 +08:00
HydrogenSulfate 1c31010b14 refine code 2022-05-05 20:28:59 +08:00
HydrogenSulfate 16f910b451 add m1 and baseline config 2022-05-05 19:55:08 +08:00
HydrogenSulfate 0b1481402b merge devevelop 2022-05-05 14:42:06 +08:00
Yang Nie b334da6fad
Merge branch 'develop' into ConvNeXt 2022-05-05 14:40:46 +08:00
gaotingquan 275945dff9
fix: compatible with Paddle 2.2, 2.3, and develop. 2022-04-29 10:21:09 +00:00
gaotingquan 24372cc6e5 update: update the default gpu num to 8 when using AdamW 2022-04-29 17:31:12 +08:00
flytocc 8b8a02d607 add update_freq option for gradient accumulation 2022-04-28 00:50:28 +08:00
flytocc ed8202236b add EMA code 2022-04-28 00:39:53 +08:00
gaotingquan 59a3dcfc1c
fix: amp eval 2022-04-26 12:26:17 +00:00
HydrogenSulfate 97e8abc3db refine code and yaml 2022-04-24 14:38:26 +08:00
gaotingquan b86ddf470e fix: when eval only, AMP can be enabled 2022-04-22 17:49:44 +08:00
HydrogenSulfate bc6e7f5cf5 update code 2022-04-22 15:26:05 +08:00
HydrogenSulfate aa26a8c1d8 fix bug for static graph 2022-04-21 16:31:28 +08:00
HydrogenSulfate daf7eea23d fix code 2022-04-21 15:43:53 +08:00
HydrogenSulfate 41e1a86caf add center loss 2022-04-21 00:17:54 +08:00
HydrogenSulfate 3a1276d315 train_loss_func only used in train mode 2022-04-19 19:54:48 +08:00
HydrogenSulfate 24abea151a support for multi optimizer case 2022-04-19 14:26:42 +08:00
dongshuilong a944603da0 fix log twice bug 2022-03-30 08:31:35 +00:00
huangqipeng b62b98d79f feat: support mlu device and amp of mlu 2022-03-14 15:48:26 +08:00
littletomatodonkey f68c098a4a fix train acc log 2022-03-09 19:58:36 +08:00
WangChen0902 7595ba6d70
add AFD (#1683)
* add AFD
2022-02-28 19:11:50 +08:00
Tingquan Gao 42134cd8dd fix: raise warning when using Global.class_num 2022-01-25 15:06:36 +08:00
Tingquan Gao bb6581d21b refactor: raise warning when gpu numbers is not 4 2022-01-25 15:06:36 +08:00
Tingquan Gao 8f0bd5b582 fix: fix vdl makedir 2022-01-25 15:06:36 +08:00
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
zhangbo9674 cd039a7b37 add save_dtype 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
littletomatodonkey aea712cc87
add dist of rec model (#1574)
* add distillation loss func and rec distillation
2022-01-05 19:25:36 +08: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 7da2a997e9 fix: save latest model every epoch 2021-12-27 22:04:26 +08:00
gaotingquan 5d53e9f152 fix: raise warning when setting batch_transform_ops and TopkAcc 2021-12-24 21:22:52 +08:00
zhangbo9674 b54ee04491 Accelerate dynamic graph amp training 2021-12-20 06:36:56 +00:00
weishengyu 534037d145 dbg 2021-12-10 11:14:14 +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 a3b54f15d5 fix export quant_model 2021-12-03 07:39:31 +00:00
stephon 7a17f72fc2 fix seed=0 bug 2021-11-01 06:16:24 +00:00
gaotingquan ed459a2a16 refactor: adapt to static graph in deprecating MixCELoss 2021-10-27 19:47:43 +08:00
gaotingquan ba2dd01a13 refactor: deprecate MixCELoss 2021-10-27 19:47:43 +08:00
ronnywang a0eb34a642
Add npu supporting (#1324) 2021-10-22 11:02:29 +08:00
dongshuilong 06382519cf fix train without eval bug 2021-10-21 02:39:27 +00:00
dongshuilong 0e20e60f6b fix slim load pretrained model bug 2021-10-18 10:07:14 +00:00
cuicheng01 af9aae730e add multilabel feature 2021-09-26 07:05:13 +00:00
cuicheng01 ba9b708acb
Merge pull request #1174 from TingquanGao/dev/add_adamw
feat: add AdamW
2021-09-17 18:53:18 +08: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
dongshuilong 94c9900ece add seed 2021-09-14 04:06:37 +00:00
Walter 74622af482
Merge pull request #1093 from RainFrost1/slim
添加slim功能
2021-09-13 19:11:43 +08:00
Walter ce39aea97f
Merge pull request #1187 from RainFrost1/retrieval_dataloader
fix issues when gallery == query dataset
2021-09-03 14:33:23 +08:00