From e2421ea046961069d96984844acee15db1ea79d7 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 2 Mar 2024 22:54:57 +0100 Subject: [PATCH] DeepGlobeLandCover: document download steps (#1921) --- torchgeo/datasets/deepglobelandcover.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/torchgeo/datasets/deepglobelandcover.py b/torchgeo/datasets/deepglobelandcover.py index 233c70cd04..c265321a33 100644 --- a/torchgeo/datasets/deepglobelandcover.py +++ b/torchgeo/datasets/deepglobelandcover.py @@ -62,8 +62,18 @@ class DeepGlobeLandCover(NonGeoDataset): * https://arxiv.org/pdf/1805.06561.pdf + .. note:: + + This dataset can be downloaded using: + + .. code-block:: console + + $ pip install kaggle # place api key at ~/.kaggle/kaggle.json + $ kaggle datasets download -d geoap96/deepglobe2018-landcover-segmentation-traindataset + $ unzip deepglobe2018-landcover-segmentation-traindataset.zip + .. versionadded:: 0.3 - """ + """ # noqa: E501 filename = "data.zip" data_root = "data"