Commit Graph

998 Commits (abbe1b85c122bd4015b2f57cfc20407b8ac0375d)

Author SHA1 Message Date
weishengyu 7c6567cc6b dbg 2021-12-09 18:08:16 +08:00
weishengyu 6c5d1ebc28 add pruner and quanter for theseus 2021-12-09 14:51:40 +08:00
Bin Lu f9ee1befbf
Merge pull request #1533 from Intsigstephon/modify_binary_configure
modify binary model configure
2021-12-09 14:47:18 +08:00
weishengyu 63f7fdbf9c add logger 2021-12-08 20:02:13 +08:00
weishengyu 823074d894 dbg 2021-12-08 19:56:30 +08:00
weishengyu d05d9d8d65 update functions 2021-12-08 19:48:59 +08:00
weishengyu be220a5f09 move file to ppcls 2021-12-08 19:47:43 +08:00
dongshuilong 94cce6422f fix augmix bug 2021-12-08 07:53:33 +00:00
stephon ecbc2b998f modify binary model configure 2021-12-07 07:24:01 +00:00
cuicheng01 a3b54f15d5 fix export quant_model 2021-12-03 07:39:31 +00:00
cuicheng01 71abe2e9bf update PP-LCNet config 2021-12-01 04:08:38 +00:00
cuicheng01 5dad991c2a update se_resnext_vd.py 2021-11-30 15:06:05 +00:00
cuicheng01 bc16eed9f9
Merge pull request #1453 from cuicheng01/develop
fix class_num in quickstart
2021-11-22 12:00:56 +08:00
dongshuilong ee3c643cc1 update combined loss for accelerate classification training speed 2021-11-19 08:35:47 +00:00
cuicheng01 dd08d344af fix class_num in quickstart 2021-11-17 15:04:04 +00:00
cuicheng01 9a23b4326a
Merge pull request #1444 from RainFrost1/reid
添加车辆ReID的PPLCNet 2.5x模型
2021-11-17 15:03:29 +08:00
gaotingquan d53a06c625 fix: fix download link 2021-11-17 15:02:20 +08:00
dongshuilong c02ec9a3b3 update vehcile reid model PPLCNet2.5x 2021-11-16 06:24:57 +00:00
dongshuilong c39838778b add vehcile reid model PPLCNet2.5x 2021-11-16 06:22:03 +00:00
dongshuilong f7ccc874e2 fix dali distributed eval bug 2021-11-16 11:09:21 +08:00
cuicheng01 423144c097 fix some configs 2021-11-15 07:26:58 +00:00
gaotingquan ae6cb7d529 feat: support MixNet 2021-11-15 06:53:34 +00:00
cuicheng01 6e4bf593fb
Merge pull request #1390 from Intsigstephon/feature_binary_model
add Binary general recog configure
2021-11-12 15:25:00 +08:00
cuicheng01 fb631b38fb update esnet.py 2021-11-11 12:51:58 +00:00
cuicheng01 d868a63764 Add ESNet code and pretrained models 2021-11-11 06:00:32 +00:00
gaotingquan af25eaf799 docs: update flower102 label map list 2021-11-10 00:16:23 +08:00
gaotingquan 720c451bc4 fix: fix batch size to 64 * 4 2021-11-10 00:16:23 +08:00
gaotingquan 7ebb0b8ab1 docs: add reference link 2021-11-08 06:36:02 +00:00
Bin Lu 3b4a45f8ab
Update deephashloss.py 2021-11-06 23:32:19 +08:00
Bin Lu f7ee2b98a6
Update deephashloss.py 2021-11-06 23:14:40 +08:00
Bin Lu 13df9b9df8
Update GeneralRecognition_PPLCNet_x2_5_binary.yaml 2021-11-06 23:12:56 +08:00
Bin Lu 61a09b0d44
Update GeneralRecognition_PPLCNet_x2_5_binary.yaml 2021-11-06 23:12:29 +08:00
littletomatodonkey 67d982c30e
fix csp refer (#1404) 2021-11-05 13:54:10 +08:00
cuicheng01 d8fbc1b36b
Merge pull request #1407 from cuicheng01/develop
update vision_transformer.py
2021-11-05 11:09:44 +08:00
cuicheng01 7875e83d9e update vision_transformer.py 2021-11-05 02:53:10 +00:00
cuicheng01 5aba5f898e
Merge pull request #1396 from TingquanGao/dev/sup_docs
docs: supplement docs
2021-11-04 21:02:17 +08:00
cuicheng01 53da62b05e
Merge pull request #1395 from littletomatodonkey/dev/add_refer
add reference
2021-11-04 19:17:00 +08:00
cuicheng01 08952deb88 update codes 2021-11-04 10:47:13 +00:00
gaotingquan 8ac51f7416 fix: adapt to release 2.3 2021-11-04 09:48:34 +00:00
Bin Lu 9f2f62f3ae
Update pp_lcnet_variant.py 2021-11-04 16:58:17 +08:00
Bin Lu 17fc4595b3
Create pp_lcnet_variant.py 2021-11-04 16:44:56 +08:00
Bin Lu cad5ce842a
Update __init__.py 2021-11-04 16:44:16 +08:00
stephon 6f13c5b798 rename PPLCNet_x2_5_Tanh 2021-11-04 08:37:21 +00:00
littletomatodonkey 886856196e fix ema reference 2021-11-04 16:29:12 +08:00
littletomatodonkey cae027605c add reference 2021-11-04 16:18:26 +08:00
stephon df03b4a022 add Binary general reocg configure 2021-11-03 10:09:34 +00:00
stephon 7a17f72fc2 fix seed=0 bug 2021-11-01 06:16:24 +00:00
Walter a5d0e37b02
Merge pull request #1341 from RainFrost1/googlenet_bug
fig goooglenet distributed eval bug
2021-10-29 10:28:37 +08:00
gaotingquan d3a1a1fc45 fix: fix type of label to int64 2021-10-28 17:22:39 +08:00
gaotingquan ed459a2a16 refactor: adapt to static graph in deprecating MixCELoss 2021-10-27 19:47:43 +08:00
gaotingquan 5025d09fd8 fix: fix a DeprecationWarning & style 2021-10-27 19:47:43 +08:00
gaotingquan ba2dd01a13 refactor: deprecate MixCELoss 2021-10-27 19:47:43 +08:00
dongshuilong 278f6d8050 fig goooglenet distributed eval bug 2021-10-26 11:56:30 +00:00
ronnywang a0eb34a642
Add npu supporting (#1324) 2021-10-22 11:02:29 +08:00
Walter cc00a51af7
Merge pull request #1322 from RainFrost1/train_without_eval
fix train without eval bug
2021-10-21 15:35:05 +08:00
cuicheng01 53ed9239a0
Merge pull request #1320 from RainFrost1/develop
fix clas distributed eval bug
2021-10-21 15:31:01 +08:00
dongshuilong fd6f1ad2ca fix clas distributed eval bug 2021-10-21 03:47:03 +00:00
dongshuilong 06382519cf fix train without eval bug 2021-10-21 02:39:27 +00:00
dongshuilong c93d638f4c fix clas distributed eval bug 2021-10-20 11:22:37 +00:00
littletomatodonkey 6f2a096be3
fix ips info (#1306) 2021-10-19 16:20:35 +08:00
Walter e4bb18766a
Merge pull request #1245 from RainFrost1/benchmark
add version 1 for benchmark
2021-10-19 10:18:16 +08:00
dongshuilong 0e20e60f6b fix slim load pretrained model bug 2021-10-18 10:07:14 +00:00
Wei Shengyu 3c148cb56a
update return res method and fix amp bug (#1309)
* fix amp bug; update return res method

* support index for list object for return res
2021-10-15 18:25:50 +08:00
cuicheng01 ab92b397e0
Merge pull request #1300 from TingquanGao/dev/fix_config
fix: fix config
2021-10-15 15:37:19 +08:00
cuicheng01 70baba549a
Merge pull request #1293 from cuicheng01/develop
Add PP-LCNet docs
2021-10-15 14:24:44 +08:00
cuicheng01 612eedbbc5 Update recognition config 2021-10-14 11:57:00 +00:00
cuicheng01 2677d41998 update recognition configs 2021-10-14 11:13:57 +00:00
dongshuilong c2a9f8830e update profiler 2021-10-13 09:30:11 +00:00
dongshuilong 272bc9481d Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into benchmark 2021-10-13 09:26:28 +00:00
gaotingquan 8a5624f835 fix: fix config 2021-10-12 09:05:03 +00:00
littletomatodonkey f8b420946c
fix cspnet (#1282)
* fix cspnet

* minor fix
2021-10-11 17:23:31 +08:00
dongshuilong 3b5f2688aa fix distributied training bug for rec slim model 2021-10-09 08:42:12 +00:00
gaotingquan 7dcb2d4fd0 fix: raise exception
raise exception about using no_weight_decay of AdamW in static graph
2021-09-30 10:48:36 +00:00
gaotingquan c7aeec28e2 fix: support static graph 2021-09-30 06:57:17 +00:00
gaotingquan 0dccfb917d fix: interpolation maybe be 0 2021-09-30 06:49:41 +00:00
Wei Shengyu 879e461475
Merge pull request #1273 from weisy11/develop
remove trick code
2021-09-29 11:34:06 +08:00
weishengyu c4d54dd0e0 remove trick code 2021-09-29 10:59:16 +08:00
Walter 890f43f038
Merge pull request #1267 from RainFrost1/arcmargin
update pretrained_model for vehicle,loge model
2021-09-27 20:09:02 +08:00
weishengyu 41041092b5 add comment for pk sampler 2021-09-27 15:52:19 +08:00
weishengyu ee1bc18f3a dbg 2021-09-27 15:31:31 +08:00
dongshuilong 5aa57d2ce0 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into arcmargin 2021-09-27 07:16:28 +00:00
dongshuilong f0bf51b341 update pretrained_model for vehicle,loge model 2021-09-27 06:31:45 +00:00
cuicheng01 fe6f614680 Update multilabel 2021-09-27 03:00:37 +00:00
cuicheng01 a90881c99f
Merge branch 'develop' into add_multilabel 2021-09-26 22:47:20 +08:00
weishengyu da25931466 update lr 2021-09-26 17:09:30 +08:00
weishengyu a98bd7a73c update vehicle and logo config 2021-09-26 16:42:08 +08:00
weishengyu 8595d18945 update format 2021-09-26 16:07:05 +08:00
weishengyu be80612175 update Inshop config 2021-09-26 15:51:18 +08:00
Wei Shengyu 2483b79c5d
Merge branch 'PaddlePaddle:develop' into develop 2021-09-26 15:48:45 +08:00
cuicheng01 5992be4adf add multilabel feature 2021-09-26 07:20:11 +00:00
cuicheng01 af9aae730e add multilabel feature 2021-09-26 07:05:13 +00:00
weishengyu b84e4352b1 dbg 2021-09-26 14:28:12 +08:00
gaotingquan de859b4a3d fix: compatible with opencv under version 4.4.0 2021-09-26 13:22:38 +08:00
cuicheng01 ab5be02f57
Merge pull request #1257 from cuicheng01/fix_googlenet
fix googlenet avg-pool
2021-09-24 11:56:31 +08:00
weishengyu 6529765a0b update pksampler 2021-09-23 19:35:35 +08:00
cuicheng01 b7bab1e648 fix googlenet avg-pool 2021-09-23 08:29:07 +00:00
cuicheng01 756b6fb3de Update GeneralRecognition_PPLCNet_x2_5.yaml 2021-09-23 06:36:12 +00:00
weishengyu af25e25640 modify format 2021-09-23 11:22:25 +08:00
cuicheng01 16985020a5 Update GeneralRecognition_PPLCNet_x2_5.yaml 2021-09-23 03:20:34 +00:00
cuicheng01 126246832b Update GeneralRecognition_PPLCNet_x2_5.yaml 2021-09-23 02:51:50 +00:00
cuicheng01 929b845b2f Update GeneralRecognition_PPLCNet_x2_5.yaml 2021-09-23 02:50:08 +00:00
cuicheng01 9245804e41 Update GeneralRecognition_LCNet_x2_5.yaml 2021-09-23 02:23:44 +00:00
cuicheng01 a37332d326 Add GeneralRecognition config 2021-09-22 12:19:16 +00:00
dongshuilong 9f2ab06ec2 add profiler 2021-09-22 08:29:44 +00:00
Tingquan Gao f91bc7ba0b
perf: add parameter validation (#1249)
When using warm up, the total epoch num must be greater than warm up epoch num. Otherwise,
there will be raising warning and warm up epoch num will be set to total epoch num.
2021-09-22 14:35:37 +08:00
weishengyu 9e97569953 update sample method 2021-09-22 14:29:33 +08:00
gaotingquan 283f9fa9b6 fix: fix swin training config 2021-09-18 12:44:51 +08:00
weishengyu f6cfa0471c dbg 2021-09-18 11:13:54 +08:00
weishengyu 7830860bbf rm writer dataset and sampler 2021-09-18 11:11:48 +08:00
Wei Shengyu 6497727bbc
Merge branch 'PaddlePaddle:develop' into develop 2021-09-18 11:04:59 +08:00
cuicheng01 862c2147a5
Merge pull request #1169 from TingquanGao/dev/fix_augmentation
fix: fix augmentation
2021-09-17 20:51:11 +08:00
gaotingquan f5b32a02ea fix: fix the training configs of deit, swin, twins 2021-09-17 20:17:38 +08:00
gaotingquan 1f8cfbd69d fix: fix augmentation
Fix RandomErasing, RandAugment to be consistent with Timm and compatible with earlier PaddleClas.
Add ColorJitter implemented by PaddleVision and TimmAutoAugment borrowed from Timm Lib.
2021-09-17 11:00:00 +00:00
cuicheng01 ef2fd19bb0
Merge pull request #1243 from RainFrost1/arcmargin
fix pact bug for circlemargin arcmargin cosmargin
2021-09-17 18:56:03 +08:00
cuicheng01 9bc2041e74
Merge pull request #1228 from TingquanGao/dev/support_pil_resize
feat: support pil resize
2021-09-17 18:54:07 +08:00
cuicheng01 ba9b708acb
Merge pull request #1174 from TingquanGao/dev/add_adamw
feat: add AdamW
2021-09-17 18:53:18 +08:00
cuicheng01 36aeefcf4c
Merge pull request #1064 from TingquanGao/dev/Support_enable_cutmix_mixup
support to enable mixup and cutmix at same time
2021-09-17 18:51:34 +08:00
gaotingquan 94433634c0 fix: fix Linear & support warmup start lr & support Cosine eta_min
Support setting warmup start lr and eta_min in Cosine.
Fix bug that Linear can not decay to end_lr when setting warmup.
2021-09-17 18:41:55 +08:00
weishengyu 0bdb16af8b add pk_sampler 2021-09-17 18:08:35 +08:00
dongshuilong bd68a9cb8b update Vehicle yamls 2021-09-17 07:42:08 +00:00
dongshuilong a9a13d5984 update Vehicle yamls 2021-09-17 07:38:21 +00:00
cuicheng01 48494ec051
Merge pull request #1213 from cuicheng01/develop
Add PP-LCNet codes and configs
2021-09-17 15:29:50 +08:00
cuicheng01 d7181f6451
Merge pull request #1241 from cuicheng01/fix_Alexnet_lr_bug
fix Alexnet lr bug
2021-09-17 15:26:47 +08:00
dongshuilong 18e1cf040b fix pact bug for circlemargin arcmargin cosmargin 2021-09-16 12:17:02 +00:00
cuicheng01 43aeb572a3 fix Alexnet lr bug 2021-09-16 08:08:41 +00:00
cuicheng01 4d1f61c407 fix Alexnet lr bug 2021-09-16 07:54:16 +00:00
cuicheng01 1abbc82635
Merge pull request #1235 from RainFrost1/slim
Update MobileNetV3_large_x1_0_quantization.yaml
2021-09-15 16:01:25 +08:00
Walter 36dc2ef164
Update MobileNetV3_large_x1_0_quantization.yaml 2021-09-15 15:32:31 +08:00
littletomatodonkey 85e2407e46
fix mix training for static program (#1234) 2021-09-15 14:36:11 +08:00
gaotingquan 64c370008b feat: support pil resize
Support PIL resizse with PIL interpolation to train transformer.
Almost all vision transformer models need using PIL.Image.BICUBIC
as interpolation in resize.
2021-09-15 06:29:22 +00:00
Wei Shengyu d98b881603
Merge pull request #1208 from weisy11/fix_bug_of_theseus
dbg theseus
2021-09-15 14:04:51 +08:00
weishengyu 600067f4fc dbg 2021-09-15 11:35:49 +08:00
weishengyu e916259508 update return_res method 2021-09-15 11:03:46 +08:00
dongshuilong 94c9900ece add seed 2021-09-14 04:06:37 +00:00
Walter 74622af482
Merge pull request #1093 from RainFrost1/slim
添加slim功能
2021-09-13 19:11:43 +08:00
cuicheng01 4dc145700a
Merge pull request #1223 from cuicheng01/add_efficientnet_config
Add EfficientNet config
2021-09-13 17:42:05 +08:00
cuicheng01 8e47811d99 Update PPLCNet 2021-09-13 09:29:57 +00:00
cuicheng01 9eb098a110 Update PPLCNet config 2021-09-13 09:00:39 +00:00
cuicheng01 7df35e4875 Add EfficientNet config 2021-09-13 08:12:06 +00:00
cuicheng01 d470f34c64 Update code and docs 2021-09-13 03:18:37 +00:00
dongshuilong 8e85ef4775 update slim 2021-09-10 03:09:03 +00:00
gaotingquan b578662b32 perf: add OpSampler to support multiple ops 2021-09-08 12:53:48 +00:00
cuicheng01 4150df912e Add LCNet codes and config 2021-09-07 16:14:40 +00:00
cuicheng01 3f0b406fb2 fix tnt inference bug when bs > 1 2021-09-07 03:46:29 +00:00
weishengyu 5131956d15 dbg theseus 2021-09-06 16:18:57 +08:00
weishengyu de298b1ba2 dbg 2021-09-04 22:07:55 +08:00
weishengyu 4dc175c966 add write_hard dataset and sampler 2021-09-04 18:47:08 +08:00
weishengyu b6144fb7cf add mix dataloader and mix sampler 2021-09-04 17:11:23 +08:00
Walter ce39aea97f
Merge pull request #1187 from RainFrost1/retrieval_dataloader
fix issues when gallery == query dataset
2021-09-03 14:33:23 +08:00
dongshuilong 50f2547005 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into slim 2021-09-03 03:19:14 +00:00