1393 Commits

Author SHA1 Message Date
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