5013 Commits

Author SHA1 Message Date
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
427b293c21 fix benchmark 2023-06-05 21:23:35 +08:00
mmglove
259c0ca9de fix profiler 2023-06-05 21:23:35 +08:00
mmglove
b795b67406 fix benchmark 2023-06-05 21:23:35 +08:00
mmglove
6bae61c935 fix benchmark 2023-06-05 21:23:35 +08:00
gaotingquan
bdfa1feb2f update for amp config refactoring 2023-05-29 19:52:09 +08:00
gaotingquan
09817fe859 complete amp args 2023-05-29 19:52:09 +08:00
gaotingquan
b3f7e3b974 unify comments 2023-05-29 19:52:09 +08:00
gaotingquan
8405882f11 debug 2023-05-29 19:52:09 +08:00
gaotingquan
81b54c05d5 fix error words 2023-05-29 19:52:09 +08:00
gaotingquan
0f86c55576 add amp args, use_amp=False 2023-05-29 19:52:09 +08:00
gaotingquan
2d8346cd3b fix _init_amp when export 2023-05-29 19:52:09 +08:00
gaotingquan
5bb2e8c339 add clip tipc config 2023-05-26 15:40:48 +08:00
gaotingquan
f67cfe2c2a fix ema: set_value() -> paddle.assign() 2023-05-26 15:40:48 +08:00
gaotingquan
2823e48be5 fix head_init_scale 2023-05-26 15:40:48 +08:00
gaotingquan
042d1e7ef8 fix layer key name for dynamic lr in adamwdl optimizer 2023-05-26 15:40:48 +08:00
gaotingquan
80ae9079cd add clip finetune config 2023-05-26 15:40:48 +08:00
gaotingquan
6d924f85ee fix for clip
1. fix bias_attr to False for conv of PatchEmbed;
2. support return_tokens_mean for Head of CLIP;
3. support remove_cls_token_in_forward for CLIP;
4. support head_init_scale argument for ViT backbone;
5. support get_num_layers() and no_weight_decay() for ViT backbone.
2023-05-26 15:40:48 +08:00
gaotingquan
2e9d853419 larger has been upload to bos 2023-05-25 16:57:16 +08:00
gaotingquan
d71971ab84 add ultra tipc config 2023-05-25 16:57:16 +08:00
gaotingquan
126487d6b4 fix training config path 2023-05-25 16:57:16 +08:00
gaotingquan
439cd4170f fix model name 2023-05-25 16:57:16 +08:00
gaotingquan
74e6c8aa33 add fp32 and ampo2 ultra configs 2023-05-25 16:57:16 +08:00
gaotingquan
50b6615002 rm d2s 2023-05-25 16:57:16 +08:00
gaotingquan
f469dfe8d2 decrease bs 2023-05-25 16:57:16 +08:00
gaotingquan
9d92f768d0 fix python3.7 -> python3.10 2023-05-25 16:57:16 +08:00
gaotingquan
537ce8144a add ultra tipc config 2023-05-25 16:57:16 +08:00
gaotingquan
53ac4675ad warmup 5 epochs 2023-05-25 16:57:16 +08:00
gaotingquan
c2802b90aa increase bs, num_workers to speed up 2023-05-25 16:57:16 +08:00
gaotingquan
b2ba6994a0 add ultra configs 2023-05-25 16:57:16 +08:00
gaotingquan
75b0f7d26f fix fp32 invalid when amp used by default & support amp arg 2023-05-25 16:16:02 +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
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
f884f28853 refactor amp 2023-05-25 11:58:05 +08:00
Yang Nie
b2cb417842 add-tinynet-tipc-configs 2023-05-23 19:33:25 +08:00
gaotingquan
b3678234fe fix bug when update_freq > iter_per_epoch 2023-05-17 15:19:13 +08:00
gaotingquan
377950865c getargspec -> getfullargspec
getargspec dont support param annotations
2023-05-17 15:19:13 +08:00
gaotingquan
7e0207e5a4 fix resize param of tipc infer config 2023-05-17 15:19:13 +08:00
gaotingquan
bb831c3baa code style 2023-05-17 15:19:13 +08:00
gaotingquan
70a784ce52 fix model name to MobileViTV3 2023-05-17 15:19:13 +08:00
gaotingquan
a3e9e99fa0 revert: fix bs 2023-05-17 15:19:13 +08:00
gaotingquan
1770e14e28 rename: v3 -> V3 2023-05-17 15:19:13 +08:00
gaotingquan
f42d6b6204 fix name: w24 -> W24 2023-05-17 15:19:13 +08:00
gaotingquan
07b9162bc0 fix pretrained url 2023-05-17 15:19:13 +08:00
gaotingquan
a1fa19cd29 rename: v3 -> V3 2023-05-17 15:19:13 +08:00
gaotingquan
2091a59ff5 fix reference url 2023-05-17 15:19:13 +08:00
gaotingquan
890f77411a fix bs and unset update_freq to adapt to 8 gpus 2023-05-17 15:19:13 +08:00