Skip to content

Commit

Permalink
Add issue link
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnair1 committed Jun 30, 2024
1 parent bec9bab commit b794e34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/transforms/test_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_random_grayscale_sample(weights: Tensor, sample: dict[str, Tensor]) ->
aug = K.AugmentationSequential(
RandomGrayscale(weights, p=1), keepdim=True, data_keys=None
)
# https://github.com/kornia/kornia/issues/2848
aug.keepdim = True
output = aug(sample)
assert output['image'].shape == sample['image'].shape
Expand Down

0 comments on commit b794e34

Please sign in to comment.