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

DDRNet在预测推理的时候遇到了维度不匹配的问题 #33

Open
Roylo-bot opened this issue Mar 21, 2024 · 1 comment
Open

Comments

@Roylo-bot
Copy link

在用DDRNet训练自己的数据后(两类,背景和前景),对图片进行预测时,偶尔会出现
File "/0work/LMK/Segment_task/Segmentation-Pytorch/model/DDRNet.py", line 330, in forward
x_ = x_ + F.interpolate(
RuntimeError: The size of tensor a (63) must match the size of tensor b (62) at non-singleton dimension 3
这个维度的bug。
请问该如何解决?

@Liaojunyu6138
Copy link

您好,我也遇到了这个问题,请问您解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants