Commit Graph

163 Commits (713dd6f9eb4a9ec4396de92f3a0f55cc7fd5b94f)

Author SHA1 Message Date
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
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 28061f537c refine optimizer init logice 2021-12-21 06:28:13 +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 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 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
cuicheng01 a3b54f15d5 fix export quant_model 2021-12-03 07:39:31 +00:00
dongshuilong f7ccc874e2 fix dali distributed eval bug 2021-11-16 11:09:21 +08:00
stephon 7a17f72fc2 fix seed=0 bug 2021-11-01 06:16:24 +00:00
Walter a5d0e37b02
Merge pull request #1341 from RainFrost1/googlenet_bug
fig goooglenet distributed eval bug
2021-10-29 10:28:37 +08: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
dongshuilong 278f6d8050 fig goooglenet distributed eval bug 2021-10-26 11:56:30 +00:00
ronnywang a0eb34a642
Add npu supporting (#1324) 2021-10-22 11:02:29 +08:00
Walter cc00a51af7
Merge pull request #1322 from RainFrost1/train_without_eval
fix train without eval bug
2021-10-21 15:35:05 +08:00
dongshuilong fd6f1ad2ca fix clas distributed eval bug 2021-10-21 03:47:03 +00:00
dongshuilong 06382519cf fix train without eval bug 2021-10-21 02:39:27 +00:00
dongshuilong c93d638f4c fix clas distributed eval bug 2021-10-20 11:22:37 +00:00
Walter e4bb18766a
Merge pull request #1245 from RainFrost1/benchmark
add version 1 for benchmark
2021-10-19 10:18:16 +08:00
dongshuilong 0e20e60f6b fix slim load pretrained model bug 2021-10-18 10:07:14 +00: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
dongshuilong c2a9f8830e update profiler 2021-10-13 09:30:11 +00:00
dongshuilong 272bc9481d Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into benchmark 2021-10-13 09:26:28 +00:00
cuicheng01 fe6f614680 Update multilabel 2021-09-27 03:00:37 +00:00
cuicheng01 a90881c99f
Merge branch 'develop' into add_multilabel 2021-09-26 22:47:20 +08:00
cuicheng01 af9aae730e add multilabel feature 2021-09-26 07:05:13 +00:00
weishengyu af25e25640 modify format 2021-09-23 11:22:25 +08:00
dongshuilong 9f2ab06ec2 add profiler 2021-09-22 08:29:44 +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
dongshuilong 50f2547005 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into slim 2021-09-03 03:19:14 +00:00
dongshuilong d49657ad08 fix rec forward bug 2021-09-02 07:42:22 +00:00
gaotingquan 079434dc5f feat: add AdamW 2021-09-01 08:07:48 +00:00
dongshuilong 68c1b089e8 update slim for new trainer 2021-08-27 09:32:37 +00:00
dongshuilong 1a1eb3a1ae fix issues when gallery == query dataset 2021-08-27 06:25:27 +00:00
Bin Lu ec5e07da99
Merge pull request #1166 from Intsigstephon/develop
add Deephash method: DLBHC
2021-08-26 20:11:36 +08:00
Bin Lu d388d69a63
Update retrieval.py 2021-08-26 19:38:40 +08:00
dongshuilong c9be0fe00a fix loss_msg bugs 2021-08-26 07:13:11 +00:00
Bin Lu 52663edf60
Update retrieval.py 2021-08-25 13:57:24 +08:00
dongshuilong 5bf74beb46 update according comments 2021-08-24 07:07:17 +00:00
dongshuilong 15f6f58139 refactor trainer v2 2021-08-24 03:02:55 +00:00
dongshuilong ebde0e13cb refactor trainer 2021-08-22 15:10:23 +00:00
weishengyu b4678fd3fa revert trainer 2021-08-10 11:27:56 +08:00
weishengyu f41b09ef7f dbg 2021-08-08 17:28:57 +08:00
weishengyu ef13f8c640 modify code 2021-08-08 15:04:26 +08:00
weishengyu e232a97a84 dbg 2021-08-08 02:10:17 +08:00
weishengyu 91af66dccd replace self.model() with self.forward 2021-08-08 02:05:26 +08:00
weishengyu 6c164c9e2b dbg 2021-08-08 02:02:42 +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
zhiqiu bb1376db45 add flags setting 2021-07-16 13:26:03 +00:00
Walter 73004f78f5
add fp16 amp training and dali (#993)
* add dygraph amp train
2021-07-14 22:59:23 +08:00
Wei Shengyu 5cd7a05d68
Merge pull request #1034 from cuicheng01/develop
support load pretrain from url
2021-07-13 17:35:04 +08:00
cuicheng01 592f5b10f5 support batch mix 2021-07-13 06:38:01 +00:00
littletomatodonkey 4af9f51088
fix windows training (#1038)
* fix windows training

* fix typo
2021-07-13 13:57:24 +08:00
cuicheng01 0c63f64bec Update trainer.py 2021-07-12 08:06:05 +00:00
cuicheng01 f7329ddf74 support load pretrain from url 2021-07-12 07:45:44 +00:00
cuicheng01 dfb8e26923
Merge pull request #990 from cuicheng01/develop
Update vision_transformer.py
2021-06-30 14:48:47 +08:00
littletomatodonkey 0189236bb8
add support for vdl (#978)
* add support for vdl

* fix vdl eval
2021-06-30 10:52:27 +08:00
cuicheng01 01f1314fbd fix googlenet infer 2021-06-29 14:35:26 +00:00
littletomatodonkey 89229c6246 fix trainer 2021-06-29 10:57:05 +00:00
dongshuilong 914e69676e fix reid recall metric bugs 2021-06-22 17:08:02 +08:00
Aurelius84 d5c1700faf support to_static for benchmark 2021-06-21 06:14:06 +00:00
littletomatodonkey cb54c43292
add feature calc log (#864) 2021-06-16 21:12:25 +08:00
littletomatodonkey 2e6dfa4433
fix logger (#840)
* fix logger
* fix trainer for int64 on windows
2021-06-15 14:11:50 +08:00
Bin Lu 3ba4503994 Merge branch 'PaddlePaddle:develop_reg' into develop_reg 2021-06-12 08:46:00 +08:00
littletomatodonkey d49e1296d9
Update trainer.py 2021-06-12 03:54:56 +08:00
Bin Lu 73c54f6b8f
Update trainer.py 2021-06-11 14:52:09 +08:00
littletomatodonkey edec759fa2 fix reader 2021-06-10 09:19:49 +00:00
cuicheng01 fcc1b857d4 fix eval_interval bugs 2021-06-10 08:40:05 +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
Felix 47039c826f
Update trainer.py 2021-06-08 19:25:00 +08:00
littletomatodonkey b9044c270a add standard logger 2021-06-08 05:21:53 +00:00
weishengyu 934de96539 rename cam -> unique 2021-06-05 23:06:33 +08:00
weishengyu 9e4a1045f0 dbg 2021-06-05 16:17:14 +08:00
weishengyu 81c864b96d dbg 2021-06-05 16:12:35 +08:00
weishengyu cd7f606a5f dbg 2021-06-05 16:02:22 +08:00
weishengyu 2a72c57e92 dbg remove same image 2021-06-05 15:56:41 +08:00
weishengyu 5597830e4c dbg camera 2021-06-05 15:35:20 +08:00
weishengyu 19be351646 dbg 2021-06-05 15:12:38 +08:00
weishengyu 0a8b1773ba dbg 2021-06-05 14:10:20 +08:00
weishengyu 2a0333281f dbg 2021-06-05 13:53:41 +08:00
weishengyu 1c7a23c5e7 dbg 2021-06-05 13:44:58 +08:00
weishengyu f9b4e0f0bb dbg 2021-06-05 11:36:52 +08:00
weishengyu d954f73888 remove to_tensor 2021-06-04 23:40:46 +08:00
weishengyu b48d2c7a97 dbg 2021-06-04 23:12:07 +08:00
weishengyu 3e4af0448e add default metrics 2021-06-04 22:56:12 +08:00
weishengyu b23e72b17c add combined_metrics 2021-06-04 22:27:32 +08:00