Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UC Merced: redistribute on Hugging Face #1076

Merged
merged 1 commit into from
Feb 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions torchgeo/datasets/ucmerced.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


class UCMerced(NonGeoClassificationDataset):
"""UC Merced dataset.
"""UC Merced Land Use dataset.

The `UC Merced <http://weegee.vision.ucmerced.edu/datasets/landuse.html>`__
The `UC Merced Land Use <http://weegee.vision.ucmerced.edu/datasets/landuse.html>`_
dataset is a land use classification dataset of 2.1k 256x256 1ft resolution RGB
images of urban locations around the U.S. extracted from the USGS National Map Urban
Area Imagery collection with 21 land use classes (100 images per class).
Expand Down Expand Up @@ -61,7 +61,7 @@ class UCMerced(NonGeoClassificationDataset):
* https://dl.acm.org/doi/10.1145/1869790.1869829
"""

url = "http://weegee.vision.ucmerced.edu/datasets/UCMerced_LandUse.zip" # 318 MB
url = "https://huggingface.co/datasets/torchgeo/ucmerced/resolve/main/UCMerced_LandUse.zip" # noqa: E501
filename = "UCMerced_LandUse.zip"
md5 = "5b7ec56793786b6dc8a908e8854ac0e4"

Expand Down