Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guarin committed Sep 24, 2024
1 parent 363958e commit 5a487c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightly/transforms/dino_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def __init__(
T.RandomResizedCrop(
size=crop_size,
scale=crop_scale,
# Type ignore needed because BICUBIC is not recognized as an attribute.
interpolation=PIL.Image.BICUBIC, # type: ignore[attr-defined]
),
T.RandomHorizontalFlip(p=hf_prob),
Expand Down

0 comments on commit 5a487c9

Please sign in to comment.