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

rtdetr 推理调大尺寸报错,原始640改为960 报错 #8508

Open
1 task done
AI-cv-llg opened this issue Aug 3, 2023 · 1 comment
Open
1 task done

rtdetr 推理调大尺寸报错,原始640改为960 报错 #8508

AI-cv-llg opened this issue Aug 3, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@AI-cv-llg
Copy link

AI-cv-llg commented Aug 3, 2023

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

rtdetr 推理调大尺寸报错,原始640改为960报错如下我改了960*960,
anaconda3/envs/paddle_cp_steel_3.8/lib/python3.8/site-packages/paddle/fluid/dygraph/math_op_patch.py", line 304, in impl
return math_op(self, other_var, -1)
ValueError: (InvalidArgument) Broadcast dimension mismatch. Operands could not be broadcast together with the shape of X = [4, 900, 384] and the shape of Y = [1, 400, 384]. Received [900] in X is not equal to [400] in Y at i:1.
[Hint: Expected x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1 == true, but received x_dims_array[i] == y_dims_array[i] || x_dims_array[i] <= 1 || y_dims_array[i] <= 1:0 != true:1.] (at /paddle/paddle/phi/kernels/funcs/common_shape.h:84)

@AI-cv-llg AI-cv-llg added the question Further information is requested label Aug 3, 2023
@AI-cv-llg AI-cv-llg changed the title rtdetr 推理调大尺寸报错,原始640改为960 rtdetr 推理调大尺寸报错,原始640改为960 报错 Aug 3, 2023
@lyuwenyu
Copy link
Collaborator

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

No branches or pull requests

2 participants