1796 Commits

Author SHA1 Message Date
Sunflower7788
a7b235682c
fix flash attn mm (#3257) 2024-09-23 20:52:45 +08:00
Sunflower7788
f064291d6b
cls_config_fix (#3253)
* cls_config_fix

* fix flash attn
2024-09-23 15:00:04 +08:00
changdazhou
37c1ddb0dd
update default lable_dict for attribute (#3255) 2024-09-23 13:02:48 +08:00
cuicheng01
c736f5e0f5
update attr configs (#3254) 2024-09-22 19:36:29 +08:00
Sunflower7788
ddda8b688e
add 3 new models : MV4 FasterNet StarNet (#3251) 2024-09-21 00:26:38 +08:00
changdazhou
96e1404464
update default label list for multi-label image_classification (#3240) 2024-09-19 22:13:07 +08:00
cuicheng01
094349663a
update ShiTu Rec configs (#3246) 2024-09-13 15:50:05 +08:00
cuicheng01
716fbcc574
update config for ShiTu_rec (#3245)
* update config for ShiTu_rec

* update for ShiTu_Rec
2024-09-12 18:27:01 +08:00
cuicheng01
de0f57521d
update CLIP configs for PP-ShiTuV2-rec (#3239) 2024-09-05 10:49:04 +08:00
zhouchangda
104b378828 modify ema.pdparams to pdema 2024-09-04 15:20:28 +08:00
zhouchangda
9c37234cfb update config file for multi-label image classification 2024-08-29 17:45:23 +08:00
Tingquan Gao
bc9401f861
fix: there may not be weight ratio in multilabel dataset label (#3226) 2024-08-23 11:35:56 +08:00
changdazhou
666ca9bbd1
support multi-label image classification (#3216) 2024-08-19 14:50:50 +08:00
changdazhou
617752e2b4
update dump infer config scale format (#3211) 2024-08-08 20:01:44 +08:00
zhangyubo0722
fe5700fce6
export with label (#3166) 2024-07-25 21:31:21 +08:00
Zheng-Bicheng
5dde31371c
Add support for custom scale and act (#3189) 2024-07-24 19:49:09 +08:00
Nyakku Shigure
6aa3047157
Respect is_rec when eval (#3187) 2024-07-10 15:45:37 +08:00
Nyakku Shigure
caa6fdf57d
Fix missing label for classification model in eval mode (#3185) 2024-07-09 17:02:15 +08:00
Nyakku Shigure
d6df377f44
Mark some models as rec model in yaml (#3182) 2024-07-08 17:17:53 +08:00
Tingquan Gao
587698a9df
bugfix (#3179) 2024-07-05 16:17:42 +08:00
Tingquan Gao
91e8eb3632
update to be compatible with V100 (#3178) 2024-07-05 14:52:32 +08:00
Nyakku Shigure
1dcab0a7bc
Fix wrong InputSpec setting for AST Dy2St (#3176) 2024-07-05 14:05:02 +08:00
Tingquan Gao
b1ee8f911b
update to be compatible with V100 (#3177) 2024-07-04 16:56:04 +08:00
Nyakku Shigure
cc24ead0ad
Use inspect.getfullargspec instead of deprecated inspect.getargspec (#3168) 2024-06-20 20:16:36 +08:00
zhuyipin
cea80378ac
adapt AdaptiveAvgPool2D for npu for PPHGNet (#3162) 2024-06-17 21:07:16 +08:00
Tingquan Gao
00e018c18c
support FusedLinear (#3159) 2024-06-04 11:15:47 +08:00
gaotingquan
87ad22342e add use_fused_attn field 2024-05-29 11:24:48 +08:00
gaotingquan
46c1a0168c set use_fused_op False by default 2024-05-29 11:24:48 +08:00
gaotingquan
0bfed92cb2 perf:
1. use nn.GELU instead of QuickGELU
2. support FusedLinear
2024-05-29 11:24:48 +08:00
gaotingquan
d8beab064d support fused attn 2024-05-29 11:24:48 +08:00
gaotingquan
40042f89fa dbg: support fused attn 2024-05-24 14:27:29 +08:00
Tingquan Gao
e3aaa3cefb
support fused attn (#3131) 2024-05-16 13:33:46 +08:00
will-jl944
a0ae182547
[Bug Fix] Fix bug in AdaptiveAvgPool2D for NPU (#3147)
* Fix bug in AdaptiveAvgPool2D for NPU

* fix export error
2024-05-16 12:23:36 +08:00
zhuyipin
0f915713ec
convert npu roll op into paddle roll (#3138)
* convert npu roll op into paddle roll

* convert npu roll op into paddle roll
2024-05-15 17:11:08 +08:00
will-jl944
d1ae38d30d
AdaptiveAvgPool2D for NPU (#3145) 2024-05-15 16:24:36 +08:00
zhangyubo0722
e23bdb4df5
merge uapi paddleclas (#3135) 2024-05-13 14:27:09 +08:00
Wang Huan
5b06e18b24 refine drop_path 2024-05-07 14:20:10 +08:00
Wang Huan
07de476c51 refine 2024-04-26 14:58:55 +08:00
Wang Huan
0cb74b1741 refine 2024-04-26 14:58:55 +08:00
Wang Huan
be33107d89 refine batch_cost stat 2024-04-26 14:58:55 +08:00
wanghuancoder
80abf9f789
use tensor.shape bug not paddle.shape(tensor) (#3120) 2024-04-12 15:34:44 +08:00
zxcd
967c6a7829
adapter new type promotion rule for Paddle 2.6 v2 (#3111) 2024-03-20 11:39:04 +08:00
zxcd
67c6517b02
adapter new type promotion rule for Paddle 2.6 (#3108) 2024-03-12 20:32:51 +08:00
changdazhou
d189384ab8
Control print memory info (#3079)
* support ctrl print memory info

* support ctrl print memory info

* fix print log bug
2024-03-05 11:28:23 +08:00
sky
54767fdda4
fix adamwdl bug (#3097) 2024-03-04 14:18:29 +08:00
sky
1ded6d1cbd
Update svtrnet.py (#3037)
* Update svtrnet.py

* Update svtrnet.py

remove test part

* isolated model

* Update svtrnet.py

* support static graph

* try to fix acc problem by remove torch format

* fix sercret bug for losing accuracy

* Revert "fix sercret bug for losing accuracy"

This reverts commit c8226e739005c7ebd0c0ca3772c568bccd958c4f.

* fix secret bug for losing accuracy metric

* Delete launch.json

* Update svtrnet.py

* fix 动转静

* Update svtrnet.py
2024-02-06 21:50:38 +08:00
sky
276e90d9a1
Bigmodel (#3032)
* fix the resolution problem for clip-vision transformer part and swim transformer

fix the resolution problem for clip-vision transformer part and swim transformer

* Revert "Revert "fix resolution problem for swin transformer and clip vit  (#3021)""

This reverts commit 174db431a82fb168c01b0be03fbb1d822314bbb1.

Update foundation_vit.py

Update foundation_vit.py

Revert "fix resolution problem for swin transformer and clip vit  (#3021)"

This reverts commit 61f748de6767daa2ee8c243146b2204689ecd1ba.

* add backbone function

* fix static graph problem

* remove text encoder framework and add classifier header directly

* fix bug in clip when using classifier header

* updated

* support embeding

Note, support embed is only for check the model since there is no related text encoder

* compatible with param transfer

* update setting
2024-02-06 21:46:25 +08:00
gaotingquan
879cb57fe6 fix error dtype 2023-12-08 14:28:29 +08:00
gmm
034236d0f5
【benchmark】fix gpu_mem unit (#3052)
* add max_memory_reserved for benchmark

* change unit

* fix
2023-12-05 15:04:25 +08:00
cuicheng01
d17336da37
Develop (#3047)
* add PPLCNet_x1_0_ssld.yaml
2023-11-24 21:43:43 +08:00