Commit Graph

39 Commits (54d27a1204e8f50d9e6f63e6588c4b0dc3e7e9f8)

Author SHA1 Message Date
gaotingquan 162f013ebe fix: minimize() dont support parameter_list of type dict
there are diffs that step()+update() and minimize().
this will be fixed in https://github.com/PaddlePaddle/Paddle/pull/53773.
2023-05-25 11:58:05 +08:00
gaotingquan 8b218b01ac refactor amp auto_cast context manager & loss scaler 2023-05-25 11:58:05 +08:00
gaotingquan f37cb543b1 rm op black list in amp
the op flatten_contiguous_range and greater_than has supported amp mode since paddle 2.4
2023-03-29 14:57:02 +08:00
Tingquan Gao 6aabb94d8c Revert "refactor: add ClassModel to unify model forward interface"
This reverts commit 75a20ba557.
2023-03-14 16:47:13 +08:00
Tingquan Gao e7e4f68b5c Revert "refactor: build_train_func & build_eval_func"
This reverts commit 6bed0f5707.
2023-03-14 16:47:13 +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
HydrogenSulfate fb763b7096 fix(dali): reset dataloader manually when using DALI dataloader during epoch training 2023-02-21 20:11:04 +08:00
zengshao0622 cddc899f34 fix dataloader next 2022-11-09 19:01:00 +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
HydrogenSulfate 61b4153907 add batch Tensor collate to simplify dali code in train/eval/retrival code 2022-10-13 12:05:50 +08:00
Yang Nie e61f392598 Merge branch 'develop' into ConvNeXt 2022-05-09 12:22:37 +08:00
HydrogenSulfate 16f910b451 add m1 and baseline config 2022-05-05 19:55:08 +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
HydrogenSulfate 97e8abc3db refine code and yaml 2022-04-24 14:38:26 +08:00
HydrogenSulfate daf7eea23d fix code 2022-04-21 15:43:53 +08:00
HydrogenSulfate dfd7749828 refine hard code 2022-04-21 14:37:00 +08:00
HydrogenSulfate 41e1a86caf add center loss 2022-04-21 00:17:54 +08:00
HydrogenSulfate 24abea151a support for multi optimizer case 2022-04-19 14:26:42 +08:00
weishengyu 1789da6422 fix bug 2022-04-18 11:26:32 +08:00
gaotingquan 7040ce8314 refactor: change params to be consistent with amp 2022-01-25 11:58:07 +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 ba2dd01a13 refactor: deprecate MixCELoss 2021-10-27 19:47:43 +08:00
Walter e4bb18766a
Merge pull request #1245 from RainFrost1/benchmark
add version 1 for benchmark
2021-10-19 10:18:16 +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
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
dongshuilong d49657ad08 fix rec forward bug 2021-09-02 07:42:22 +00: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