Commit Graph

191 Commits (a119eb41914e1947d06ecadab9328a0cf09312ea)

Author SHA1 Message Date
zhangyubo0722 f4de50226a
fix gbk (#2943)
* fix gbk

* fix_bug
2023-09-01 19:29:25 +08:00
zhangyubo0722 a60d18a3d8
[uapi]save_predict_result (#2928)
* save_predict_result

* save_predict_result
2023-08-28 19:40:51 +08:00
Bobholamovic b4f10436cf Rename variable 2023-06-26 14:20:38 +08:00
Bobholamovic d6137854e2 Accommodate UAPI 2023-06-26 14:20:38 +08:00
mmglove dd9b186e82 ppcls/utils/profiler.py 2023-06-05 21:23:35 +08:00
mmglove 54d27a1204 fix profiler 2023-06-05 21:23:35 +08:00
mmglove 259c0ca9de fix profiler 2023-06-05 21:23:35 +08:00
gaotingquan f67cfe2c2a fix ema: set_value() -> paddle.assign() 2023-05-26 15:40:48 +08:00
gaotingquan 14d06fb6bd support AMP.use_amp arg 2023-05-25 16:16:02 +08:00
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 376d83d46e.
2023-03-14 16:47:13 +08:00
Tingquan Gao 0efda2c75e Revert "refactor: simpfy engine.train()"
This reverts commit fad5c8e348.
2023-03-14 16:47:13 +08:00
Tingquan Gao 5a4ee1aec4 Revert "refactor"
This reverts commit 0e28a39da3.
2023-03-14 16:47:13 +08:00
Tingquan Gao 56e8c5a992 Revert "mv model_saver to __init__()"
This reverts commit 0d7e595fc7.
2023-03-14 16:47:13 +08:00
Tingquan Gao 339be96ef5 Revert "refactor"
This reverts commit 187f38ebdd.
2023-03-14 16:47:13 +08:00
Tingquan Gao 915dde176a Revert "refactor: rm train and eval from engine"
This reverts commit 5a6fe171a7.
2023-03-14 16:47:13 +08:00
Tingquan Gao 85e200edb6 Revert "refactor"
This reverts commit 32593b6375.
2023-03-14 16:47:13 +08:00
Tingquan Gao fd7ef078fe Revert "add the amp decorator"
This reverts commit d3b7690f21.
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