stable_pretraining.backbone#
The backbone module provides neural network architectures and utilities for self-supervised learning.
Architectures#
|
This block implements the multi-layer perceptron (MLP) module. |
|
A Residual network. |
|
ConvMixer model from [Trockman and Kolter, 2022]. |
Utility Functions#
|
|
|
Load a backbone model. |
|
Specialized Modules#
|
Backbone wrapper that implements teacher-student distillation via EMA. |
|
Wrapper that forces a module to remain in evaluation mode. |