builder
model.backbone.builder
native_models
module-attribute
native_models = {'van_b0': van_b0, 'van_b1': van_b1, 'van_b2': van_b2, 'van_b3': van_b3, 'regnet_y_400mf_torchvision': regnet_y_400mf, 'regnet_y_800mf_torchvision': regnet_y_800mf, 'regnet_y_1_6gf_torchvision': regnet_y_1_6gf, 'regnet_y_3_2gf_torchvision': regnet_y_3_2gf, 'regnet_y_8gf_torchvision': regnet_y_8gf, 'regnet_y_16gf_torchvision': regnet_y_16gf, 'regnet_y_32gf_torchvision': regnet_y_32gf, 'regnet_y_128gf_torchvision': regnet_y_128gf, 'regnet_x_400mf_torchvision': regnet_x_400mf, 'regnet_x_800mf_torchvision': regnet_x_800mf, 'regnet_x_1_6gf_torchvision': regnet_x_1_6gf, 'regnet_x_3_2gf_torchvision': regnet_x_3_2gf, 'regnet_x_8gf_torchvision': regnet_x_8gf, 'regnet_x_16gf_torchvision': regnet_x_16gf, 'regnet_x_32gf_torchvision': regnet_x_32gf, 'resnet18_torchvision': resnet18, 'resnet34_torchvision': resnet34, 'resnet50_torchvision': resnet50, 'resnet101_torchvision': resnet101, 'resnet152_torchvision': resnet152, 'resnext50_32x4d_torchvision': resnext50_32x4d, 'resnext101_32x8d_torchvision': resnext101_32x8d, 'resnext101_64x4d_torchvision': resnext101_64x4d, 'wide_resnet50_2_torchvision': wide_resnet50_2, 'wide_resnet101_2_torchvision': wide_resnet101_2, 'squeezenet1_0_torchvision': squeezenet1_0, 'squeezenet1_1_torchvision': squeezenet1_1, 'vgg11_torchvision': vgg11, 'vgg11_bn_torchvision': vgg11_bn, 'vgg13_torchvision': vgg13, 'vgg13_bn_torchvision': vgg13_bn, 'vgg16_torchvision': vgg16, 'vgg16_bn_torchvision': vgg16_bn, 'vgg19_torchvision': vgg19, 'vgg19_bn_torchvision': vgg19_bn}
van_b0
Source code in SaigeToolkit/model/backbone/van.py
van_b1
Source code in SaigeToolkit/model/backbone/van.py
van_b2
Source code in SaigeToolkit/model/backbone/van.py
van_b3
Source code in SaigeToolkit/model/backbone/van.py
regnet_y_400mf
regnet_y_400mf(*, weights: Optional[RegNet_Y_400MF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_400MF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_400MF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_400MF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_400MF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_800mf
regnet_y_800mf(*, weights: Optional[RegNet_Y_800MF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_800MF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_800MF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_800MF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_800MF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_1_6gf
regnet_y_1_6gf(*, weights: Optional[RegNet_Y_1_6GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_1.6GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_1_6GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_1_6GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_1_6GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_3_2gf
regnet_y_3_2gf(*, weights: Optional[RegNet_Y_3_2GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_3.2GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_3_2GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_3_2GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_3_2GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_8gf
regnet_y_8gf(*, weights: Optional[RegNet_Y_8GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_8GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_8GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_8GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_8GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_16gf
regnet_y_16gf(*, weights: Optional[RegNet_Y_16GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_16GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_16GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_16GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_16GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_32gf
regnet_y_32gf(*, weights: Optional[RegNet_Y_32GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_32GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_32GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_32GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_32GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_y_128gf
regnet_y_128gf(*, weights: Optional[RegNet_Y_128GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetY_128GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_Y_128GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_Y_128GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_Y_128GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_400mf
regnet_x_400mf(*, weights: Optional[RegNet_X_400MF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_400MF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_400MF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_400MF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_400MF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_800mf
regnet_x_800mf(*, weights: Optional[RegNet_X_800MF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_800MF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_800MF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_800MF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_800MF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_1_6gf
regnet_x_1_6gf(*, weights: Optional[RegNet_X_1_6GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_1.6GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_1_6GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_1_6GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_1_6GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_3_2gf
regnet_x_3_2gf(*, weights: Optional[RegNet_X_3_2GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_3.2GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_3_2GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_3_2GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_3_2GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_8gf
regnet_x_8gf(*, weights: Optional[RegNet_X_8GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_8GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_8GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_8GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_8GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_16gf
regnet_x_16gf(*, weights: Optional[RegNet_X_16GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_16GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_16GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_16GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_16GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
regnet_x_32gf
regnet_x_32gf(*, weights: Optional[RegNet_X_32GF_Weights] = None, progress: bool = True, **kwargs: Any) -> RegNet
Constructs a RegNetX_32GF architecture from
Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>.
Args:
weights (:class:~torchvision.models.RegNet_X_32GF_Weights, optional): The pretrained weights to use.
See :class:~torchvision.models.RegNet_X_32GF_Weights below for more details and possible values.
By default, no pretrained weights are used.
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
**kwargs: parameters passed to either torchvision.models.regnet.RegNet or
torchvision.models.regnet.BlockParams class. Please refer to the source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>
for more detail about the classes.
.. autoclass:: torchvision.models.RegNet_X_32GF_Weights
:members:
Source code in SaigeToolkit/model/backbone/torchvision/regnet.py
resnet18
resnet18(*, weights: Optional[ResNet18_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNet-18 from Deep Residual Learning for Image Recognition <https://arxiv.org/pdf/1512.03385.pdf>__.
Parameters:
-
weights–class:
~torchvision.models.ResNet18_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNet18_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNet18_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnet34
resnet34(*, weights: Optional[ResNet34_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNet-34 from Deep Residual Learning for Image Recognition <https://arxiv.org/pdf/1512.03385.pdf>__.
Parameters:
-
weights–class:
~torchvision.models.ResNet34_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNet34_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNet34_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnet50
resnet50(*, weights: Optional[ResNet50_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNet-50 from Deep Residual Learning for Image Recognition <https://arxiv.org/pdf/1512.03385.pdf>__.
.. note::
The bottleneck of TorchVision places the stride for downsampling to the second 3x3
convolution while the original paper places it to the first 1x1 convolution.
This variant improves the accuracy and is known as ResNet V1.5
<https://ngc.nvidia.com/catalog/model-scripts/nvidia:resnet_50_v1_5_for_pytorch>_.
Parameters:
-
weights–class:
~torchvision.models.ResNet50_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNet50_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNet50_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnet101
resnet101(*, weights: Optional[ResNet101_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNet-101 from Deep Residual Learning for Image Recognition <https://arxiv.org/pdf/1512.03385.pdf>__.
.. note::
The bottleneck of TorchVision places the stride for downsampling to the second 3x3
convolution while the original paper places it to the first 1x1 convolution.
This variant improves the accuracy and is known as ResNet V1.5
<https://ngc.nvidia.com/catalog/model-scripts/nvidia:resnet_50_v1_5_for_pytorch>_.
Parameters:
-
weights–class:
~torchvision.models.ResNet101_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNet101_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNet101_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnet152
resnet152(*, weights: Optional[ResNet152_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNet-152 from Deep Residual Learning for Image Recognition <https://arxiv.org/pdf/1512.03385.pdf>__.
.. note::
The bottleneck of TorchVision places the stride for downsampling to the second 3x3
convolution while the original paper places it to the first 1x1 convolution.
This variant improves the accuracy and is known as ResNet V1.5
<https://ngc.nvidia.com/catalog/model-scripts/nvidia:resnet_50_v1_5_for_pytorch>_.
Parameters:
-
weights–class:
~torchvision.models.ResNet152_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNet152_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNet152_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnext50_32x4d
resnext50_32x4d(*, weights: Optional[ResNeXt50_32X4D_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNeXt-50 32x4d model from
Aggregated Residual Transformation for Deep Neural Networks <https://arxiv.org/abs/1611.05431>_.
Parameters:
-
weights–class:
~torchvision.models.ResNeXt50_32X4D_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNext50_32X4D_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNeXt50_32X4D_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnext101_32x8d
resnext101_32x8d(*, weights: Optional[ResNeXt101_32X8D_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNeXt-101 32x8d model from
Aggregated Residual Transformation for Deep Neural Networks <https://arxiv.org/abs/1611.05431>_.
Parameters:
-
weights–class:
~torchvision.models.ResNeXt101_32X8D_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNeXt101_32X8D_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNeXt101_32X8D_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
resnext101_64x4d
resnext101_64x4d(*, weights: Optional[ResNeXt101_64X4D_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
ResNeXt-101 64x4d model from
Aggregated Residual Transformation for Deep Neural Networks <https://arxiv.org/abs/1611.05431>_.
Parameters:
-
weights–class:
~torchvision.models.ResNeXt101_64X4D_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.ResNeXt101_64X4D_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.ResNeXt101_64X4D_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
wide_resnet50_2
wide_resnet50_2(*, weights: Optional[Wide_ResNet50_2_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
Wide ResNet-50-2 model from
Wide Residual Networks <https://arxiv.org/abs/1605.07146>_.
The model is the same as ResNet except for the bottleneck number of channels which is twice larger in every block. The number of channels in outer 1x1 convolutions is the same, e.g. last block in ResNet-50 has 2048-512-2048 channels, and in Wide ResNet-50-2 has 2048-1024-2048.
Parameters:
-
weights–class:
~torchvision.models.Wide_ResNet50_2_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.Wide_ResNet50_2_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.Wide_ResNet50_2_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
wide_resnet101_2
wide_resnet101_2(*, weights: Optional[Wide_ResNet101_2_Weights] = None, progress: bool = True, **kwargs: Any) -> ResNet
Wide ResNet-101-2 model from
Wide Residual Networks <https://arxiv.org/abs/1605.07146>_.
The model is the same as ResNet except for the bottleneck number of channels which is twice larger in every block. The number of channels in outer 1x1 convolutions is the same, e.g. last block in ResNet-101 has 2048-512-2048 channels, and in Wide ResNet-101-2 has 2048-1024-2048.
Parameters:
-
weights–class:
~torchvision.models.Wide_ResNet101_2_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.Wide_ResNet101_2_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.resnet.ResNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>_ for more details about this class.
.. autoclass:: torchvision.models.Wide_ResNet101_2_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/resnet.py
squeezenet1_0
squeezenet1_0(*, weights: Optional[SqueezeNet1_0_Weights] = None, progress: bool = True, **kwargs: Any) -> SqueezeNet
SqueezeNet model architecture from the SqueezeNet: AlexNet-level
accuracy with 50x fewer parameters and <0.5MB model size
<https://arxiv.org/abs/1602.07360>_ paper.
Parameters:
-
weights–class:
~torchvision.models.SqueezeNet1_0_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.SqueezeNet1_0_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.squeezenet.SqueezeNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/squeezenet.py>_ for more details about this class.
.. autoclass:: torchvision.models.SqueezeNet1_0_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/squeezenet.py
squeezenet1_1
squeezenet1_1(*, weights: Optional[SqueezeNet1_1_Weights] = None, progress: bool = True, **kwargs: Any) -> SqueezeNet
SqueezeNet 1.1 model from the official SqueezeNet repo
<https://github.com/DeepScale/SqueezeNet/tree/master/SqueezeNet_v1.1>_.
SqueezeNet 1.1 has 2.4x less computation and slightly fewer parameters than SqueezeNet 1.0, without sacrificing accuracy.
Parameters:
-
weights–class:
~torchvision.models.SqueezeNet1_1_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.SqueezeNet1_1_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.squeezenet.SqueezeNetbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/squeezenet.py>_ for more details about this class.
.. autoclass:: torchvision.models.SqueezeNet1_1_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/squeezenet.py
vgg11
vgg11(*, weights: Optional[VGG11_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-11 from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG11_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG11_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG11_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg11_bn
vgg11_bn(*, weights: Optional[VGG11_BN_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-11-BN from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG11_BN_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG11_BN_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG11_BN_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg13
vgg13(*, weights: Optional[VGG13_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-13 from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG13_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG13_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG13_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg13_bn
vgg13_bn(*, weights: Optional[VGG13_BN_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-13-BN from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG13_BN_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG13_BN_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG13_BN_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg16
vgg16(*, weights: Optional[VGG16_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-16 from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG16_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG16_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG16_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg16_bn
vgg16_bn(*, weights: Optional[VGG16_BN_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-16-BN from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG16_BN_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG16_BN_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG16_BN_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg19
vgg19(*, weights: Optional[VGG19_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-19 from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG19_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG19_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG19_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
vgg19_bn
vgg19_bn(*, weights: Optional[VGG19_BN_Weights] = None, progress: bool = True, **kwargs: Any) -> VGG
VGG-19_BN from Very Deep Convolutional Networks for Large-Scale Image Recognition <https://arxiv.org/abs/1409.1556>__.
Parameters:
-
weights–class:
~torchvision.models.VGG19_BN_Weights, optional): The pretrained weights to use. See :class:~torchvision.models.VGG19_BN_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used. -
progress(bool, default:True) –If True, displays a progress bar of the download to stderr. Default is True.
-
**kwargs(Any, default:{}) –parameters passed to the
torchvision.models.vgg.VGGbase class. Please refer to thesource code <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>_ for more details about this class.
.. autoclass:: torchvision.models.VGG19_BN_Weights :members:
Source code in SaigeToolkit/model/backbone/torchvision/vgg.py
register_backbone
native_models에 백본을 등록해 build_backbone()에서 사용할 수 있도록 합니다