Unverified Commit e2fa1f9d authored by Vasilis Vryniotis's avatar Vasilis Vryniotis Committed by GitHub
Browse files

Reshare input before equalize (#6775)

parent e1aacdd9
......@@ -227,7 +227,7 @@ def equalize_image_tensor(image: torch.Tensor) -> torch.Tensor:
if image.numel() == 0:
return image
return _equalize_image_tensor_vec(image.view(-1, height, width)).reshape(image.shape)
return _equalize_image_tensor_vec(image.reshape(-1, height, width)).reshape(image.shape)
equalize_image_pil = _FP.equalize
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment