File tree 5 files changed +9
-8
lines changed
5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
18
18
class DigitalTyphoonDataModule (NonGeoDataModule ):
19
- """Digital Typhoon Data Module."""
19
+ """Digital Typhoon Data Module.
20
+
21
+ .. versionadded:: 0.6
22
+ """
20
23
21
24
valid_split_types = ('time' , 'typhoon_id' )
22
25
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class GeoNRWDataModule(NonGeoDataModule):
21
21
Implements 80/20 train/val splits based on city locations.
22
22
See :func:`setup` for more details.
23
23
24
- .. versionadded: 0.6
24
+ .. versionadded:: 0.6
25
25
"""
26
26
27
27
def __init__ (
Original file line number Diff line number Diff line change @@ -329,8 +329,6 @@ class LEVIRCDPlus(LEVIRCDBase):
329
329
If you use this dataset in your research, please cite the following paper:
330
330
331
331
* https://arxiv.org/abs/2107.09244
332
-
333
- .. versionchanged:: 0.6
334
332
"""
335
333
336
334
url = 'https://drive.google.com/file/d/1JamSsxiytXdzAIk6VDVWfc-OsX-81U81'
Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ class BackboneWrapper(nn.Module):
122
122
* The output of the encoding layer is passed through the projection head
123
123
* The forward call returns the output of the projection head
124
124
125
- .. versionchanged 0.4: Name changed from *EncoderWrapper* to
126
- *BackboneWrapper*.
125
+ .. versionchanged:: 0.4
126
+ Name changed from *EncoderWrapper* to *BackboneWrapper*.
127
127
"""
128
128
129
129
def __init__ (
Original file line number Diff line number Diff line change @@ -77,15 +77,15 @@ class and used with 'ce' loss.
77
77
were renamed to *model*, *backbone*, and *weights*.
78
78
79
79
.. versionadded:: 0.5
80
- The *class_weights*, *freeze_backbone*, and *freeze_decoder* parameters.
80
+ The *class_weights*, *freeze_backbone*, and *freeze_decoder* parameters.
81
81
82
82
.. versionchanged:: 0.5
83
83
The *weights* parameter now supports WeightEnums and checkpoint paths.
84
84
*learning_rate* and *learning_rate_schedule_patience* were renamed to
85
85
*lr* and *patience*.
86
86
87
87
.. versionchanged:: 0.6
88
- The *ignore_index* parameter now works for jaccard loss.
88
+ The *ignore_index* parameter now works for jaccard loss.
89
89
"""
90
90
self .weights = weights
91
91
super ().__init__ (ignore = 'weights' )
You can’t perform that action at this time.
0 commit comments