ResNet#

class ctlearn.core.ResNet(*args: t.Any, **kwargs: t.Any)[source]#

Bases: CTLearnModel

ResNet is a residual neural network model.

This class extends the functionality of CTLearnModel by implementing methods to build a residual neural network model.

Attributes Summary

architecture

List of dicts containing the number of filters and residual blocks.

init_layer

Parameters for the first convolutional layer.

init_max_pool

Parameters for the first max pooling layer.

name

Name of the model backbone.

residual_block_type

Type of residual block to use.

Attributes Documentation

architecture#

List of dicts containing the number of filters and residual blocks. E.g. [{'filters': 12, 'blocks': 2}, ...].

init_layer#

Parameters for the first convolutional layer. E.g. {'filters': 64, 'kernel_size': 7, 'strides': 2}.

init_max_pool#

Parameters for the first max pooling layer. E.g. {'size': 3, 'strides': 2}.

name#

Name of the model backbone.

residual_block_type#

Type of residual block to use.