Notebooks
W
Weights and Biases
Set Alerts With W & B

Set Alerts With W & B

wandb-logwandb-examplescolabs

Open In Colab

Weights & Biases

Using wandb.alert() to Send Alert Messages

Use W&B Alerts to send yourself a Slack message or email when something happens in your Python script. Follow the steps below to send your first Alert. See the Alerts docs for a more detailed description.

1. Turn on Alerts in your W&B User Settings

  • Go to your User Settings
  • Turn on Scriptable Alerts
  • Select whether you'd like to get Alerts via email or Slack

2. Install the W&B Library and Login

[ ]
[ ]
[ ]

3. Launch a script that triggers alerts

[ ]

4. Check your Slack or email

Check your Slack or emails for the alert message. If you didn't receive any, check your Settings to make sure you've got emails or Slack turned on for Scriptable Alerts. More details in the Alerts docs.