File tree 1 file changed +6
-6
lines changed
torchvision/models/segmentation
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def fcn_resnet50(
125
125
num_classes : int = 21 ,
126
126
aux_loss : Optional [bool ] = None ,
127
127
** kwargs : Any
128
- ) -> nn . Module :
128
+ ) -> FCN :
129
129
"""Constructs a Fully-Convolutional Network model with a ResNet-50 backbone.
130
130
131
131
Args:
@@ -144,7 +144,7 @@ def fcn_resnet101(
144
144
num_classes : int = 21 ,
145
145
aux_loss : Optional [bool ] = None ,
146
146
** kwargs : Any
147
- ) -> nn . Module :
147
+ ) -> FCN :
148
148
"""Constructs a Fully-Convolutional Network model with a ResNet-101 backbone.
149
149
150
150
Args:
@@ -163,7 +163,7 @@ def deeplabv3_resnet50(
163
163
num_classes : int = 21 ,
164
164
aux_loss : Optional [bool ] = None ,
165
165
** kwargs : Any
166
- ) -> nn . Module :
166
+ ) -> DeepLabV3 :
167
167
"""Constructs a DeepLabV3 model with a ResNet-50 backbone.
168
168
169
169
Args:
@@ -182,7 +182,7 @@ def deeplabv3_resnet101(
182
182
num_classes : int = 21 ,
183
183
aux_loss : Optional [bool ] = None ,
184
184
** kwargs : Any
185
- ) -> nn . Module :
185
+ ) -> DeepLabV3 :
186
186
"""Constructs a DeepLabV3 model with a ResNet-101 backbone.
187
187
188
188
Args:
@@ -201,7 +201,7 @@ def deeplabv3_mobilenet_v3_large(
201
201
num_classes : int = 21 ,
202
202
aux_loss : Optional [bool ] = None ,
203
203
** kwargs : Any
204
- ) -> nn . Module :
204
+ ) -> DeepLabV3 :
205
205
"""Constructs a DeepLabV3 model with a MobileNetV3-Large backbone.
206
206
207
207
Args:
@@ -219,7 +219,7 @@ def lraspp_mobilenet_v3_large(
219
219
progress : bool = True ,
220
220
num_classes : int = 21 ,
221
221
** kwargs : Any
222
- ) -> nn . Module :
222
+ ) -> LRASPP :
223
223
"""Constructs a Lite R-ASPP Network model with a MobileNetV3-Large backbone.
224
224
225
225
Args:
You can’t perform that action at this time.
0 commit comments