Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
mfai documentation
Logo
mfai documentation
  • Installation
  • Quickstart
  • Use Cases
  • NamedTensor
  • Models
    • ModelABC
  • Losses
    • GridCellLoss
    • BaseNet
    • LPIPS
    • LinLayers
    • PerceptualLoss
    • VGG16
    • DiceLoss
    • SoftBCEWithLogitsLoss
    • SoftCrossEntropyLoss
  • Transforms
    • DimensionSubSampler
    • MeanDimensionSubsampler
    • RandomCropWithMinPositivePixels
  • Metrics
    • CSINeighborhood
    • FAR
    • FNR
    • FSS
    • PR_AUC
  • Lightning
    • CLIPLightningModule
    • DGMRLightningModule
    • SegmentationLightningModule
    • MLFlowSaveConfigCallback
    • MLFlowSystemMonitorCallback
    • SaveCLIPVisualEncoderWeights
  • Reference
    • mfai
      • encoding
      • http
      • pytorch
        • callbacks
        • dummy_dataset
        • lightning_modules
          • clip
          • gan_dgmr
          • segmentation
        • losses
          • dgmr
          • perceptual
          • toolbelt
        • lr_scheduler
        • metrics
        • namedtensor
        • padding
        • transforms
      • tensorflow
  • About
  • Acknowledgements
  • Contributing
Back to top
View this page

Lightning¶

Lightning Modules¶

CLIPLightningModule

DGMRLightningModule

Pytorch Lightning Module to train the GAN.

SegmentationLightningModule

Callbacks¶

MLFlowSaveConfigCallback

A Lightning callback to save the config.yaml in the run directory instead of in the top-level save_dir.

MLFlowSystemMonitorCallback

A Lightning callback to log system metrics (GPU usage etc.) in MLFlow.

SaveCLIPVisualEncoderWeights

Callback to save the weights of the visual encoder during training.

Next
CLIPLightningModule
Previous
PR_AUC
Copyright © 2026, Météo-France AI Lab
Made with Sphinx and @pradyunsg's Furo
Météo-France
On this page
  • Lightning
    • Lightning Modules
    • Callbacks