Commit Graph

4842 Commits (dev_hackathon4)
 

Author SHA1 Message Date
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
gaotingquan 284e2a6756 refactor: mv all dataloaders to engine.dataloader_dict 2023-03-10 16:56:55 +08:00
gaotingquan efe0d45c99 refactor: rm irrelevant code 2023-03-10 16:56:55 +08:00
gaotingquan 6bed0f5707 refactor: build_train_func & build_eval_func
1. rm engine.device and use paddle.device.get_device() instead;
2. mv some code to build_train_func or build_eval_func to simpfy engine.
2023-03-10 16:56:55 +08:00
gaotingquan 75a20ba557 refactor: add ClassModel to unify model forward interface 2023-03-10 16:56:55 +08:00
gaotingquan 376d83d46e refactor: simplify engine 2023-03-10 16:56:55 +08:00
yunyaoXYY 4cd9dc0e05 fix faiss bug 2023-03-07 15:09:43 +08:00
gaotingquan d0c01a97e6 add rfc for hackathon 2023-03-06 18:47:30 +08:00
HydrogenSulfate 4965c6336f update android demo doc in quick start 2023-03-03 16:29:48 +08:00
dolcexu c779cc14eb adamwdl fix 2023-03-02 19:20:18 +08:00
gaotingquan 995c8b262f replace with mini dataset 2023-03-01 19:56:46 +08:00
HydrogenSulfate bd9aee7d55 format MetaBIN_ResNet50_cross_domain.yaml and metabin.md 2023-02-28 15:01:21 +08:00
HydrogenSulfate cc638a9d02 update pretrained_model and inference model link in TIPC config and refine TIPC script 2023-02-28 15:01:21 +08:00
tianyi1997 099310efe2 Update tipc 2023-02-28 15:01:21 +08:00
tianyi1997 6fad15edae Add tipc for MetaBIN 2023-02-28 15:01:21 +08:00
tianyi1997 e0847f1800 Update pretrained backbone 2023-02-28 15:01:21 +08:00
tianyi1997 f313a6d873 Support training without amp 2023-02-28 15:01:21 +08:00
tianyi1997 4553d22cf1 Modify save_interval 2023-02-28 15:01:21 +08:00
tianyi1997 186e21efc9 fix: remove typos 2023-02-28 15:01:21 +08:00
tianyi1997 74fa0cc203 Modify docstring 2023-02-28 15:01:21 +08:00
tianyi1997 fad8563e99 Create doc for MetaBIN 2023-02-28 15:01:21 +08:00
tianyi1997 8229930391 Rename cfg 2023-02-28 15:01:21 +08:00