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

Error with custom model yolov5m #7

Open
xellDart opened this issue Jul 20, 2021 · 2 comments
Open

Error with custom model yolov5m #7

xellDart opened this issue Jul 20, 2021 · 2 comments

Comments

@xellDart
Copy link

I train my model with your changes, y test this using onnx runtime and all is ok , but in OpenCV I get this error:
outs[row_ind:row_ind+length, 0:2] = (outs[row_ind:row_ind+length, 0:2] * 2. - 0.5 + np.tile(self.grid[i],(self.na, 1))) * int(self.stride[i])
ValueError: operands could not be broadcast together with shapes (1,2,8) (19200,2)

@Lucas-Lxb
Copy link

Have you solved it? I have the same problem

@wangbdbisbbc
Copy link

Have you solved it? I have the same problem

hi,have you solve the problem now?

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

3 participants