Commit Graph

87 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 339be96ef5 Revert "refactor"
This reverts commit 187f38ebdd.
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 03795249c1 Revert "revert for running"
This reverts commit d3374e897e.
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 7865207096 Revert "revert for running"
This reverts commit 392b75b1ac.
2023-03-14 16:47:13 +08:00
Tingquan Gao 7d41d24ce3 Revert "support Static"
This reverts commit c30df63035.
2023-03-14 16:47:13 +08:00
Tingquan Gao fee238ff8c Revert "debug"
This reverts commit 106ff27010.
2023-03-14 16:47:13 +08:00
Tingquan Gao 876732fbcc Revert "debug"
This reverts commit ac27cb1917.
2023-03-14 16:47:13 +08:00
gaotingquan ac27cb1917 debug 2023-03-10 16:56:55 +08:00
gaotingquan 106ff27010 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 d3374e897e revert for running 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 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
tianyi1997 f313a6d873 Support training without amp 2023-02-28 15:01:21 +08:00
tianyi1997 a9b8432597 fix: wrong base class & simplify train func 2023-02-28 15:01:21 +08:00
tianyi1997 ac466b68da Create MetaBNNeck 2023-02-28 15:01:21 +08:00
tianyi1997 21e76d08b6 Modify codes based on reviews 2023-02-28 15:01:21 +08:00
tianyi1997 d79fb66e19 Create train func & cfg for MetaBIN 2023-02-28 15:01:21 +08:00
HydrogenSulfate fb763b7096 fix(dali): reset dataloader manually when using DALI dataloader during epoch training 2023-02-21 20:11:04 +08:00
HydrogenSulfate 4fdcda7c60 fix bug in randaug, train_progressive and efficientnet_v2 2023-01-31 21:15:22 +08:00
HydrogenSulfate 7e12c73e0a polish progressive training code 2023-01-31 21:15:22 +08:00
HydrogenSulfate 3a8b56801d feat(model): add EfficientNetV2 code and fix AttrDict BUG 2023-01-31 21:15:22 +08:00
zh-hike 4292c1a90d fix turtle import bug 2023-01-06 10:57:05 +08:00
zh-hike f8978a2f0c 修改cifar100参数配置 2023-01-04 13:42:00 +08:00
zh-hike d8f049ae76 增加代码规范,删除无用空格 2023-01-04 13:42:00 +08:00
zh-hike f073e97d22 增加cifar100参数yaml 2023-01-04 13:42:00 +08:00
zh-hike 009f347d64 修改空格等代码规范 2023-01-04 13:42:00 +08:00
zh-hike 692b8d8c1f 增加data的代码复用及RecModel的修改,代码已跑通 2023-01-04 13:42:00 +08:00
zh-hike 4db132444d 增加RecModel配合WideResNet代码以及参数转换成RecModel 2023-01-04 13:42:00 +08:00
zh-hike 7823f340b1 cifar10_4000跑出论文精度代码 2023-01-04 13:42:00 +08:00
zengshao0622 cddc899f34 fix dataloader next 2022-11-09 19:01:00 +08:00
HydrogenSulfate 7d9f4dcb59 change Tensor.numpy()[0] to float(Tensor) for 0-D tensor case 2022-11-01 14:37:11 +08:00