跳转到内容

swanlab convert ​

bash
swanlab convert [OPTIONS]
选项描述
-t, --type选择转换类型,可选tensorboard、wandb、mlflow、wandb-local,默认为tensorboard。
-p, --project设置转换创建的SwanLab项目名,默认为None。
-w, --workspace设置SwanLab项目所在空间,默认为None。
--mode设置SwanLab的记录模式,可选online、local、offline、disabled,默认为online。
-l, --logdir设置SwanLab项目的日志文件保存路径,默认为None。
--tb-log-dir需要转换的TensorBoard日志文件路径(tfevent)。
--tb-types需要转换的TensorBoard日志类型,可选scalar、image、audio、text,默认为scalar,多个类型用英文逗号分隔。
--wb-project需要转换的W&B项目名。
--wb-entity需要转换的W&B项目所在实体。
--wb-runid需要转换的W&B Run的id。
--wb-dir需要转换的W&B本地日志目录,默认为./wandb。
--wb-run-dir指定的W&B本地run目录名,不填写则转换--wb-dir下的全部run。
--mlflow-urlMLflow服务的tracking url,默认为http://127.0.0.1:5000。
--mlflow-exp需要转换的MLflow实验的name或id(必填)。
--mlflow-runid需要转换的MLflow Run的id。
--resume续传模式,将源Run的id作为SwanLab Run的id进行续传,需要与--wb-runid一起使用。

介绍 ​

将其他日志工具的内容转换为SwanLab项目。
支持转换的工具包括:TensorBoard、Weights & Biases、MLflow。

使用案例 ​

TensorBoard ​

集成-TensorBoard

Weights & Biases ​

集成-Weights & Biases

MLflow ​

集成-MLflow