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

ValueError: operands could not be broadcast together with shapes (12800,) (3200,) #3

Open
intjun opened this issue Jun 16, 2022 · 4 comments

Comments

@intjun
Copy link

intjun commented Jun 16, 2022

ValueError: operands could not be broadcast together with shapes (12800,) (3200,)

@yantao473
Copy link

同问,与python版本有关?

@axi986
Copy link

axi986 commented Jul 1, 2022

同问,报错后这样改scores = outs[idx * self.fmc][0]
bbox_preds = outs[idx * self.fmc + 3][0] * stride
kps_preds =outs[idx * self.fmc + 6][0]* stride
报错:
kps_preds =outs[idx * self.fmc + 6][0]* stride
IndexError: tuple index out of range
求助!

@MIaomiao426
Copy link

ValueError: operands could not be broadcast together with shapes (12800,) (3200,)

您好,请问解决这个问题了吗?😭

@yangletter
Copy link

同问,报错后这样改scores = outs[idx * self.fmc][0] bbox_preds = outs[idx * self.fmc + 3][0] * stride kps_preds =outs[idx * self.fmc + 6][0]* stride 报错: kps_preds =outs[idx * self.fmc + 6][0]* stride IndexError: tuple index out of range 求助!

scores = outs[idx][0]
bbox_preds = outs[idx + self.fmc * 1][0] * stride
kps_preds = outs[idx + self.fmc * 2][0] * stride

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

5 participants