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 fc473fe commit 5485295Copy full SHA for 5485295
src/anomalib/data/transforms/center_crop.py
@@ -78,7 +78,7 @@ class ExportableCenterCrop(Transform):
78
size (int | tuple[int, int]): Desired output size of the crop.
79
"""
80
81
- def __init__(self, size: int | Sequence[int, int]) -> None:
+ def __init__(self, size: int | Sequence[int]) -> None:
82
super().__init__()
83
self.size = list(size) if isinstance(size, Sequence) else [size, size]
84
0 commit comments