Skip to main content
This page shows you how to use W&B with Skorch so you can track Skorch model training without writing custom logging code. When you integrate the two, W&B automatically logs the model with the best performance, along with all model performance metrics, the model topology, and compute resources after each epoch. W&B automatically logs every file you save in wandb_run.dir. For more information, see this example run.

Parameters

The following table lists the parameters that the WandbLogger callback accepts.

Example code

The following examples show end-to-end usage of WandbLogger with Skorch:
  • Colab: A simple demo to try the integration.
  • Step-by-step guide: A walkthrough for tracking your Skorch model performance.

Method reference

The following table lists the callback methods that WandbLogger provides and when Skorch invokes each one.