Commit Graph

50 Commits (a41b201e39bbe2c0ed76127ddfe19a10f5fab516)

Author SHA1 Message Date
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 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 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 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 376d83d46e refactor: simplify engine 2023-03-10 16:56:55 +08:00
tianyi1997 1070d9bec0 Create dataloader for MetaBIN 2023-02-28 15:01:21 +08:00
zh-hike 692b8d8c1f 增加data的代码复用及RecModel的修改,代码已跑通 2023-01-04 13:42:00 +08:00
zh-hike 7823f340b1 cifar10_4000跑出论文精度代码 2023-01-04 13:42:00 +08:00
HydrogenSulfate b22752e2ea refactor DALI 2022-12-13 14:27:15 +08:00
HydrogenSulfate 6cc6540ca5 add different seed for workers and replicas 2022-11-24 11:51:13 +08:00
dongshuilong 944763d7a5 add fixmatch 2022-10-25 12:04:22 +08:00
gaotingquan e823f17853 feat: support training image orientation model
add the config of orientation model
add the preprocess op RandomRot90 that can rotate the img and return the orientation
add the CustomLabelDataset that support getting label by preprocess
refactor some preprocess ops to support dict parameter and return dict
2022-09-28 20:01:48 +08:00
gaotingquan 3f8f981423 fix: support specify DALI threads num 2022-09-01 20:21:43 +08:00
Walter dcef409dde
Merge branch 'develop' into adaface 2022-05-27 14:19:03 +08:00
dongshuilong 32c99be6aa add adaface 2022-05-16 03:50:35 +00:00
Tingquan Gao 3c8f491092
Merge branch 'develop' into dev/multi-scale 2022-05-12 16:18:27 +08:00
zhangxinyu-xyz 12d1b5f9a9 Release the inference code of ISE (ReID-CVPR2022) 2022-04-18 13:23:47 +08:00
sibo2rr b6cf278663 change MultiScaleSamplerDDP into MultiScaleSampler 2022-02-15 21:31:23 +08:00
sibo2rr f2dde17623 multi scale sampler and dataset 2022-02-15 21:25:25 +08:00
gaotingquan ba2dd01a13 refactor: deprecate MixCELoss 2021-10-27 19:47:43 +08:00
weishengyu f6cfa0471c dbg 2021-09-18 11:13:54 +08:00
weishengyu de298b1ba2 dbg 2021-09-04 22:07:55 +08:00
dongshuilong 1a1eb3a1ae fix issues when gallery == query dataset 2021-08-27 06:25:27 +00:00
littletomatodonkey 9d9cd3719e
add static training (#1037)
* add static training

* fix typo

* add se fp16

* rm note

* fix loader

* fix cfg
2021-07-15 10:30:07 +08:00
Walter 73004f78f5
add fp16 amp training and dali (#993)
* add dygraph amp train
2021-07-14 22:59:23 +08:00
littletomatodonkey 2e6dfa4433
fix logger (#840)
* fix logger
* fix trainer for int64 on windows
2021-06-15 14:11:50 +08:00
root 6dd45118c9 fix some eval bugs 2021-06-12 01:08:42 +00:00
cuicheng01 57935dc4b6 fix img process bug 2021-06-11 10:25:28 +00:00
littletomatodonkey edec759fa2 fix reader 2021-06-10 09:19:49 +00:00
cuicheng01 d2e50c1e70
Update __init__.py 2021-06-10 16:46:57 +08:00
cuicheng01 fcc1b857d4 fix eval_interval bugs 2021-06-10 08:40:05 +00:00
Felix c13fe19643
Merge branch 'develop_reg' into patch-6 2021-06-07 15:51:12 +08:00
Felix 819f44db91
Update __init__.py 2021-06-07 15:45:02 +08:00
Bin Lu 75b9b6d284
Update __init__.py 2021-06-07 15:42:30 +08:00
dongshuilong 3ef9993026 fix ReID trainer bugs 2021-06-03 20:14:45 +08:00
dongshuilong c784209355 fix ReID trainer 2021-06-03 19:24:50 +08:00
weishengyu 587b2de58c dbg 2021-06-03 15:31:18 +08:00
weishengyu 65f0badf14 merge dataset and sampler -> dataloader 2021-06-03 15:14:05 +08:00
dongshuilong bba0cf8fdb add CompCars train 2021-06-02 20:04:24 +08:00
cuicheng01 d13cb22378 Add legendary_model's congigs and fix some trainer's bug 2021-06-01 17:24:21 +00:00
Felix 46955a262d
Merge branch 'develop_reg' into develop_reg 2021-05-31 21:57:23 +08:00
Felix 9c11ddca37
Update __init__.py 2021-05-31 16:47:57 +08:00
Felix b0708e6e9a
Update __init__.py 2021-05-31 16:40:45 +08:00
Felix d32846e8c4
Update __init__.py 2021-05-31 13:05:24 +08:00
littletomatodonkey dd79f81fd7
[WIP]add arch init (#744)
* polish trainer
2021-05-27 18:41:44 +08:00
WuHaobo 9f39da8859 Init PaddleClas 2020-04-09 02:16:30 +08:00