src.FRAME_FM.models.demo_simple_conv
Attributes
Classes
A thin wrapper around PyTorch Lightning's LightningModule to allow for future extensions |
|
Input: [B, V, H, W] |
Module Contents
- class src.FRAME_FM.models.demo_simple_conv.MyModel[source]
Bases:
FRAME_FM.utils.LightningModuleWrapper.BaseModuleA thin wrapper around PyTorch Lightning’s LightningModule to allow for future extensions and customizations specific to FRAME-FM project needs.
Subclasses should implement training_step_body and validation_step_body methods instead of training_step and validation_step directly.
Enforces consistent logging patterns across training and validation steps. Enforces logging of loss by default.
- class src.FRAME_FM.models.demo_simple_conv.SpatialCollapse(in_variables, hidden_channels=32, dropout=0.2)[source]
Bases:
torch.nn.ModuleInput: [B, V, H, W] Output: [B]