We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import paddle
x = paddle.arange(9)
out = paddle.unfold(x, 0, 2, 4) print(out) 根据官方提供例子(https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/unfold_cn.html),将代码拷贝至本地运行提示AttributeError: module 'paddle' has no attribute 'unfold'。是我哪里搞错了吗?请大佬指点
No response
The text was updated successfully, but these errors were encountered:
你用的paddle 是什么版本?是2.6版本吗?
Sorry, something went wrong.
我的本地是2.5.1
麻烦升级到2.6试试?
多谢大佬指点!该问题在aistudio中的2.6.0的版本中已经解决,成功实现示例。 现在发现第二个错误,在本地更新paddle框架过程中,根据官方提供安装命令出现找不到对应包的情况(问题如图):
在paddle安装qa中发现有相关说明,示例提示本地为32位python但安装paddle配套为64位python,所以会出现该问题。我看我本地python为64位版本,但还是安装出现问题(本地cuda版本为12.2,现在paddle版本为2.5.1.post120,现在正常使用可以调用gpu)。在查阅相关资料之后并未解决该安装错误问题,能麻烦问一下这个情况一般都是什么引起的吗?
现在发现第二个错误,在本地更新paddle框架过程中,根据官方提供安装命令出现找不到对应包的情况(问题如图):
是个新问题,可以重新提一个issue
GuoxiaWang
No branches or pull requests
bug描述 Describe the Bug
import paddle
paddle.base.set_flags({"FLAGS_use_stride_kernel": True})
x = paddle.arange(9)
out = paddle.unfold(x, 0, 2, 4)
print(out)
根据官方提供例子(https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/unfold_cn.html),将代码拷贝至本地运行提示AttributeError: module 'paddle' has no attribute 'unfold'。是我哪里搞错了吗?请大佬指点
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: