Closed SWHL closed 3 years ago
Thank your work.
I think the order of X and Y in the crop function is reversed, in the following code: https://github.com/YU-Zhiyang/opencv_transforms_torchvision/blob/33c26803eaea1ec7d51953c9f0f58c80bd6d72ba/cvtorchvision/cvtransforms/cvfunctional.py#L280
crop
I think it should be:
return img[y1:y2, x1:x2, ...].copy()
I misunderstood, yours is correct
Thank your work.
I think the order of X and Y in the
crop
function is reversed, in the following code: https://github.com/YU-Zhiyang/opencv_transforms_torchvision/blob/33c26803eaea1ec7d51953c9f0f58c80bd6d72ba/cvtorchvision/cvtransforms/cvfunctional.py#L280I think it should be: