We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0206ea5 commit eec7f94Copy full SHA for eec7f94
pytorch_toolbelt/inference/tta.py
@@ -43,7 +43,7 @@
43
MaybeStrOrCallable = Optional[Union[str, Callable]]
44
45
46
-def fivecrop_image_augment(image: Tensor, crop_size: Tuple) -> Tensor:
+def fivecrop_image_augment(image: Tensor, crop_size: Tuple[int, int]) -> Tensor:
47
"""Test-time augmentation for image classification that takes five crops out of input tensor (4 on corners and central)
48
and averages predictions from them.
49
0 commit comments