Commit Graph

1621 Commits (00a2863414bac8a09dc74e4fa37e985cbac8b503)

Author SHA1 Message Date
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
littletomatodonkey dab99e3e88
fix config yaml (#2214) 2022-08-19 12:15:10 +08:00
root 2a909c306a fix: change to relative import 2022-08-19 11:40:38 +08:00
root 0b1c8e93b7 fix: fix error import path 2022-08-19 11:40:38 +08:00
HydrogenSulfate a646adf754 refine docstring 2022-08-18 20:20:07 +08:00
HydrogenSulfate 84870b771d add assert for DistributedRandomIdentitySampler and refine docstring for DistributedRandomIdentitySampler&Pksampler 2022-08-18 20:16:55 +08:00
root b1b45eaff0 fix: fix the pretrained url 2022-08-18 17:06:48 +08:00
littletomatodonkey 26207a8c77
add mgd loss (#2161)
* add mgd loss

* add init

* fix doc
2022-07-19 10:50:51 +08:00
cuicheng01 6cfdf8af5a fix peleenet config 2022-07-15 11:39:46 +00:00
cuicheng01 84c2974d3a fix peleenet and convnext 2022-07-14 09:59:54 +00:00
cuicheng01 1fccb35be7
Merge branch 'develop' into PeleeNet_PR 2022-07-14 10:47:06 +08:00
cuicheng01 1bbe4b5ed1
Merge pull request #1885 from flytocc/ConvNeXt
ConvNext & EMA & gradient accumulation
2022-07-14 10:45:25 +08:00
Wei Shengyu 0707ff6fe0
Merge pull request #2123 from zoooo0820/add_train_cfg_for_calling
add training cfg for pphuman calling model
2022-07-13 14:32:27 +08:00
littletomatodonkey cd64499351
fix download logic for multi-machine (#2140) 2022-07-12 11:18:00 +08:00
Yang Nie 3248cc5819 update `DecodeImage` 2022-07-09 23:30:13 +08:00
Yang Nie 4266b8790d rename `ConvNext` to `ConvNeXt` 2022-07-09 23:25:50 +08:00
Yang Nie eb6e0d10fc fix typo 2022-07-09 21:56:36 +08:00
Yang Nie 436f64ad84 Merge branch 'develop' into ConvNeXt 2022-07-09 21:50:31 +08:00
Walter d8c1d824a9
Merge pull request #1978 from HydrogenSulfate/add_reid_doc
add reid docs and images
2022-07-07 15:00:17 +08:00
Walter 7d1fe2c80b
Merge pull request #2135 from HydrogenSulfate/fix_amp_train
add amp train doc
2022-07-07 10:11:42 +08:00
HydrogenSulfate 266db4d89c fix classification bug 2022-07-06 20:38:40 +08:00
littletomatodonkey 14d6b7efa4
add dist algo (#2133)
* add dist_kd

* add doc

* fix some typos
2022-07-06 16:30:01 +08:00
littletomatodonkey 5b1c5eee1e
revert bug of pr #2115 (#2124)
* revert bug of pr #2115

* fix yaml
2022-07-04 13:58:22 +08:00
zoooo0820 cfc06e059c add training cfg for pphuman calling model 2022-07-01 12:14:46 +00:00
cuicheng01 f729688e88
Merge pull request #2118 from littletomatodonkey/dev/fix_va_dist
fix cfg
2022-06-30 20:47:57 +08:00
littletomatodonkey 2796ad1cd7 fix cfg 2022-06-30 19:07:07 +08:00
cuicheng01 a614dbe313 fix multilabel_dataset bug 2022-06-29 06:51:40 +00:00
HydrogenSulfate f3f0605c7e
Merge pull request #2106 from HydrogenSulfate/add_pact_chain
Add quant chain
2022-06-28 20:13:43 +08:00
littletomatodonkey 9cdbdca4ee
add support for unlabel training (#2103) 2022-06-28 15:58:07 +08:00
HydrogenSulfate 4b0dd292e3 debug 2022-06-28 06:54:50 +00:00
HydrogenSulfate e8fc16d76b update rep condition 2022-06-28 05:58:14 +00:00
HydrogenSulfate de1e9cab74 update pact chain 2022-06-28 04:06:54 +00:00
HydrogenSulfate 27dd1bc73c merge develop and solve conflicts 2022-06-27 15:48:36 +08:00
HydrogenSulfate e866a217bf update configs 2022-06-24 18:37:01 +08:00
HydrogenSulfate 8cb2ec8d9c
Merge branch 'PaddlePaddle:develop' into add_ampO2_train 2022-06-24 16:11:14 +08:00
HydrogenSulfate 2b758dec3f add pact chain configs and refine related scripts 2022-06-22 17:45:58 +00:00
HydrogenSulfate 43410aa852 update config, add amp eval for retrieval 2022-06-21 23:03:56 +08:00
Wei Shengyu da0ae9ef12
Merge pull request #2084 from RainFrost1/develop
fix logger init twice and print_info debug
2022-06-21 17:24:37 +08:00
HydrogenSulfate 3b1247d069 fix bug in RandCropImageV2 2022-06-20 10:53:19 +08:00
dongshuilong 0334ba5ba8 fix logger init twice and print_info debug 2022-06-19 05:31:48 +00:00
cuicheng01 4ba0e4bef3
Merge pull request #2074 from cuicheng01/update_pulc_docs
update pulc docs
2022-06-16 16:44:31 +08:00
littletomatodonkey 2b1713b603
fix udml cfg (#2073) 2022-06-16 14:03:37 +08:00
cuicheng01 fe9dd370e4 update pulc docs 2022-06-16 06:02:36 +00:00
dongshuilong 49f010a1c6 add r50 dynamic fp16 train for benchmark 2022-06-15 14:33:17 +00:00
cuicheng01 5f4c8774b3
Merge pull request #2056 from cuicheng01/update_pulc_config
update pulc configs
2022-06-14 15:58:27 +08:00
cuicheng01 ea1ba04fae update pulc configs 2022-06-14 07:54:57 +00:00
Walter 5010bee691
Merge pull request #1988 from FeixLiu/update_dataloader
[bug fixer] Update dataloader to handle index error
2022-06-14 11:05:29 +08:00
cuicheng01 61b7b3487a
Merge pull request #1926 from nemonameless/fix_ShuffleNetV2_x2_0_ch
fix ShuffleNetV2 config
2022-06-14 10:43:43 +08:00
cuicheng01 4a247f49dc update resnet.py 2022-06-13 21:04:28 +08:00
cuicheng01 50f651e448
Merge pull request #2035 from TingquanGao/add_pulc_safetyhelmet
docs: update label name in demo img
2022-06-13 21:03:01 +08:00
gaotingquan a3a3da2165
fix: fix demo img path 2022-06-13 12:08:23 +00:00
gaotingquan 2b97ad5987
fix: fix label name 2022-06-13 12:08:23 +00:00
littletomatodonkey e19731a36a
fix traffic sign yaml (#2040) 2022-06-13 20:00:48 +08:00
gaotingquan 23b0e1388c
fix: fix bs lr 2022-06-13 08:26:36 +00:00
cuicheng01 c1530e1eea update pulc docs 2022-06-13 07:33:22 +00:00
cuicheng01 63ccc3a3c2 update pulc docs 2022-06-13 03:07:00 +00:00
Wei Shengyu 961fdd2c52
Merge pull request #2026 from weisy11/update_car_doc
Update car doc
2022-06-13 03:17:33 +08:00
weishengyu a3c154fae2 add car_config 2022-06-13 01:21:25 +08:00
gaotingquan e43ce1c8af
fix: update the path of label name file 2022-06-10 12:22:19 +00:00
gaotingquan 8ce6d4e924
mv to new path 2022-06-10 11:59:12 +00:00
cuicheng01 a00291fec2
Merge pull request #2014 from cuicheng01/update_person_attribute
Update person_attribute code and docs
2022-06-10 17:05:30 +08:00
Wei Shengyu ba1043e405
Merge pull request #1974 from TingquanGao/add_pulc_safetyhelmet
[WIP] add safety helmet
2022-06-10 15:30:41 +08:00
Wei Shengyu b3f963cdd0
Merge pull request #2012 from littletomatodonkey/dev/fix_vehicle_attr
fix docs of whl
2022-06-10 15:29:59 +08:00
Wei Shengyu 634227db8a
Merge pull request #2013 from cuicheng01/update_textline_orientation
update textline_orientation codes and docs
2022-06-10 15:29:13 +08:00
cuicheng01 d5173bf1a7
Merge pull request #1987 from TingquanGao/dev/pulc_whl_deploy
[WIP] feat: support PULC to deploy with whl
2022-06-10 15:22:22 +08:00
gaotingquan 5f8c4a650c
fix 2022-06-10 07:21:09 +00:00
cuicheng01 194077d8bc
Merge pull request #1986 from lvjian0706/add_multilingual_text_image_orientation
add_multilingual_text_image_orientation
2022-06-10 15:14:28 +08:00
littletomatodonkey a1c4bbdb8d fix doc 2022-06-10 07:07:26 +00:00
cuicheng01 55d94aff89 update textline_orientation codes and docs 2022-06-10 06:58:31 +00:00
cuicheng01 9c18873a40 Update person_attribute code and docs 2022-06-10 06:44:50 +00:00
littletomatodonkey 43f49482a9 fix docs of whl 2022-06-10 05:55:08 +00:00
gaotingquan 982bd2b29d
fix 2022-06-09 13:23:57 +00:00
lvjian0706 44a17b05a8 add_multilingual_text_image_orientation 2022-06-09 17:05:50 +08:00
gaotingquan 3bfdc5c4b5
fix 2022-06-09 07:44:10 +00:00
littletomatodonkey b01a79aba7
fix swin (#2004) 2022-06-09 15:08:45 +08:00
gaotingquan c8a4f47b6e
upload PULC label list files 2022-06-09 06:59:47 +00:00
littletomatodonkey 794af8c06f
add kd doc (#1997)
* add kd doc

* fix

* add ssld doc

* fix ssld

* fix ssld

* Update knowledge_distillation.md

* fix doc

* fix dist export

* fix

* add dist doc

* fix speed info

* Update ssld.md

* Update ssld.md
2022-06-09 14:52:50 +08:00
gaotingquan 08e2733199
fix: threshold of output 2022-06-09 06:30:29 +00:00
lvjian0706 1540eb34e8 add_multilingual_text_image_orientation 2022-06-09 14:27:53 +08:00
lvjian0706 3375336ed1 add_multilingual_text_image_orientation 2022-06-09 13:53:18 +08:00
cuicheng01 fed4ea6920
Merge pull request #2001 from cuicheng01/add_person_demo
update person_exists docs and  configs
2022-06-09 12:41:25 +08:00
gaotingquan ebe19ce844
fix 2022-06-09 03:41:43 +00:00
cuicheng01 f99b1ec529
Merge branch 'develop' into Add_PULC_demo 2022-06-09 11:12:06 +08:00
cuicheng01 5670eb0d50 update MobileNetV3_small_x0_35.yaml 2022-06-08 13:48:10 +00:00
HydrogenSulfate 458fd345d3 polish reid doc 2022-06-08 21:44:45 +08:00
gaotingquan 16616c8065
update demo img 2022-06-08 12:37:57 +00:00
cuicheng01 94b49ee656 update person_exists docs and configs 2022-06-08 12:35:28 +00:00
gaotingquan a6de2c4847
fix: dml -> udml 2022-06-07 12:20:04 +00:00
gaotingquan ae3c488d0a
mv 2022-06-07 12:15:42 +00:00
gaotingquan 8e34be5176
fix: fix output & rm mixup and cutmix 2022-06-07 12:15:42 +00:00
Tingquan Gao 1a7d2209e3
add safety helmet config 2022-06-07 12:15:42 +00:00
Tingquan Gao b457c393eb
fix: dbg (#1993)
1. config["Metric"]["Train"] may be None
2. fliter -> list
2022-06-07 20:08:48 +08:00
Wei Shengyu 0ad0c2e098
Create .gitkeep 2022-06-07 18:56:52 +08:00
littletomatodonkey def286bac8
add support for no dist (#1989) 2022-06-07 17:25:22 +08:00
liuyuang 0d2769d2d4 handle index error for dataloader 2022-06-07 11:26:15 +08:00
lvjian0706 5da106452b add_multilingual_text_image_orientation 2022-06-06 21:10:06 +08:00
gaotingquan a43f8539ea fix: warn and fix when topk parameter setting is wrong 2022-06-06 16:47:57 +08:00
gaotingquan 80358efbe2 fix: pop TopkAcc when using batch_transform_ops 2022-06-06 16:47:57 +08:00
gaotingquan ccefbd7864 fix: dbg 2022-06-06 16:47:57 +08:00
gaotingquan df3e75dde4 fix: warn when topk parameter setting is wrong 2022-06-06 16:47:57 +08:00
lvjian0706 1252484303 add_multilingual_text_image_orientation 2022-06-06 16:17:56 +08:00
littletomatodonkey 4003cdb7ad
add traffic sign yaml (#1966)
* add traffic sign and vehicle attr doc and yaml
2022-06-06 13:13:50 +08:00
Wei Shengyu d039691fce
Merge pull request #1963 from TingquanGao/dev/rm_fluid
remove fluid
2022-06-06 10:54:16 +08:00
cuicheng01 06d8ad0790
Merge pull request #1972 from cuicheng01/add_person_demo
Update person_exists docs and configs
2022-06-02 03:10:17 +08:00
cuicheng01 0d4a6cb85f update person_attribute config 2022-06-01 17:13:21 +00:00
cuicheng01 4045188fbc update person_attribute config 2022-06-01 17:12:29 +00:00
cuicheng01 34d4eb7e68 update person_attribute&text_direction configs 2022-06-01 07:07:51 +00:00
cuicheng01 11ebb4d1d9 update person_exits docs and configs 2022-05-31 14:55:45 +00:00
cuicheng01 be47e28b5e
Merge branch 'develop' into Add_PULC_demo 2022-05-31 19:12:00 +08:00
cuicheng01 4465d27ab0 update resnet&pp-lcnet 2022-05-31 11:02:40 +00:00
cuicheng01 5d9d2395e2 update resnet&pp-lcnet 2022-05-31 10:55:57 +00:00
cuicheng01 ee5121a365
Merge branch 'PaddlePaddle:develop' into develop 2022-05-31 18:48:41 +08:00
Walter 0f520aaba1
Merge pull request #1968 from HydrogenSulfate/reid_update
update reid configs
2022-05-30 11:50:40 +08:00
HydrogenSulfate aebb3f749d update reid configs 2022-05-30 11:38:10 +08:00
cuicheng01 dc651d4732
Merge branch 'PaddlePaddle:develop' into develop 2022-05-29 21:57:14 +08:00
cuicheng01 ad71254e68
Merge pull request #1960 from zhiboniu/dev_attr
support attribute infer
2022-05-27 19:22:17 +08:00
zhiboniu 7f0075e8d0 reverse to BatchNorm 2022-05-27 07:54:26 +00:00
Walter dcef409dde
Merge branch 'develop' into adaface 2022-05-27 14:19:03 +08:00
cuicheng01 a226a0589d
Merge branch 'PaddlePaddle:develop' into develop 2022-05-27 10:34:06 +08:00
zhiboniu 9f049f1145 fix batchnorm2d data_format 2022-05-26 09:12:28 +00:00
gaotingquan c22bdc7e54
remove fluid 2022-05-26 07:40:15 +00:00
zhiboniu 939a35d605 add more details 2022-05-26 07:14:10 +00:00
zhiboniu a4e1da6610 modify attr export model 2022-05-25 08:13:38 +00:00
cuicheng01 e894fa861d
Merge branch 'develop' into add_person_demo 2022-05-25 15:30:07 +08:00
cuicheng01 c870befb86
Merge branch 'PaddlePaddle:develop' into develop 2022-05-25 10:20:56 +08:00
cuicheng01 4091592cfb
Merge pull request #1917 from zhiboniu/develop
add attribute support
2022-05-25 10:19:21 +08:00
cuicheng01 33a15cfdae fix static training bugs 2022-05-24 17:02:44 +00:00
cuicheng01 dcf9e7d7f6
Merge branch 'PaddlePaddle:develop' into develop 2022-05-25 00:31:02 +08:00
gaotingquan 20730fad07 revert
the code may cause problem that loss change in training.
2022-05-24 22:19:10 +08:00
cuicheng01 2e48a7ed7a add PPHGNet_base config 2022-05-23 16:39:58 +00:00
cuicheng01 6cb33220ea
Merge branch 'PaddlePaddle:develop' into develop 2022-05-23 23:49:48 +08:00
littletomatodonkey 6dac07f68d
fix quant logic (#1941)
* fix quant logic

* add support for trt+int8 inference

* add support for swin quant

* fix swin and quant

* fix assert info

* fix assert info

* fix log
2022-05-23 19:04:27 +08:00
zhiboniu edf1129e5d match new eval function 2022-05-23 10:27:55 +00:00
zhiboniu 699c10aaeb Merge remote-tracking branch 'ppcls/develop' into develop 2022-05-23 08:03:46 +00:00
cuicheng01 94d4722b8d
Merge branch 'PaddlePaddle:develop' into develop 2022-05-23 10:15:50 +08:00
xiongkun 821e550900
stop_gradient=True for input spec (#1943) 2022-05-23 09:48:27 +08:00
cuicheng01 8f5fe61540
Merge pull request #1925 from cuicheng01/add_person_demo
Add person demo
2022-05-23 09:26:49 +08:00
cuicheng01 8b639e939f update code and docs 2022-05-23 01:11:03 +00:00
weishengyu 70c45dcdfd Merge branch 'add_person_demo' of github.com:cuicheng01/PaddleClas into add_person_demo 2022-05-19 06:33:40 +00:00
weishengyu 94ef340528 dbg 2022-05-19 06:33:27 +00:00
dongshuilong 759fe41ccc modify face_dataset and ir_net name issue 2022-05-19 02:22:17 +00:00
Walter 9005e080a5
Merge pull request #1938 from HydrogenSulfate/fix_resume_opt
Fix resume opt
2022-05-19 10:20:28 +08:00
zhiboniu 032c45c1d3 delete norm_decay in resnet 2022-05-18 11:58:53 +00:00
gaotingquan 683adcda46 fix: support AMP infer 2022-05-18 18:10:44 +08:00
gaotingquan 5f88903e6e fix: -> DistributedBatchSampler 2022-05-18 18:10:44 +08:00
gaotingquan e4327c8686 log tip when export succeeded 2022-05-18 13:00:00 +08:00
zhiboniu 05ecf1d045 multi-card eval support 2022-05-18 04:54:44 +00:00
zhiboniu 824746b3a7 update data_path 2022-05-18 04:54:43 +00:00
zhiboniu 50900443f3 remove strongbaseline_attr, etc... 2022-05-18 04:54:43 +00:00
zhiboniu 26d5b7d1cc adapted dataset and loss 2022-05-18 04:54:43 +00:00
zhiboniu aa8f4c16d2 attr ma test ok 2022-05-18 04:54:43 +00:00
zhiboniu 0a3ecf60b4 add attribute strongbaseline 2022-05-18 04:54:43 +00:00
littletomatodonkey afafb8f41d fix save load 2022-05-17 13:24:24 +00:00
gaotingquan 675e60d5a5 feat: log the FLOPs and Params when building model 2022-05-17 21:24:17 +08:00
HydrogenSulfate ec80a56e5c fix bug when load dict for optimizer in resume training 2022-05-17 21:04:01 +08:00
HydrogenSulfate f4e400fa3a fix bug when load dict for optimizer in resume training 2022-05-17 21:01:10 +08:00
littletomatodonkey 6f631e4340 fix convert weight 2022-05-17 12:46:49 +00:00
cuicheng01 5a81627859 add convert_weights.py 2022-05-17 10:26:14 +00:00
cuicheng01 d2da38f3ea update PPLCNet_x1_0_distillation_search.yaml 2022-05-17 09:26:29 +00:00
cuicheng01 6e8f395c22 add person_demo docs 2022-05-17 09:22:21 +00:00
dongshuilong 511669a49a fix bcolz install bug 2022-05-17 07:48:23 +00:00
cuicheng01 912285c167 Merge branch 'add_person_demo' of http://github.com/cuicheng01/PaddleClas into add_person_demo 2022-05-17 03:36:28 +00:00
weisy11 279a2e0356 add search_times 2022-05-17 11:29:26 +08:00
cuicheng01 dbcfe2c395 update config 2022-05-16 11:46:34 +00:00
Walter afb473e2ae
Merge pull request #1914 from HydrogenSulfate/add_re_ranking
Add re ranking
2022-05-16 18:45:14 +08:00
Yang Nie 62e06ced05 update 2022-05-16 18:00:09 +08:00
dongshuilong b2f34d0487 fix static train ips info bug 2022-05-16 08:34:02 +00:00
weisy11 047ec1ae49 use list instead of dict 2022-05-16 14:29:52 +08:00
cuicheng01 87a0ba6f31 update metrics 2022-05-16 04:31:26 +00:00
dongshuilong 32c99be6aa add adaface 2022-05-16 03:50:35 +00:00
HydrogenSulfate 43d1eba917 Merge branch 'develop' into add_re_ranking 2022-05-16 11:04:32 +08:00
weishengyu 93e9970ede dbg 2022-05-15 17:25:56 +00:00
weishengyu 4b014a1b19 dbg 2022-05-14 19:28:58 +00:00
weisy11 45f2d010b6 add python search tools 2022-05-14 21:37:31 +08:00
cuicheng01 b513670a1a update PPLCNet_x1_0_distillation.yaml 2022-05-14 11:56:44 +00:00
nemonameless 60a4269d9b fix ShuffleNetV2 x2_0 stage_out_channels 2022-05-14 10:29:49 +00:00
cuicheng01 0112a036ea update pp_lcnet.py 2022-05-14 10:06:58 +00:00
cuicheng01 d125b31f73 update code 2022-05-14 10:03:55 +00:00
cuicheng01 45b1296c25 Add cls_demo_person code 2022-05-14 09:31:52 +00:00
gaotingquan f04b52343f fix: unable to export rep net 2022-05-14 14:13:25 +08:00
cuicheng01 ff09e310de update res2net200_vd_distill_pphgnet_base.yaml 2022-05-13 16:15:00 +00:00
cuicheng01 ad92e521b8 add res2net200_vd_distill_pphgnet_base.yaml 2022-05-13 15:56:59 +00:00
cuicheng01 03142ea32b
Merge pull request #1919 from cuicheng01/develop
Add PPHGNet code
2022-05-13 17:59:53 +08:00
cuicheng01 713dd6f9eb update pp_hgnet.py 2022-05-13 04:07:41 +00:00
Yang Nie 4a54e5f70b
Update PeleeNet.yaml 2022-05-13 09:10:49 +08:00
cuicheng01 8a760fb85f Add PPHGNet code 2022-05-12 15:53:51 +00:00
Yang Nie 96687d07e2 add PeleeNet code 2022-05-12 23:19:44 +08:00
gaotingquan c3bd88a244
circuitous rep 2022-05-12 14:38:17 +00:00
gaotingquan 4c5ed46b2c
refactor 2022-05-12 14:38:17 +00:00
gaotingquan 0ef1ac3fa7
fix 2022-05-12 14:38:17 +00:00
gaotingquan 6e0900ecec
feat: add PPLCNetV2_base config 2022-05-12 14:38:17 +00:00
gaotingquan e82e1358bc
BatchNorm -> BatchNorm2D 2022-05-12 14:38:17 +00:00
gaotingquan 925cb6ef6c
feat: add PPLCNetV2 2022-05-12 14:38:17 +00:00
Tingquan Gao 3c8f491092
Merge branch 'develop' into dev/multi-scale 2022-05-12 16:18:27 +08:00
gaotingquan f8150efeb6
fix: (h, w) -> (w, h) 2022-05-12 08:13:34 +00:00
Walter 2b9af59971
Merge pull request #1915 from HydrogenSulfate/refine_strong_baseline
fix interpolation to 'bilinear', adjust file structure and rename
2022-05-12 14:53:45 +08:00
HydrogenSulfate 585b6bc3e8 fix interpolation to 'bilinear', adjust file structure and rename 2022-05-11 21:36:47 +08:00
HydrogenSulfate 565053167d update code 2022-05-11 18:57:16 +08:00
HydrogenSulfate 88295413f5 add re-ranking code 2022-05-11 17:33:07 +08:00
Walter 353e050c21
Merge pull request #1910 from RainFrost1/dali_bug
修复dali环境变量bug
2022-05-11 17:20:13 +08:00
dongshuilong 11b0860a1b fix dali env bug 2022-05-11 03:06:55 +00:00
Yang Nie 098bc1d8b2 Merge remote-tracking branch 'upstream/develop' into ConvNeXt 2022-05-10 21:30:48 +08:00
Yang Nie 7fa948f806 rename yaml 2022-05-10 21:29:48 +08:00
Yang Nie 5b91120e1a
fix bs 2022-05-10 18:50:55 +08:00
weishengyu f6923adff8 remove logger.colring 2022-05-10 14:29:20 +08:00
WangChen0902 283ae9b327
add dkd (#1888)
* add dkd

* update dkd

* update dkd

* update dkd

* update dkd

* update dkd

* update dkd and add tipc
2022-05-09 22:55:01 +08:00
HydrogenSulfate 73cddf6db2 update 2022-05-09 15:31:44 +08:00
HydrogenSulfate 0c76d5a521 fix FC initialization in reid-strong-baseline baseline config 2022-05-09 15:14:01 +08:00
Yang Nie 272fda2b83 update config for 8 cards 2022-05-09 12:32:18 +08:00
Yang Nie e61f392598 Merge branch 'develop' into ConvNeXt 2022-05-09 12:22:37 +08:00
flytocc b38240b86c add `pil` backend for DecodeImage 2022-05-09 11:51:59 +08:00
flytocc a618534ebc fix log_info 2022-05-09 11:51:26 +08:00
gaotingquan 56b8710dc4 fix: fix bug get paddle version 2022-05-06 19:51:44 +08:00
dongshuilong 7283598041 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into adaface 2022-05-06 04:50:31 +00:00
dongshuilong bdc535bb39 add adaface 2022-05-06 04:50:26 +00:00
Walter bd524e8a88
Merge pull request #1819 from weisy11/reid
复现reid-strong-baseline
2022-05-06 12:05:07 +08:00
HydrogenSulfate 790815f430 refine code and docs 2022-05-05 22:14:07 +08:00
gaotingquan 0ba524d26b update: add reference 2022-05-05 21:37:37 +08:00
Wei Shengyu 4bc4b7e0e2
Merge pull request #1876 from TingquanGao/dev/fix_amp_eval
fix: amp eval
2022-05-05 20:39:02 +08:00
HydrogenSulfate 1c31010b14 refine code 2022-05-05 20:28:59 +08:00
HydrogenSulfate 16f910b451 add m1 and baseline config 2022-05-05 19:55:08 +08:00
HydrogenSulfate 0b1481402b merge devevelop 2022-05-05 14:42:06 +08:00
Yang Nie b334da6fad
Merge branch 'develop' into ConvNeXt 2022-05-05 14:40:46 +08:00
Walter 00bf84c43a
Merge pull request #1886 from HydrogenSulfate/refine_ref
Refine paper & code ref for loss
2022-05-05 10:41:49 +08:00
littletomatodonkey bb13f3c4f5
fix single card dist (#1889)
* fix single card logit

* fix distillation yaml files
2022-05-05 09:48:56 +08:00
gaotingquan 275945dff9
fix: compatible with Paddle 2.2, 2.3, and develop. 2022-04-29 10:21:09 +00:00
gaotingquan 24372cc6e5 update: update the default gpu num to 8 when using AdamW 2022-04-29 17:31:12 +08:00
HydrogenSulfate 92cdbe6fb9 add ref for emlloss 2022-04-29 13:53:21 +08:00
HydrogenSulfate 645a125c40 refine paper and code ref, and remove trailing spaces 2022-04-29 13:34:56 +08:00
flytocc 8b8a02d607 add update_freq option for gradient accumulation 2022-04-28 00:50:28 +08:00
flytocc ed8202236b add EMA code 2022-04-28 00:39:53 +08:00
flytocc e1943f9a68 add ConvNeXt code 2022-04-28 00:34:48 +08:00
gaotingquan 59a3dcfc1c
fix: amp eval 2022-04-26 12:26:17 +00:00
gaotingquan fea9522a69 fix: dbg 2022-04-26 12:07:59 +08:00
HydrogenSulfate faa4c08762 remove tripetloss_v3 2022-04-25 15:11:51 +08:00
HydrogenSulfate 6149e719b3 refine code 2022-04-25 14:14:20 +08:00
HydrogenSulfate 674447f63e refine code 2022-04-25 11:25:44 +08:00
HydrogenSulfate 97e8abc3db refine code and yaml 2022-04-24 14:38:26 +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
HydrogenSulfate 661a1909e8 update code 2022-04-22 18:15:31 +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
HydrogenSulfate 15a0afc67c update code 2022-04-22 15:52:16 +08:00
HydrogenSulfate bc6e7f5cf5 update code 2022-04-22 15:26:05 +08:00
HydrogenSulfate 9dde9376fb update code 2022-04-22 15:25:11 +08: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 74b4574367 Support for multiple components when build optimizer 2022-04-22 13:15:49 +08:00
HydrogenSulfate 8ae8934358 Merge branch 'develop' into multi_optim 2022-04-22 12:04:52 +08:00
HydrogenSulfate 15997ea9d0 update code 2022-04-22 12:03:17 +08:00
HydrogenSulfate f2982e5e47 update code 2022-04-22 12:01:05 +08:00
HydrogenSulfate 17fd1bc2c0 refine code 2022-04-22 12:00:03 +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
HydrogenSulfate daf7eea23d fix code 2022-04-21 15:43:53 +08:00
HydrogenSulfate dfd7749828 refine hard code 2022-04-21 14:37:00 +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
HydrogenSulfate 41e1a86caf add center loss 2022-04-21 00:17:54 +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
HydrogenSulfate af90cd7c59 update center loss config and related code 2022-04-12 13:07:53 +08:00
weishengyu 9de22673df dbg 2022-04-08 14:29:03 +08:00
weishengyu 7f0b7a04cd dbg 2022-04-08 10:59:18 +08:00
weishengyu e651f3f62f remove bnneck 2022-04-08 10:58:23 +08:00
weishengyu d7a20aa967 dbg 2022-04-07 19:35:58 +08:00
weishengyu 9ab1ca3f0c dbg 2022-04-07 18:31:45 +08:00
weishengyu 9c99e7cc6b add bnneck, last stride=1 2022-04-07 16:59:09 +08:00
dongshuilong 2ecdaddfc6 fix spell error for config.py 2022-04-07 06:57:32 +00:00
weishengyu 5615bc6cfd change sampler 2022-04-06 20:14:29 +08:00
weishengyu 08582fe617 dbg 2022-04-06 19:54:15 +08:00
weishengyu 0993147af7 dbg 2022-04-06 19:49:10 +08: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 4b76c385e1 dbg 2022-04-01 11:42:49 +08:00
weishengyu a5089348ee dbg 2022-04-01 11:41:02 +08:00
weishengyu fb2ddcfd64 update config 2022-04-01 11:39:43 +08:00
weishengyu 5f303937ae dbg 2022-03-31 15:27:19 +08:00
weishengyu fdfeeadff1 dbg 2022-03-31 15:15:50 +08:00
weishengyu 8408f8ef28 dbg 2022-03-31 15:12:05 +08:00
weishengyu 6618954c33 dbg and add configs 2022-03-31 15:10:50 +08: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
littletomatodonkey f68c098a4a fix train acc log 2022-03-09 19:58:36 +08:00
Bin Lu 8d52387a83
Merge pull request #1702 from Intsigstephon/develop
add deephash configure files and dch algorithm
2022-03-07 10:32:58 +08:00
Tingquan Gao 158c7b4e35 fix: fix bug that overrided eval() can't be called in distributed
The eval() overrided can't be called because model is a DataParallel object in distributed.
2022-03-04 16:52:57 +08:00
lubin 7f0d54b121 fix some spelling error 2022-03-04 07:30:29 +00:00
lubin 32d1917085 Merge branch 'develop' of https://github.com/Intsigstephon/PaddleClas into develop 2022-03-04 07:08:30 +00:00
lubin efdcf7c888 make code short;modify cifar10 data path 2022-03-04 07:07:35 +00:00
Wei Shengyu 80ba57754f
Update DCH.yaml 2022-03-04 10:50:28 +08:00
lubin 4ea2f4493c update cifar10 path 2022-03-03 06:30:47 +00:00
gaotingquan 4fc82eef5a feat: add the doc and demo about gallery2fc
add description doc and demo config
2022-03-01 10:34:29 +08:00
lubin 509f4d77e3 modify the cifar10 dataset format 2022-02-28 11:47:42 +00:00
Wei Shengyu 1020f41899
use flatten instead of reshape for hrnet (#1709) 2022-02-28 19:12:53 +08:00
WangChen0902 7595ba6d70
add AFD (#1683)
* add AFD
2022-02-28 19:11:50 +08:00
lubin cef3cb25d9 update optimizer and some comment 2022-02-28 08:02:51 +00:00
gaotingquan 7abf42b7a1 fix: rm some repvgg models not supported
remove RepVGG_B3, RepVGG_B2g2 and RepVGG_B3g2 that are not supported by PaddleClas.
2022-02-25 23:50:29 +08:00
gaotingquan 4619d63273 fix: fix the download link, etc.
fix the pretrained and inference download link;
add use_ssld arg to TNT model.
2022-02-25 23:50:29 +08:00
lubin fa45f73bdf rm -rf binary_v2 configure file 2022-02-23 11:53:43 +00:00
lubin 2507be1a51 add deephash configs and dch algorithm 2022-02-23 11:50:39 +00:00
dongshuilong 33e8e8348d add static graph ResNet50 for benchmark 2022-02-21 08:37:02 +00:00
cuicheng01 19f43aa21f
Merge pull request #1685 from littletomatodonkey/dev/improve_class_num_dist
improve distillation config
2022-02-17 15:58:41 +08:00
sibo2rr e4380ce517 fix height error 2022-02-15 21:31:36 +08:00
sibo2rr b6cf278663 change MultiScaleSamplerDDP into MultiScaleSampler 2022-02-15 21:31:23 +08:00
sibo2rr fe9f519b22 modify according to review 2022-02-15 21:30:08 +08:00
sibo2rr 9ac9cb8aa5 add config file 2022-02-15 21:25:53 +08:00
sibo2rr f2dde17623 multi scale sampler and dataset 2022-02-15 21:25:25 +08:00
Bin Lu a25d37ea2b
Create GeneralRecognition_PPLCNet_x2_5_binary_v2.yaml 2022-02-14 19:45:41 +08:00
littletomatodonkey b31b07de45 improve distillation config 2022-02-14 16:34:01 +08:00
dongshuilong dc6281a6d4 add benchmark for tipc 2022-02-10 08:25:52 +00:00
Walter 6fec774fb6
Merge pull request #1599 from weisy11/fuse_lite_model
Fuse lite model
2022-01-26 19:39:49 +08:00
weishengyu 6f33833967 dbg 2022-01-25 17:40:48 +08:00
weishengyu e95dcec819 dbg 2022-01-25 17:24:20 +08:00
weishengyu 88e6387b2c add label_list file 2022-01-25 15:33:44 +08:00
Tingquan Gao 42134cd8dd fix: raise warning when using Global.class_num 2022-01-25 15:06:36 +08:00
Tingquan Gao 0d22017e2e fix: move class_num from Global to Arch 2022-01-25 15:06:36 +08:00