yolov5-dnn-cpp-python-v2 icon indicating copy to clipboard operation
yolov5-dnn-cpp-python-v2 copied to clipboard

Error with custom model yolov5m

Open xellDart opened this issue 4 years ago • 2 comments

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)

xellDart avatar Jul 20 '21 18:07 xellDart

Have you solved it? I have the same problem

heuLxb avatar May 06 '24 11:05 heuLxb

Have you solved it? I have the same problem

hi,have you solve the problem now?

wangbdbisbbc avatar May 13 '24 12:05 wangbdbisbbc