5014 Commits

Author SHA1 Message Date
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
gaotingquan
5fde410dd6 fix: export.py -> export_model.py 2023-03-14 16:15:30 +08:00
gaotingquan
915f3dbb96 fix acc metric 2023-03-14 16:15:30 +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
402bd05dc2 add to_static_train:-o Global.to_static=True 2023-03-14 11:47:39 +08:00
zhangyubo0722
49123f515f modify 2023-03-14 11:06:54 +08:00
zhangyubo0722
dcd41e3c99 modify 2023-03-14 11:06:54 +08:00
zhangyubo0722
073a7d9b86 add tipc config4 2023-03-14 11:06:54 +08:00
zhangyubo0722
cc1ca4293f modify 2023-03-10 19:49:03 +08:00
zhangyubo0722
a3058040bb add_tipc_config 2023-03-10 19:49:03 +08:00
zhangyubo0722
736b18a3ba add_tipc_config 2023-03-10 19:49:03 +08:00
zhangyubo0722
af54a2ba7b add tipc config 1 2023-03-10 19:49:03 +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