-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
RSSegBenchmark-c2fnet复现出现bug #64274
Comments
有没有什么简单的复现例子,我这边复现一下。看起来是你输入的tensor维度过多了。 |
https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.9/contrib/RSSegBenchmark/c2fnet/README.md |
建议从代码里面深入看为什么会出现这个问题吧 |
你好,请提供更完整的报错信息,以帮助我们排查问题~ |
你好, '''NotImplementedError: (Unimplemented) Invalid dimension to be accessed. Now only supports access to dimension 0 to 9, but received dimension is 10. (at C:\home\workspace\Paddle_release\paddle/phi/core/ddim.h:53) 我严格按照官方配置和环境运行的, |
这看起来只是错误信息的最后一段,请提供包括Python栈回溯信息在内的完整错误信息~ |
Traceback (most recent call last): 你好,上述是全面的报错信息。 |
RSSegBenchmark通过测试的最新版本是PaddlePaddle 2.4+PaddleSeg 2.8,而从报错信息来看,实际使用的代码应该是PaddleSeg-develop,开发分支的代码尚未经过测试,因此可能存在bug。建议在装有PaddlePaddle 2.4+PaddleSeg 2.8的环境中再次尝试~ |
你好,我尝试了替换环境为paddlepaddle==2.4.0 PaddleSeg==2.8.0, 依然报告相同的错误,: |
看起来代码并没有被更换到PaddleSeg 2.8.0。 实际上,PaddleSeg 2.8.0的 而PaddleSeg-develop的对应行是这样的: 使用PaddleSeg develop的代码才可能得到这样的错误信息:
因此,你使用的很可能还是PaddleSeg develop的代码。请更换PaddleSeg 2.8后尝试~ 请注意,你应该从GitHub或Gitee等代码托管网站下载PaddleSeg 2.8的完整代码,使用其中的 |
File "E:\Segmentation\PaddleSeg-release-2.8\contrib\RSSegBenchmark\c2fnet\core\train.py", line 309, in train 你好,我已经按照您的指示,重新下载了PaddleSeg 2.8,不是pip安装的。 我想补充强调的是代码可以训练,但是在保存权重的时候 报错这个问题 |
我读了一下代码,这个分支是推理阶段( 关于这个错误,我实验发现有可能在 |
bug描述 Describe the Bug
'''NotImplementedError: (Unimplemented) Invalid dimension to be accessed. Now only supports access to dimension 0 to 9, but received dimension is 10. (at C:\home\workspace\Paddle_release\paddle/phi/core/ddim.h:53)
[operator < split > error]'''
我在复现C2FNet模块的时候,出现了上述bug,我曾见其他人员提出过这个问题,但是它依然存在。我严格按照官方指定的环境进行测试,出现了这个bug。我升级各种版本的paddlepaddle,但是bug依然存在,希望可以得到帮助解决,谢谢。
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: