Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python IndexError of case18: paddle.nn.functional.conv3d_transpose #50001

Merged
merged 22 commits into from
Feb 2, 2023

Conversation

longranger2
Copy link
Contributor

@longranger2 longranger2 commented Jan 22, 2023

PR types

Bug fixes

PR changes

APIs

Describe

Solution

原因:输入的weight的维度为1,导致weight[1]发生Index error
解决方法:限制 weight的维度为5

@paddle-bot
Copy link

paddle-bot bot commented Jan 22, 2023

你的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.

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为这个case加个单测吧

@longranger2
Copy link
Contributor Author

单测添加好了

wanghuancoder
wanghuancoder previously approved these changes Feb 1, 2023
Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1
Copy link
Contributor

luotao1 commented Feb 1, 2023

请解决一下CodeStyle-Check流水线的格式问题

@longranger2
Copy link
Contributor Author

longranger2 commented Feb 1, 2023

image

想问下本地执行pre-commit时,报了这个错误,应该如何解决呢?(我的电脑是mac M1 pro)

@luotao1
Copy link
Contributor

luotao1 commented Feb 1, 2023

想问下本地执行pre-commit时,报了这个错误,应该如何解决呢?(我的电脑是mac M1 pro)

#50126 已经修复了,可以拉下最新的develop代码

@longranger2
Copy link
Contributor Author

想问下本地执行pre-commit时,报了这个错误,应该如何解决呢?(我的电脑是mac M1 pro)

#50126 已经修复了,可以拉下最新的develop代码

好的,现在已经修改好了

@luotao1 luotao1 merged commit f76a7c5 into PaddlePaddle:develop Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants