swanlab disabled
bash
swanlab disabled
Introduction
Quickly set SwanLab to disabled
mode in the command line.
Priority
SwanLab provides three ways to set the disabled
mode:
- Command line
bash
swanlab disabled
- Environment variable
bash
export SWANLAB_MODE=disabled
- Code
python
swanlab.init(mode="disabled")
The priority order is: Code > Environment variable > Command line.
Set to other modes
Offline mode:
bash
swanlab offline
Cloud mode:
bash
swanlab online
Local dashboard mode:
bash
swanlab local