Open whisney opened 1 year ago
Why do you think it's mistake? Any of first 3 dimensions can be depth. In this code it's assumed that 3rd dimension is depth.
But the line 259 and line 281 in the same function, it's assumed that 1st dimension is depth.
I think it's not really a bug, but 2 different dimensions used for transforms. But need to investigate. Thanks.
https://github.com/ZFTurbo/volumentations/blob/50a11936c5a663e0bc203be0f99ca9bb136edbe4/volumentations/augmentations/functional.py#L309
Is there a mistake in the dimension of depth here?