Commit Graph

1489 Commits (af377afa95dc99ad8361383c9ab2d3b0a71a86df)

Author SHA1 Message Date
HydrogenSulfate 97398d9f12 fix export pretrained_model when it is None 2022-12-16 18:46:21 +08:00
HydrogenSulfate 20725dd770 fix xbm.py 2022-12-16 18:46:21 +08:00
HydrogenSulfate 51d71016ac support web link for 'Global.pretrained_model' when export models 2022-12-16 18:46:21 +08:00
HydrogenSulfate 0288285c91 feat(loss): add TripletAngularMarginLoss_XBM and refine XBM queue 2022-12-16 18:46:21 +08:00
HydrogenSulfate 4060957669 fix(dali): add shuffle to prob_list in ExternalSource_RandomIdentity 2022-12-13 14:27:15 +08:00
HydrogenSulfate b22752e2ea refactor DALI 2022-12-13 14:27:15 +08:00
kuizhiqing 17a4b50ae2 rm singleton 2022-12-08 10:37:49 +08:00
kuizhiqing 9d69b63c6d fix ct singleton 2022-12-07 14:14:22 +08:00
kuizhiqing 7cbc695227 use np for cpu tensor 2022-12-07 14:14:22 +08:00
kuizhiqing 19ed923799 fix typo 2022-12-07 14:14:22 +08:00
kuizhiqing d70668cb6f fix typo 2022-12-07 14:14:22 +08:00
kuizhiqing a37cee70bf remove global vars 2022-12-07 14:14:22 +08:00
kuizhiqing fd4a97d144 lazy roll 2022-12-07 14:14:22 +08:00
kuizhiqing a49e11db98 only for npu 2022-12-07 14:14:22 +08:00
kuizhiqing 20848e6abc adapt roll op for swin transformer 2022-12-07 14:14:22 +08:00
gaotingquan 4f01e3bc4f add static training doc 2022-12-06 16:31:02 +08:00
zhangyubo0722 b61da414e5 add uniformer lst 2022-12-02 19:45:59 +08:00
HydrogenSulfate d7f73dd8ed add relabel=True in ResNet50_ReID to avoid label excess 2022-12-02 15:00:46 +08:00
cuicheng01 5b0a47bcdf fix NextViT config 2022-11-30 16:25:30 +08:00
HydrogenSulfate 6cc6540ca5 add different seed for workers and replicas 2022-11-24 11:51:13 +08:00
HydrogenSulfate b542416d67 add random shuffle in PKSampler 2022-11-24 11:51:13 +08:00
cuicheng01 ec2029b821 Add NextViT code and docs 2022-11-23 14:59:55 +08:00
HydrogenSulfate 1ad4167fdc fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate 25ed25372a fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate c07758b331 fix engine.py 2022-11-22 16:47:47 +08:00
HydrogenSulfate fa52acd614 remove redundant import in pksampler 2022-11-22 16:47:47 +08:00
HydrogenSulfate c26adddf33 remove redundant code in pksampler 2022-11-22 16:47:47 +08:00
HydrogenSulfate 7ff257ea69 fix random seed bug for pksampler in DDP 2022-11-22 16:47:47 +08:00
zhiqiu f04eb47fc3 replace strided_slice 2022-11-21 11:06:22 +08:00
user3984 aed02a213e update pefd 2022-11-18 14:04:07 +08:00
user3984 7ee8471dfe add pefd 2022-11-18 14:04:07 +08:00
weishengyu faca0ba75d add fixmatch config using 4gpus 2022-11-18 13:46:43 +08:00
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