diff --git a/torchgeo/samplers/single.py b/torchgeo/samplers/single.py index da544a264d1..05bdf32f314 100644 --- a/torchgeo/samplers/single.py +++ b/torchgeo/samplers/single.py @@ -281,7 +281,7 @@ def get_chips(self) -> GeoDataFrame: """Generate chips from the dataset. Returns: - GeoDataFrame: A GeoDataFrame containing the generated chips. + A GeoDataFrame containing the generated chips. """ chips = [] for _ in tqdm(range(self.length)): @@ -380,7 +380,7 @@ def get_chips(self) -> GeoDataFrame: """Generates chips from the given hits. Returns: - GeoDataFrame: A GeoDataFrame containing the generated chips. + A GeoDataFrame containing the generated chips. """ print('generating samples... ') self.length = 0 @@ -462,7 +462,7 @@ def get_chips(self) -> GeoDataFrame: """Generate chips from the hits and return them as a GeoDataFrame. Returns: - GeoDataFrame: A GeoDataFrame containing the generated chips. + A GeoDataFrame containing the generated chips. """ generator: Callable[[int], Iterable[int]] = range if self.shuffle: