Commit Graph

1621 Commits (00a2863414bac8a09dc74e4fa37e985cbac8b503)

Author SHA1 Message Date
cuicheng01 c87db7b9e3 update blur code 2022-10-11 13:46:27 +00:00
cuicheng01 083205273d add clarity_assessment code 2022-09-29 06:25:22 +00:00
gaotingquan b3ab418e80 refactor: mv the init_res of net to super().__init__()
Put the calling of update_res(), stop_after(), freeze_befor() to the construction method of the parent class. And the init_net() support to call stop_after() by config of Arch.
2022-09-28 20:13:19 +08:00
gaotingquan 7513c0b52f feat: support freeeze subnet
freeze subnet specified with the specified layer name by setting OutputTensor.stop_gradient=True
2022-09-28 20:13:19 +08:00
gaotingquan d670f2e497 rename config file ImageOrientation to PPLCNet_x1_0 2022-09-28 20:01:48 +08:00
gaotingquan bf91fbfbe4 add warning msg 2022-09-28 20:01:48 +08:00
gaotingquan 75e1291528 debug 2022-09-28 20:01:48 +08:00
gaotingquan e31509ee81 fix hyperparams & mv to PULC 2022-09-28 20:01:48 +08:00
gaotingquan 19840cb046 refactor: to be pythonic 2022-09-28 20:01:48 +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
HydrogenSulfate db80bfb5ab change return type from float to Constant when self.learning_rate is an float number 2022-09-27 19:46:20 +08:00
gaotingquan 0160b8dd0d fix 2022-09-27 11:56:42 +08:00
cuicheng01 8f7e260218
Merge pull request #2326 from PaddlePaddle/fix_bug
fix bugs to adapt to the new framework
2022-09-20 19:05:42 +08:00
cuicheng01 5957d242f2
Merge pull request #2323 from cuicheng01/add_table_attribute_doc
add table_attribute docs
2022-09-20 19:05:16 +08:00
cuicheng01 50fc7d0eae fix bugs to adapt to the new framework 2022-09-20 10:06:20 +00:00
HydrogenSulfate 6125fa941b change Constant to ConstLR 2022-09-20 14:45:02 +08:00
cuicheng01 74eb371dd6 add table_attribute docs 2022-09-20 04:37:52 +00:00
HydrogenSulfate cc12db099c fix Constant learning rate bug 2022-09-20 12:01:52 +08:00
HydrogenSulfate c890a13c1f
Merge pull request #2313 from HydrogenSulfate/fix_LR
fix bug for warmup_steps setting
2022-09-19 15:05:25 +08:00
HydrogenSulfate 27101d3d88 fix bug for warmup_steps setting 2022-09-19 14:37:15 +08:00
cuicheng01 cc46db1586 fix bugs to adapt to the new framework 2022-09-19 02:01:31 +00:00
HydrogenSulfate 0776f1c700 fix small bugs 2022-09-16 14:40:51 +08:00
HydrogenSulfate 57dcf7adb5 fix small bugs 2022-09-16 14:24:34 +08:00
HydrogenSulfate 7e072087a5 refactor learningrate.py 2022-09-16 13:59:11 +08:00
Tingquan Gao 9344351493
Merge pull request #2219 from cuicheng01/fix_multilabel
fix multilabel
2022-09-15 10:54:28 +08:00
HydrogenSulfate 42758f5463 fix benchmark train's config for GeneralRecognitionV2, and polish TIPC docs 2022-09-14 08:54:22 +00:00
cuicheng01 0b9f62262a
Merge branch 'develop' into fix_multilabel 2022-09-14 14:41:32 +08:00
Lixin Luo 9b12161b1d
add weighted soft labels loss function (#2288)
* add weighted soft labels loss function

add weighted soft labels loss function

* fix typo in docs/zh_CN/advanced_tutorials/knowledge_distillation.md
2022-09-14 14:23:26 +08:00
Tingquan Gao 2ed68d5dba
Merge pull request #2264 from cuicheng01/add_table_attribute
add table_attribute_code
2022-09-14 14:17:11 +08:00
zengshao0622 9a01999860 fix cae_large 2022-09-13 08:05:07 +00:00
zengshao0622 8b0e643f54 update batchsize 2022-09-08 11:37:29 +00:00
zengshao0622 90d591e410 update ppcls 2022-09-08 11:34:54 +00:00
zengshao0622 7b50ce6585 merge CAE 2022-09-08 08:11:25 +00:00
cuicheng01 f95343590b fix format 2022-09-07 10:04:11 +00:00
cuicheng01 18acc25f18 add table_attribute_code 2022-09-07 09:35:51 +00:00
Walter 0a7ca236e0
Merge pull request #2245 from HydrogenSulfate/update_ShiTu_doc
Add&Update PP-ShiTuV2 docs
2022-09-03 15:39:12 +08:00
gaotingquan 3f8f981423 fix: support specify DALI threads num 2022-09-01 20:21:43 +08:00
HydrogenSulfate 6c4852acd3 update PP-ShiTuV2 inference/serving code and docs, reformat yamls 2022-09-01 06:31:22 +00:00
HydrogenSulfate 6e0aa19347 update related docs and yamls for PP-ShiTuV2 2022-08-31 17:02:37 +00:00
cuicheng01 85bf8683cb Support for parsing label files 2022-08-29 05:49:15 +00:00
HydrogenSulfate c03a66bfe4 Rename variable names that may be confused in retrieval.py 2022-08-26 06:16:11 +00:00
HydrogenSulfate 73e1d36697 refine doc-string for ImageNetDataset 2022-08-25 14:40:19 +08:00
HydrogenSulfate 14088d4502 fix for num_rel_index is a zero matrix 2022-08-25 14:37:41 +08:00
HydrogenSulfate feab570d09 merge develop & zoom QRCode for ShiTu APP demo 2022-08-25 11:39:32 +08:00
HydrogenSulfate 24a8eca8a0 Merge branch 'develop' into shituv2_reimplement 2022-08-25 11:27:41 +08:00
gaotingquan a75dc8c993 fix: fix the error that containers nesting cannot be handled.
the error would be raised when when the pattern string represents nested, e.g., containing "[3][1]".
2022-08-24 19:09:42 +08:00
HydrogenSulfate 877c8c53be correct config yaml, pp_lcnetv2_variant.py and log in&out channels in pp_lcnet_v2.py 2022-08-24 07:25:30 +00:00
gaotingquan a1baf3f476 fix: fix interpolation method 2022-08-24 11:26:12 +08:00
HydrogenSulfate 00ee28d78f correct class_num in GeneralRecognitionV2_PPLCNetV2_base.yaml 2022-08-23 11:04:24 +00:00
HydrogenSulfate 5a4874079d fix some bugs 2022-08-23 10:59:30 +00:00
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