You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.
ckl117
changed the title
Dino sam
support Grounding-SAM model
Jul 18, 2023
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ckl117
changed the title
support Grounding-SAM model
[Paddle-TRT] Convert 0D tensor to 1D tensor, increase the shape tensor's number count, elementwise input data read, and some shape checks.
Jul 21, 2023
ckl117
changed the title
[Paddle-TRT] Convert 0D tensor to 1D tensor, increase the shape tensor's number count, elementwise input data read, and some shape checks.
[Paddle-TRT] Convert 0D tensor to 1D tensor, increase the shape tensor's number count and some shape checks.
Jul 21, 2023
ckl117
changed the title
[Paddle-TRT] Convert 0D tensor to 1D tensor, increase the shape tensor's number count and some shape checks.
[Paddle-TRT] Convert 0D tensor to 1D tensor, increase the shape tensor's number count when collecting shape
Jul 21, 2023
…r's number count when collecting shape (PaddlePaddle#55503)
* make 0-D tensor to 1-D tensor to support Grounding-SAM and add shape check
* recover identity_op_clean_pass.cc
…r's number count when collecting shape (PaddlePaddle#55503)
* make 0-D tensor to 1-D tensor to support Grounding-SAM and add shape check
* recover identity_op_clean_pass.cc
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Description
P-card-71501
增加了paddle op到trt op转换时的shape检查;
将0维tensor处理成1维tensor,避免部分模型(grounding_dino)出错;
将shape tensor的个数上限7修改为8,以适配Grounding-SAM模型;
修改elementwise算子进入trt时的输入数据直接从tensor中查找,避免输入数据tensor的名字和其他参数名字重复导致的读取错误,同时兼容静态shape版本;