Commit Graph

136 Commits (e7e4f68b5cd80383b36352cccabd331a53e149ef)

Author SHA1 Message Date
Tingquan Gao e7e4f68b5c Revert "refactor: build_train_func & build_eval_func"
This reverts commit 6bed0f5707.
2023-03-14 16:47:13 +08:00
Tingquan Gao f2fc43baeb Revert "refactor: mv all dataloaders to engine.dataloader_dict"
This reverts commit 284e2a6756.
2023-03-14 16:47:13 +08:00
Tingquan Gao a1e840e0da Revert "refactor: iter_per_epoch -> max_iter"
This reverts commit a38e42f644.
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 f42719afbb Revert "replace the arg engine with config"
This reverts commit f525cea006.
2023-03-14 16:47:13 +08:00
Tingquan Gao 7243f1429b Revert "rm codes for compatibility with old version"
This reverts commit 6e77bd6cd5.
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 f1a7a22a34 Revert "mv some attrs to __init__()"
This reverts commit 73e2cde617.
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 aa52682c55 Revert "rm amp code from train and eval & use decorator for amp training"
This reverts commit d3941dc1e9.
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 8002ccf4b6 Revert "support ShiTu"
This reverts commit 9beb154bc3.
2023-03-14 16:47:13 +08:00
Tingquan Gao b47fa5f50e Revert "debug"
This reverts commit 58daf805a9.
2023-03-14 16:47:13 +08:00
Tingquan Gao 578054dddd Revert "debug for infer"
This reverts commit 428edb6ff8.
2023-03-14 16:47:13 +08:00
Tingquan Gao 0055ca2ffe Revert "debug"
This reverts commit 9e683d0d69.
2023-03-14 16:47:13 +08:00
gaotingquan 9e683d0d69 debug 2023-03-10 16:56:55 +08:00
gaotingquan 428edb6ff8 debug for infer 2023-03-10 16:56:55 +08:00
gaotingquan 58daf805a9 debug 2023-03-10 16:56:55 +08:00
gaotingquan 9beb154bc3 support ShiTu 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 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 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 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
gaotingquan 81de331e00 rename to re_parameterize() for re-parameterization nets 2023-01-06 20:29:07 +08:00
HydrogenSulfate 97398d9f12 fix export pretrained_model when it is None 2022-12-16 18:46:21 +08:00
HydrogenSulfate 51d71016ac support web link for 'Global.pretrained_model' when export models 2022-12-16 18:46:21 +08:00
HydrogenSulfate 6cc6540ca5 add different seed for workers and replicas 2022-11-24 11:51:13 +08:00
HydrogenSulfate 1ad4167fdc fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate 25ed25372a fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate c07758b331 fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate 7ff257ea69 fix random seed bug for pksampler in DDP 2022-11-22 16:47:47 +08:00
USTCKAY 0cec70bd22 [CustomDevice]add support for custom NPU, test=develop 2022-10-26 10:33:10 +08:00
dongshuilong 944763d7a5 add fixmatch 2022-10-25 12:04:22 +08:00
HydrogenSulfate 09200a31f4 remove redundant code, fix bugs in lr.step, merge GoodsDataset into Vehicle 2022-10-19 07:18:21 +00:00
HydrogenSulfate 2cfd8dd828 add xbm 2022-10-17 15:45:45 +08:00
cuicheng01 0b9f62262a
Merge branch 'develop' into fix_multilabel 2022-09-14 14:41:32 +08:00
HydrogenSulfate 5a4874079d fix some bugs 2022-08-23 10:59:30 +00:00
HydrogenSulfate 1b5e00e82a add PP-ShiTuV2 code 2022-08-23 07:54:58 +00:00
cuicheng01 eade1b7232 fix multilabel 2022-08-22 06:40:26 +00:00