Skip to content

swanlab convert

bash
swanlab convert [OPTIONS]
OptionDescription
-t, --typeSelect the conversion type, options include tensorboard, wandb, default is tensorboard.
-p, --projectSet the SwanLab project name for the conversion, default is None.
-w, --workspaceSet the workspace where the SwanLab project is located, default is None.
-l, --logdirSet the log file save path for the SwanLab project, default is None.
--cloudSet whether the SwanLab project logs are uploaded to the cloud, default is True.
--tb-logdirPath to the Tensorboard log files (tfevent) to be converted.
--wb-projectName of the Wandb project to be converted.
--wb-entityEntity where the Wandb project to be converted is located.
--wb-runidID of the Wandb Run to be converted.

Introduction

Convert content from other logging tools into SwanLab projects.
Supported tools for conversion include: Tensorboard, Weights & Biases.

Usage Examples

Tensorboard

Integration - Tensorboard

Weights & Biases

Integration - Weights & Biases