1770 Commits

Author SHA1 Message Date
Tingquan Gao
d1634d4702
fix: there may not be weight ratio in multilabel dataset label (#3227) 2024-08-23 11:51:43 +08:00
changdazhou
e6db92f991
update dump infer config scale format (#3212) 2024-08-08 20:02:00 +08:00
zhangyubo0722
6256dd7b3e
【cherry-pick】export with label (#3167)
* export with label

* modify
2024-07-25 21:32:12 +08:00
Nyakku Shigure
d3be4433ca
Use inspect.getfullargspec instead of deprecated inspect.getargspec (#3168) (#3169) 2024-06-21 11:55:26 +08:00
zhuyipin
b90f17ed07
adapt AdaptiveAvgPool2D for npu for PPHGNet (#3163) 2024-06-17 21:11:12 +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
RuohengMa
178eede1db
Fix bug when running on XPU (#3046)
* Fix bug when running on XPU

* Fix bug when running on device other than GPU
2023-11-24 17:14:56 +08:00
RuohengMa
656c149d6b
Fix bug when running on XPU (#3045) 2023-11-24 15:08:26 +08:00
gmm
e4abcc08d0
add max_memory_reserved for benchmark (#3042) 2023-11-22 17:31:30 +08:00
Tingquan Gao
ab087065e9
support to specify rank to log when using Fleet API (#3039)
* support to specify rank to log when using Fleet API

* log max mem reserved

* log_ranks support str type

example: -o Global.log_ranks="0,1"

* log max mem allocated

* support to specify rank to log in static mode

* log max mem reserved and max mem allocated in static mode
2023-11-16 11:32:29 +08:00
Zhenming Lin
cc0ac63fb8
包含所有样本,不管有无目标类别的标注。 (#2963) 2023-11-07 22:12:09 +08:00
zhangyubo0722
adedfe603c
[WIP] add svtr (#3035)
* [WIP] add svtr

* add svtr_base and svtr_tiny
2023-11-06 19:15:55 +08:00
sky
61f748de67
fix resolution problem for swin transformer and clip vit (#3021)
* Update foundation_vit.py

Update .gitignore

fix time cost problem

Update swin_transformer.py

fix the speed and memory problem

reduce the unnecessary calculation when patch matches resolution

fix conflict

remove check resolution function

Revert "fix conflict"

This reverts commit d7a7dade71ea5f9a6ac178e113dbcbd65d5a64b3.

fix conflict

remove the conflict checkpoint function

【Hackathon 5th No.69】 分类大模型--人体视觉任务SOLIDER (#2995)

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

update doc about PPHGNetV2 (#3002)

fix clip patch embedding resolution problem

support non 224 resolution

integrate the pading function to one

adjust function name

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

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

* fix cache problem

using the huggingface plan and drop the cache

* Revert "fix cache problem"

This reverts commit 8f7ab55c75d8c16443506a975c21967de8c038f2.

* fix resolution problem

* update big model backbone

* Revert "update big model backbone"

This reverts commit 04a39f701b62120bbfa20f6526a0589c33c21e47.
2023-10-31 10:11:46 +08:00
cuicheng01
60478c382a
remove PP-HGNetV2_B7 config (#3025) 2023-10-30 20:21:41 +08:00
zhangyubo0722
2bc2fc0348
support get train image list (#3004) 2023-10-30 13:47:25 +08:00
zhangyubo0722
aae1e9543f
del load pretrained from url for resnet (#2997)
* del load pretrained from url for resnet

* del load_dygraph_pretrain_from_url

* del load_dygraph_pretrain_from_url

* modify save_load
2023-10-30 13:44:16 +08:00
Zhenming Lin
3a48f8783c
【BugFix】Fix ml-decoder bugs (#2991)
* fix bugs

* fix bugs

* fix bugs
2023-10-25 17:16:30 +08:00
sky
e1a7840816
【Feature】fix the resolution problem for clip-vision transformer part and swim … (#3001)
* fix the resolution problem for clip-vision transformer part and swim transformer

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

* adjust function name

* integrate the pading function to one

* support non 224 resolution

* fix clip patch embedding resolution problem

* fix conflict

remove the conflict checkpoint function

* Revert "fix conflict"

This reverts commit d7a7dade71ea5f9a6ac178e113dbcbd65d5a64b3.

* fix conflict

remove check resolution function
2023-10-18 20:55:37 +08:00
Yang-ChangHui
c446df9b69
【Hackathon 5th No.69】 分类大模型--人体视觉任务SOLIDER (#2995)
* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider

* add_solider
2023-10-18 14:46:34 +08:00
夜雨飘零
5ca584ff19
增加MultiScaleDataset的分割符 (#2853)
* 增加MultiScaleDataset的分割符

* remove encoding
2023-10-10 20:07:44 +08:00
thsno02
6cd88dfea6
fix: support for cases without a weight function (#2973) 2023-10-10 20:02:11 +08:00
cuicheng01
e9a59678f0
update PP-HGNetV2 (#2993) 2023-10-07 16:45:16 +08:00
cuicheng01
203eba4d6d
support load ssld state1 pretrain (#2988) 2023-09-26 23:48:27 +08:00
cuicheng01
5a28bab6d0
add hgnetv2 (#2987) 2023-09-26 23:22:48 +08:00
Tingquan Gao
fe12d63181
debug (#2934)
* debug: fix model name

* fix

* fix Infer.transforms.ResizeImage
2023-09-19 16:08:09 +08:00
xiongkun
2200f30052
fix sot-slow problem (#2976)
* fix sot-slow problem

* fix format

* add comment
2023-09-18 17:27:01 +08:00
feifei-111
9bcb71ab81
Fix resnext model, split main logic with guard (#2956)
* update

* update

* update
2023-09-18 17:25:57 +08:00
zhangyubo0722
ef796960c0 support http pretrained 2023-09-12 17:45:39 +08:00
zhenming lin
98935e0bb7
Add ML-Decoder Support (#2957)
* 添加ML-Decoder,并使其可以在Arch作用域下控制

* 添加MultiLabelAsymmetricLoss

* 添加MultiLabelMAP评价方式,并避免其在回合内计算,每回合计算一次,节约时间

* 添加COCO2017数据集格式转换脚本

* 添加OneCycleLR学习率调度策略

* 添加ResNet50_ml_decoder

* 添加ResNet_ml_decoder

* 添加ResNet_ml_decoder

* 添加ResNet_ml_decoder preprocess

* 添加ResNet_ml_decoder

* 添加ResNet_ml_decoder

* 直接从model中拉class_num参数

* fix message error

* fix message error

* 给出基于inference model预测的文档

* 融合cutout使其具有随机生成填充值的能力

* 更正变量名称

* 更新configs

* 更新README

* fix bugs

* fix bugs

* update

* update

* update
2023-09-08 16:17:35 +08:00
zhangyubo0722
cdecc0b437
fix hgnet kwargs (#2949) 2023-09-01 23:36:58 +08:00
zhangyubo0722
ed67436647
del head_init_scale (#2947) 2023-09-01 20:15:54 +08:00
zhangyubo0722
d7a7d3e5e1
fix topk bug (#2945) 2023-09-01 19:28:17 +08:00