swanlab disabled
bash
swanlab disabledIntroduction
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 offlineCloud mode:
bash
swanlab onlineLocal dashboard mode:
bash
swanlab local