Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodrut committed Jan 20, 2025
1 parent 98da858 commit 640f72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/dl4gam_alps.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def plot(
)

vmin, vmax = np.min(img), np.max(img)
# smale the images to [0,1]
# scale the images to [0,1]
if k in ['RGB Image', 'SWIR-NIR-R Image']:
img = (img - vmin) / (vmax - vmin)

Expand Down

0 comments on commit 640f72a

Please sign in to comment.