mypy error: Argument 4 to "AugmentationSequential" has incompatible type "RandomTransplantation"; expected "_AugmentationBase | ImageSequential" #2918
Labels
help wanted
Extra attention is needed
Describe the bug
It appears RandomTransplantation is incompatible type for AugmentationSequential, although the use is documented in the Note here.
Reviewing the chain:
RandomTransplantation(MixAugmentationBaseV2)
>MixAugmentationBaseV2(_BasicAugmentationBase)
>_BasicAugmentationBase(Module)
wherefrom kornia.core import Module, Tensor, tensor, zeros
Reproduction steps
Run mypy on this file results in:
Additional context
No response
The text was updated successfully, but these errors were encountered: