182 Commits

Author SHA1 Message Date
gaotingquan
b0877289f4 disable promote kernel for amp training
compatible with paddle 2.5 and older version.
ref: https://github.com/PaddlePaddle/PaddleClas/pull/2798
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
Yang Nie
c32e2b098a Revert "Speedup EMA"
This reverts commit 35fc732dadac4761852b18512b5c5df8785e36df.
2023-04-06 15:33:30 +08:00
Yang Nie
cabdc251fe Speedup EMA 2023-04-06 15:33:30 +08:00
Tingquan Gao
5d06a88a36 Revert "refactor: simplify engine"
This reverts commit 376d83d46e54a03e96477d707a9d6addb8fee756.
2023-03-14 16:47:13 +08:00
Tingquan Gao
0efda2c75e Revert "refactor: simpfy engine.train()"
This reverts commit fad5c8e348f748f047508226c3c23335874ef9dc.
2023-03-14 16:47:13 +08:00
Tingquan Gao
5a4ee1aec4 Revert "refactor"
This reverts commit 0e28a39da3952d10efaba71b1329459bb4df9db2.
2023-03-14 16:47:13 +08:00
Tingquan Gao
56e8c5a992 Revert "mv model_saver to __init__()"
This reverts commit 0d7e595fc79dab16c96d8df75c428a0aa50050d1.
2023-03-14 16:47:13 +08:00
Tingquan Gao
339be96ef5 Revert "refactor"
This reverts commit 187f38ebdd63b0adae2abf72038dc4fb4fe4125c.
2023-03-14 16:47:13 +08:00
Tingquan Gao
915dde176a Revert "refactor: rm train and eval from engine"
This reverts commit 5a6fe171a7cfab842adc6a744f11a2e24deb5384.
2023-03-14 16:47:13 +08:00
Tingquan Gao
85e200edb6 Revert "refactor"
This reverts commit 32593b63751b922e17b59384ed64654e6fcef42d.
2023-03-14 16:47:13 +08:00
Tingquan Gao
fd7ef078fe Revert "add the amp decorator"
This reverts commit d3b7690f2102e5911410176f857313479bcdd169.
2023-03-14 16:47:13 +08:00
gaotingquan
d3b7690f21 add the amp decorator 2023-03-10 16:56:55 +08:00
gaotingquan
32593b6375 refactor 2023-03-10 16:56:55 +08:00
gaotingquan
5a6fe171a7 refactor: rm train and eval from engine 2023-03-10 16:56:55 +08:00
gaotingquan
187f38ebdd refactor
1. rm Global.eval_mode
2. add Global.task
3. mv type_name to ppcls.utils
4. build dataloader, loss, metric by mode
2023-03-10 16:56:55 +08:00
gaotingquan
0d7e595fc7 mv model_saver to __init__() 2023-03-10 16:56:55 +08:00
gaotingquan
0e28a39da3 refactor 2023-03-10 16:56:55 +08:00
gaotingquan
fad5c8e348 refactor: simpfy engine.train()
1. ModelSaver();
2. _build_ema_model();
3. _init_checkpoints();
4. others.
2023-03-10 16:56:55 +08:00
gaotingquan
376d83d46e refactor: simplify engine 2023-03-10 16:56:55 +08:00
HydrogenSulfate
7e12c73e0a polish progressive training code 2023-01-31 21:15:22 +08:00
HydrogenSulfate
3a8b56801d feat(model): add EfficientNetV2 code and fix AttrDict BUG 2023-01-31 21:15:22 +08:00
zhangyubo0722
a5a3b0f567 Delete unnecessary files 2023-01-20 14:08:06 +08:00
HydrogenSulfate
97f99cd826 refactor(retrieval): polish retrieval.py 2023-01-05 15:13:04 +08:00
zh-hike
f8978a2f0c 修改cifar100参数配置 2023-01-04 13:42:00 +08:00
gaotingquan
3d5ba52437 support image_orientation 2022-11-08 19:26:29 +08:00
HydrogenSulfate
7d9f4dcb59 change Tensor.numpy()[0] to float(Tensor) for 0-D tensor case 2022-11-01 14:37:11 +08:00
HydrogenSulfate
7e097f3c05 delete useless file and update 'print_dict' function 2022-10-27 19:15:32 +08:00
HydrogenSulfate
fd2f79943b delete useless file and update 'print_dict' function 2022-10-27 19:15:32 +08:00
cuicheng01
85bf8683cb Support for parsing label files 2022-08-29 05:49:15 +00:00
root
2a909c306a fix: change to relative import 2022-08-19 11:40:38 +08:00
root
0b1c8e93b7 fix: fix error import path 2022-08-19 11:40:38 +08:00
littletomatodonkey
26207a8c77
add mgd loss (#2161)
* add mgd loss

* add init

* fix doc
2022-07-19 10:50:51 +08:00
cuicheng01
1bbe4b5ed1
Merge pull request #1885 from flytocc/ConvNeXt
ConvNext & EMA & gradient accumulation
2022-07-14 10:45:25 +08:00
littletomatodonkey
cd64499351
fix download logic for multi-machine (#2140) 2022-07-12 11:18:00 +08:00
Yang Nie
436f64ad84 Merge branch 'develop' into ConvNeXt 2022-07-09 21:50:31 +08:00
dongshuilong
0334ba5ba8 fix logger init twice and print_info debug 2022-06-19 05:31:48 +00:00
gaotingquan
8ce6d4e924
mv to new path 2022-06-10 11:59:12 +00:00
Wei Shengyu
634227db8a
Merge pull request #2013 from cuicheng01/update_textline_orientation
update textline_orientation codes and docs
2022-06-10 15:29:13 +08:00
cuicheng01
d5173bf1a7
Merge pull request #1987 from TingquanGao/dev/pulc_whl_deploy
[WIP] feat: support PULC to deploy with whl
2022-06-10 15:22:22 +08:00
cuicheng01
55d94aff89 update textline_orientation codes and docs 2022-06-10 06:58:31 +00:00
gaotingquan
c8a4f47b6e
upload PULC label list files 2022-06-09 06:59:47 +00:00
lvjian0706
3375336ed1 add_multilingual_text_image_orientation 2022-06-09 13:53:18 +08:00
gaotingquan
c22bdc7e54
remove fluid 2022-05-26 07:40:15 +00:00
cuicheng01
e894fa861d
Merge branch 'develop' into add_person_demo 2022-05-25 15:30:07 +08:00
cuicheng01
33a15cfdae fix static training bugs 2022-05-24 17:02:44 +00:00
zhiboniu
699c10aaeb Merge remote-tracking branch 'ppcls/develop' into develop 2022-05-23 08:03:46 +00:00
cuicheng01
8f5fe61540
Merge pull request #1925 from cuicheng01/add_person_demo
Add person demo
2022-05-23 09:26:49 +08:00
zhiboniu
0a3ecf60b4 add attribute strongbaseline 2022-05-18 04:54:43 +00:00
littletomatodonkey
afafb8f41d fix save load 2022-05-17 13:24:24 +00:00