Commit Graph

1507 Commits (3f43784964dda7ff5f3375d5db9bfa88f3fd26b9)

Author SHA1 Message Date
gaotingquan cfab4c178a feat: add pplcnetv2_small and pplcnetv2_big 2022-11-18 13:14:37 +08:00
cuicheng01 1a8590a9bd fix TprAtFpr metrics 2022-11-18 13:11:29 +08:00
gaotingquan c1a8ce4c94 fix error that sync bn should not be used on cpu 2022-11-16 16:05:53 +08:00
cuicheng01 6d42c25cf2 fix_resnet_vd_nhwc_format 2022-11-16 10:40:40 +08:00
cuicheng01 4924749e25 fix_celoss 2022-11-14 21:34:52 +08:00
user3984 996467bd14 update config and docs 2022-11-11 18:05:39 +08:00
user3984 c5884bb24f add skd 2022-11-11 18:05:39 +08:00
zengshao0622 cddc899f34 fix dataloader next 2022-11-09 19:01:00 +08:00
gaotingquan 3d5ba52437 support image_orientation 2022-11-08 19:26:29 +08:00
HydrogenSulfate 7d9f4dcb59 change Tensor.numpy()[0] to float(Tensor) for 0-D tensor case 2022-11-01 14:37:11 +08:00
cuicheng01 cb6d29aea0 update pulc_code_exists configs 2022-10-31 14:47:58 +08:00
cuicheng01 426de2ddb3 update RepVGG configs 2022-10-31 14:31:27 +08:00
gaotingquan 9873236bc8 fix: replace use_gpu, etc. by device 2022-10-31 10:43:00 +08:00
gaotingquan 241572e49a fix: debug 2022-10-31 10:43:00 +08:00
HydrogenSulfate 7e097f3c05 delete useless file and update 'print_dict' function 2022-10-27 19:15:32 +08:00
HydrogenSulfate fd2f79943b delete useless file and update 'print_dict' function 2022-10-27 19:15:32 +08:00
dongshuilong bcecbd1159 fix celoss bug 2022-10-27 14:17:09 +08:00
gaotingquan a623851224 fix: defer update_res() calling until after the object's __init__ has completed execution 2022-10-26 16:19:06 +08:00
gaotingquan 316479d380 fix: add *args, **kwargs to init_net()
the argument may be "infer_add_softmax" used in exporting.
2022-10-26 16:19:06 +08:00
USTCKAY c032293a77 change judgment logic for multi device 2022-10-26 10:33:10 +08:00
USTCKAY 0cec70bd22 [CustomDevice]add support for custom NPU, test=develop 2022-10-26 10:33:10 +08:00
dongshuilong 3be87e0d91 fix ConsinFixmatch bug 2022-10-25 12:04:22 +08:00
dongshuilong 944763d7a5 add fixmatch 2022-10-25 12:04:22 +08:00
HydrogenSulfate 184b684fd8
Merge pull request #2401 from HydrogenSulfate/fix_dali_static
Fix tensor conversion in static mode with dali loader
2022-10-21 12:08:26 +08:00
HydrogenSulfate a14df4ac52 fix tensor conversion in static mode with dali loader 2022-10-20 12:03:03 +00:00
cuicheng01 e3670a44a4
Merge pull request #2376 from cuicheng01/add_qrcode_code
[WIP]add qrcode code
2022-10-20 15:24:08 +08:00
HydrogenSulfate 3647da6d4a
Merge pull request #2383 from HydrogenSulfate/xbm_final
Add XBM model
2022-10-19 15:43:40 +08:00
HydrogenSulfate 09200a31f4 remove redundant code, fix bugs in lr.step, merge GoodsDataset into Vehicle 2022-10-19 07:18:21 +00:00
gaotingquan a5607e7d09 fix: update pretrained url 2022-10-18 17:48:31 +08:00
gaotingquan defcb638c3 fix: update pretrained url 2022-10-18 17:48:31 +08:00
gaotingquan ad3c657e39 fix: update VAN_tiny to VAN_B0 2022-10-18 17:48:31 +08:00
HydrogenSulfate 30cbb18321 update learning_rate.py 2022-10-17 15:51:48 +08:00
HydrogenSulfate 2cfd8dd828 add xbm 2022-10-17 15:45:45 +08:00
gaotingquan b83da15d27 support set shuffle by config 2022-10-17 11:24:57 +08:00
cuicheng01 9dd59f4512 add qrcode code 2022-10-13 07:18:30 +00:00
HydrogenSulfate 61b4153907 add batch Tensor collate to simplify dali code in train/eval/retrival code 2022-10-13 12:05:50 +08:00
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