Skip to content

Commit

Permalink
included versionadded: 0.5 and parameter to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
nsutezo committed Apr 5, 2023
1 parent 83c3038 commit cd9ffbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torchgeo/trainers/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ class and used with 'ce' loss
The *segmentation_model* parameter was renamed to *model*,
*encoder_name* renamed to *backbone*, and
*encoder_weights* to *weights*.
.. versionadded: 0.5
The *class_weights* parameter.
"""
super().__init__()

Expand Down

0 comments on commit cd9ffbf

Please sign in to comment.