Skip to content

Commit 1b4b0c2

Browse files
Update src/anomalib/models/image/dinomaly/lightning_model.py
Co-authored-by: Copilot <[email protected]> Signed-off-by: Rajesh Gangireddy <[email protected]>
1 parent 76bc4c6 commit 1b4b0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anomalib/models/image/dinomaly/lightning_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def configure_pre_processor(
219219
- Mean: [0.485, 0.456, 0.406]
220220
- Std: [0.229, 0.224, 0.225]
221221
"""
222-
image_size = image_size or (DEFAULT_CROP_SIZE, DEFAULT_CROP_SIZE)
222+
image_size = image_size or (DEFAULT_IMAGE_SIZE, DEFAULT_IMAGE_SIZE)
223223

224224
data_transforms = Compose([
225225
Resize(image_size, antialias=True),

0 commit comments

Comments
 (0)