anomalib.models.reverse_distillation.components¶
PyTorch modules for Reverse Distillation.
Submodules¶
Package Contents¶
Functions¶
|
Get appropriate bottleneck layer based on the name of the backbone. |
|
Get decoder model based on the name of the backbone. |
- anomalib.models.reverse_distillation.components.get_bottleneck_layer(backbone: str, **kwargs) OCBE[source]¶
Get appropriate bottleneck layer based on the name of the backbone.
- Parameters
backbone (str) – Name of the backbone.
- Returns
One-Class Bottleneck Embedding module.
- Return type
Bottleneck_layer