Commit Graph

1049 Commits (fea9522a69958a5cb60e5b85beeb4c8caf979ca8)

Author SHA1 Message Date
gaotingquan fea9522a69 fix: dbg 2022-04-26 12:07:59 +08:00
cuicheng01 4e6c36e269
Merge pull request #1833 from TingquanGao/dev/fix_dist_loss
fix calc metric error and calc loss error in distributed.
2022-04-22 22:41:57 +08:00
gaotingquan b86ddf470e fix: when eval only, AMP can be enabled 2022-04-22 17:49:44 +08:00
gaotingquan b5a7eea504
fix: fix the bug that DistributedBatchSampler may sample repeatedly 2022-04-22 09:39:22 +00:00
Walter 0218742ba5
Merge pull request #1868 from HydrogenSulfate/fix_optimizer_init
fix bug for static graph
2022-04-22 14:05:07 +08:00
HydrogenSulfate 0146af28b0 fix code bug 2022-04-21 17:11:07 +08:00
HydrogenSulfate aa26a8c1d8 fix bug for static graph 2022-04-21 16:31:28 +08:00
Wei Shengyu ae9860b4bc
Merge pull request #1854 from weisy11/update_delimiter
update delimiter of imagenet dataset and topk
2022-04-21 11:53:05 +08:00
weishengyu f6373eb239 dbg 2022-04-21 11:25:33 +08:00
Wei Shengyu 05770197c3
Merge pull request #1855 from flytocc/VAN_Classification
add paper citation
2022-04-20 14:46:05 +08:00
Wei Shengyu e6feb68bb8
Merge pull request #1824 from TingquanGao/dev/spt_amp_eval
fix: fp32 eval by default when enable amp
2022-04-20 14:40:46 +08:00
Walter 43a03a0c6b
Merge pull request #1853 from HydrogenSulfate/multi_optim
support for multi optimizer case
2022-04-20 14:33:07 +08:00
HydrogenSulfate 15242df170 refine optimizer/__init__.py 2022-04-20 13:10:31 +08:00
HydrogenSulfate 80b8ca3f23 fix optimizer/init.py 2022-04-20 12:16:40 +08:00
HydrogenSulfate 3f117428da fix code 2022-04-20 11:08:42 +08:00
HydrogenSulfate 3a1276d315 train_loss_func only used in train mode 2022-04-19 19:54:48 +08:00
flytocc 7b020eb2aa add paper citation 2022-04-19 19:45:19 +08:00
weishengyu f834a22e71 update delimiter 2022-04-19 16:36:46 +08:00
HydrogenSulfate 24abea151a support for multi optimizer case 2022-04-19 14:26:42 +08:00
flytocc 3f84dcb44e add random interpolation for UnifiedResize 2022-04-19 13:25:13 +08:00
flytocc c3018ebd39 add VAN-Classification code 2022-04-19 13:13:33 +08:00
Wei Shengyu a5a1c19273
Merge pull request #1851 from zhangxinyu-xyz/ISE_ReID
Release the inference code of ISE (ReID-CVPR2022)
2022-04-18 15:57:20 +08:00
gaotingquan 83ed5195c3
fix: set use_fp16_test to True when AMP O2 is enabled 2022-04-18 06:14:43 +00:00
zhangxinyu-xyz 12d1b5f9a9 Release the inference code of ISE (ReID-CVPR2022) 2022-04-18 13:23:47 +08:00
weishengyu 1789da6422 fix bug 2022-04-18 11:26:32 +08:00
weishengyu 1db85b5d3b remove pad 2022-04-18 11:07:47 +08:00
weishengyu b242f52976 remove configs 2022-04-18 11:06:08 +08:00
weishengyu 52b5918dbc Merge branch 'develop' of github.com:weisy11/PaddleClas into develop 2022-04-18 11:02:28 +08:00
gaotingquan a35cdd2aec
uncommit: sync bn is too slow to use and convert_sync_batchnorm() is not effective for BatchNorm 2022-04-14 08:19:39 +00:00
gaotingquan 13d5e59051
fix: convert bn to sync_bn
the running_mean and running_var of bn would not be synchronized in dist,
so which leads to bug that eval loss in training is inconsistent with eval only.
2022-04-14 07:36:39 +00:00
gaotingquan efde56ffc6
fix: only fp16 evaluation is supported when ampO2 is enabled 2022-04-13 12:14:14 +00:00
Walter bf12dffcd3
Merge pull request #1805 from RainFrost1/amp_o2
all model amp train config for tipc
2022-04-13 17:46:33 +08:00
gaotingquan 474c918b27
fix: fix bug of batch_size statistics error 2022-04-13 09:19:30 +00:00
gaotingquan c46189bad0
fix: fix bug about calc loss in dist 2022-04-12 06:56:44 +00:00
dongshuilong 2ecdaddfc6 fix spell error for config.py 2022-04-07 06:57:32 +00:00
gaotingquan b761325faa fix: fp32 eval by default when enable amp
If you want to eval by fp16 when enable amp, please set Amp.use_fp16_test=True, False by default.
2022-04-02 19:22:10 +08:00
cuicheng01 96fbbad038 update mobilevit.py 2022-04-01 09:06:46 +00:00
cuicheng01 44b9963b25 add mobilevit code 2022-04-01 08:51:42 +00:00
weishengyu dbb8df64d5 add reid config 2022-03-31 15:06:06 +08:00
cuicheng01 91b5337fdb
Merge pull request #1795 from cuicheng01/add_cswin
add cswin code and doc
2022-03-30 17:56:03 +08:00
dongshuilong 86fed454c1 supoort -o new config param 2022-03-30 09:12:02 +00:00
dongshuilong a944603da0 fix log twice bug 2022-03-30 08:31:35 +00:00
cuicheng01 f977c7c060 update cswin config 2022-03-30 03:40:27 +00:00
cuicheng01 4839915056 update cswin_transformer.py 2022-03-29 12:01:04 +00:00
cuicheng01 51e06d43f5 add cswin code and doc 2022-03-29 09:50:44 +00:00
cuicheng01 84ae83da7a
Merge pull request #1762 from cuicheng01/develop
fix AccuracyScore metric
2022-03-28 16:32:20 +08:00
cuicheng01 891fa1c093 fix AccuracyScore metric 2022-03-16 14:34:45 +00:00
huangqipeng b62b98d79f feat: support mlu device and amp of mlu 2022-03-14 15:48:26 +08:00
gaotingquan 456f9eac81
rename amp_O2 to amp_O2_ultra 2022-03-11 03:02:07 +00:00
gaotingquan 218da4ddf9 feat: amp_O1 -> amp_O1_ultra, amp_O2 -> amp_O2_ultra 2022-03-10 11:10:37 +08:00