diff --git a/torchgeo/trainers/segmentation.py b/torchgeo/trainers/segmentation.py index a47d659c98a..375f5207bc4 100644 --- a/torchgeo/trainers/segmentation.py +++ b/torchgeo/trainers/segmentation.py @@ -82,6 +82,9 @@ def __init__(self, **kwargs: Any) -> None: Raises: ValueError: if kwargs arguments are invalid + + .. versionchanged:: 0.3 + The *ignore_zeros* parameter was renamed to *ignore_index*. """ super().__init__() diff --git a/torchgeo/transforms/indices.py b/torchgeo/transforms/indices.py index ef373ab2860..9344dda6e6c 100644 --- a/torchgeo/transforms/indices.py +++ b/torchgeo/transforms/indices.py @@ -213,6 +213,8 @@ class AppendSWI(AppendNormalizedDifferenceIndex): If you use this index in your research, please cite the following paper: * https://doi.org/10.3390/w13121647 + + .. versionadded:: 0.3 """ def __init__(self, index_red: int, index_swir: int) -> None: @@ -237,6 +239,8 @@ class AppendGNDVI(AppendNormalizedDifferenceIndex): If you use this index in your research, please cite the following paper: * https://doi.org/10.2134/agronj2001.933583x + + .. versionadded:: 0.3 """ def __init__(self, index_nir: int, index_green: int) -> None: