Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaccorley committed Apr 15, 2023
1 parent 14a146e commit 8866b22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions torchgeo/datasets/ucmerced.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,10 @@ def _load_image(self, index: int) -> Tuple[Tensor, Tensor]:
Args:
index: index to return
Returns:
the image
the image class label
.. versionadded:: 0.4.2
"""
img, label = super()._load_image(index)
img = F.resize(img, size=(256, 256), antialias=True)
Expand Down

0 comments on commit 8866b22

Please sign in to comment.