SingleCNN#
- class ctlearn.core.SingleCNN(*args: t.Any, **kwargs: t.Any)[source]#
Bases:
CTLearnModelSingleCNNis the base class of a simple convolutional neural network model.This class extends the functionality of
CTLearnModelby implementing methods to build a simple convolutional neural network model.Attributes Summary
List of dicts containing the number of filters, kernel sizes and number of repetition.
Apply batch normalization to the convolutional layers.
Number of filters in the bottleneck layer.
Name of the model backbone.
Parameters for the max or average pooling layers.
Type of pooling to apply to the convolutional layers with
pooling_parameters.Attributes Documentation
- architecture#
List of dicts containing the number of filters, kernel sizes and number of repetition. E.g.
[{'filters': 12, 'kernel_size': 3, 'number': 1}, ...].
- batchnorm#
Apply batch normalization to the convolutional layers.
- bottleneck_filters#
Number of filters in the bottleneck layer.
- name#
Name of the model backbone.
- pooling_parameters#
Parameters for the max or average pooling layers. E.g.
{'size': 2, 'strides': 2}.
- pooling_type#
Type of pooling to apply to the convolutional layers with
pooling_parameters.