How do I turn off logging?
less than a minute
The command wandb offline
sets the environment variable WANDB_MODE=offline
, preventing data from syncing to the remote W&B server. This action affects all projects, stopping the logging of data to W&B servers.
To suppress warning messages, use the following code:
import logging
logger = logging.getLogger("wandb")
logger.setLevel(logging.WARNING)
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.