Skip to main content
MMEngine by OpenMMLab is a foundational library for training deep learning models based on PyTorch. MMEngine implements a next-generation training architecture for the OpenMMLab algorithm library, providing a unified execution foundation for over 30 algorithm libraries within OpenMMLab. Its core components include the training engine, evaluation engine, and module management. W&B is directly integrated into MMEngine through a dedicated WandbVisBackend that can be used to
  • log training and evaluation metrics.
  • log and manage experiment configs.
  • log additional records such as graph, images, scalars, etc.

Get started

Install openmim and wandb.
Next, install mmengine and mmcv using mim.

Use the WandbVisBackend with MMEngine Runner

This section demonstrates a typical workflow using WandbVisBackend using mmengine.runner.Runner.
  1. Define a visualizer from a visualization config.
    You pass a dictionary of arguments for W&B run initialization input parameters to init_kwargs.
  2. Initialize a runner with the visualizer, and call runner.train().

Use the WandbVisBackend with OpenMMLab computer vision libraries

The WandbVisBackend can also be used easily to track experiments with OpenMMLab computer vision libraries such as MMDetection.