1690 Commits

Author SHA1 Message Date
Tingquan Gao
0a38723196 Revert "add amp decorator and parse_batch decorator"
This reverts commit 400858834394b830cce314971f6826a1b89dab81.
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
Tingquan Gao
03795249c1 Revert "revert for running"
This reverts commit d3374e897e162053d93a20c21142135c3e7ee11c.
2023-03-14 16:47:13 +08:00
Tingquan Gao
7353b0735b Revert "debug"
This reverts commit a41b201e39bbe2c0ed76127ddfe19a10f5fab516.
2023-03-14 16:47:13 +08:00
Tingquan Gao
8002ccf4b6 Revert "support ShiTu"
This reverts commit 9beb154bc3d082f521b05df49d538f93d5e5c0d4.
2023-03-14 16:47:13 +08:00
Tingquan Gao
7865207096 Revert "revert for running"
This reverts commit 392b75b1acac742b74e808353059d0281df26dcc.
2023-03-14 16:47:13 +08:00
Tingquan Gao
7d41d24ce3 Revert "support Static"
This reverts commit c30df630356604fe0846de769d92a04d0130af61.
2023-03-14 16:47:13 +08:00
Tingquan Gao
b47fa5f50e Revert "debug"
This reverts commit 58daf805a9e206d03f2a49bed3cb90a56c85b1f3.
2023-03-14 16:47:13 +08:00
Tingquan Gao
8adb5f4a32 Revert "debug for dali"
This reverts commit c641fb3c516891e97375f34df653f252c4e008ca.
2023-03-14 16:47:13 +08:00
Tingquan Gao
578054dddd Revert "debug for infer"
This reverts commit 428edb6ff88fd5376a9262cfaec8f114f2d4327e.
2023-03-14 16:47:13 +08:00
Tingquan Gao
fee238ff8c Revert "debug"
This reverts commit 106ff27010a86e5fb6ac5a8fd31ad8335dcc90d2.
2023-03-14 16:47:13 +08:00
Tingquan Gao
50284e7b58 Revert "debug"
This reverts commit ab29eaa89c3bc89e0b7420c869a880d4fbb1878f.
2023-03-14 16:47:13 +08:00
Tingquan Gao
8580242724 Revert "debug"
This reverts commit a41a5bcb4d055e88b6a83b76a4607651656cdf51.
2023-03-14 16:47:13 +08:00
Tingquan Gao
0055ca2ffe Revert "debug"
This reverts commit 9e683d0d6934cae517bd73a0d3c4260cbef98e0c.
2023-03-14 16:47:13 +08:00
Tingquan Gao
753270abcf Revert "debug"
This reverts commit afc9b4c69417d79c65c5b050311ad3c5602d9258.
2023-03-14 16:47:13 +08:00
Tingquan Gao
876732fbcc Revert "debug"
This reverts commit ac27cb1917fcf9e7cb9ce2e817cec096369facab.
2023-03-14 16:47:13 +08:00
Tingquan Gao
97a8bb7fda Revert "debug"
This reverts commit 2a61ac65bf5d3853c3fb9a27669e265c1b1c7c01.
2023-03-14 16:47:13 +08:00
zengshao0622
0adb827121 fix cae dataset 2023-03-14 15:56:21 +08:00
zengshao0622
2a454abe3d fix cae dataset 2023-03-14 15:56:21 +08:00
zengshao0622
d66010956d fix cae dataset 2023-03-14 15:56:21 +08:00
gaotingquan
2a61ac65bf debug 2023-03-10 16:56:55 +08:00
gaotingquan
ac27cb1917 debug 2023-03-10 16:56:55 +08:00
gaotingquan
afc9b4c694 debug 2023-03-10 16:56:55 +08:00
gaotingquan
9e683d0d69 debug 2023-03-10 16:56:55 +08:00
gaotingquan
a41a5bcb4d debug 2023-03-10 16:56:55 +08:00
gaotingquan
ab29eaa89c debug 2023-03-10 16:56:55 +08:00
gaotingquan
106ff27010 debug 2023-03-10 16:56:55 +08:00
gaotingquan
428edb6ff8 debug for infer 2023-03-10 16:56:55 +08:00
gaotingquan
c641fb3c51 debug for dali 2023-03-10 16:56:55 +08:00
gaotingquan
58daf805a9 debug 2023-03-10 16:56:55 +08:00
gaotingquan
c30df63035 support Static 2023-03-10 16:56:55 +08:00
gaotingquan
392b75b1ac revert for running 2023-03-10 16:56:55 +08:00
gaotingquan
9beb154bc3 support ShiTu 2023-03-10 16:56:55 +08:00
gaotingquan
a41b201e39 debug 2023-03-10 16:56:55 +08:00
gaotingquan
d3374e897e revert for running 2023-03-10 16:56:55 +08:00
gaotingquan
d3b7690f21 add the amp decorator 2023-03-10 16:56:55 +08:00
gaotingquan
4008588343 add amp decorator and parse_batch decorator 2023-03-10 16:56:55 +08:00
gaotingquan
32593b6375 refactor 2023-03-10 16:56:55 +08:00
gaotingquan
d3941dc1e9 rm amp code from train and eval & use decorator for amp training 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
97935164fe use decorator to parse batch 2023-03-10 16:56:55 +08:00
gaotingquan
73e2cde617 mv some attrs to __init__() 2023-03-10 16:56:55 +08:00
gaotingquan
0d7e595fc7 mv model_saver to __init__() 2023-03-10 16:56:55 +08:00
gaotingquan
6e77bd6cd5 rm codes for compatibility with old version 2023-03-10 16:56:55 +08:00
gaotingquan
f525cea006 replace the arg engine with config 2023-03-10 16:56:55 +08:00
gaotingquan
e4a3e1bb12 backbone_zoo -> backbone 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
a38e42f644 refactor: iter_per_epoch -> max_iter 2023-03-10 16:56:55 +08:00