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