Skip to content

Commit

Permalink
Fix typo (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
kephale authored Sep 26, 2023
1 parent 20fb49f commit dadfe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topaz/utils/data/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def __getitem__(self, i):
angle = self.random.uniform(0, 360)
X = X.rotate(angle, resample=self.resample)
if type(Y) is Image.Image:
Y = Y.rotate(angle, resmaple=Image.NEAREST)
Y = Y.rotate(angle, resample=Image.NEAREST)

## crop down if requested
if self.crop is not None:
Expand Down

0 comments on commit dadfe72

Please sign in to comment.