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

formulation problem

Open hjq0523 opened this issue 4 years ago • 0 comments

I cannot understand the formulation: 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]) outs[row_ind:row_ind+length, 2:4] = (outs[row_ind:row_ind+length, 2:4] * 2) ** 2 * np.repeat(self.anchor_grid[i],h*w, axis=0) would you please help explain it

hjq0523 avatar Jul 16 '21 02:07 hjq0523