ResNet#
- class ctlearn.core.ResNet(*args: t.Any, **kwargs: t.Any)[source]#
Bases:
CTLearnModelResNetis a residual neural network model.This class extends the functionality of
CTLearnModelby implementing methods to build a residual neural network model.Attributes Summary
List of dicts containing the number of filters and residual blocks.
Parameters for the first convolutional layer.
Parameters for the first max pooling layer.
Name of the model backbone.
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.