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