Skip to content

Conversation

Zeyi-Lin
Copy link
Member

@Zeyi-Lin Zeyi-Lin commented May 21, 2024

Description

基于Wandb API,将Wandb的指标图转换为SwanLab:
方式一 CLI:

swanlab convert -t wandb --wb-project [WANDB_PROJECT_NAME] --wb-entity [WANDB_ENTITY]

方式二 Python脚本:

from swanlab.converter import WandbConverter

wb_converter = WandbConverter()
wb_converter.run(wb_project="WANDB_PROJECT_NAME", wb_entity="WANDB_USERNAME")

可选参数:

  • wb_runid:如果不加,则将整个project转换;如果加,则只将该run做转换;

与此同时,因为Wandb不需要日志文件,所以也修改了一下Tensorboard Converter的CLI内容,不再将日志文件路径作为argment,转换为可选项。

Closes: #558

@Zeyi-Lin Zeyi-Lin requested a review from SAKURA-CAT May 21, 2024 08:51
@Zeyi-Lin Zeyi-Lin self-assigned this May 21, 2024
@Zeyi-Lin Zeyi-Lin added this to the v0.3.3 milestone May 21, 2024
@Zeyi-Lin Zeyi-Lin added the 💪 enhancement New feature or request label May 21, 2024
@SAKURA-CAT SAKURA-CAT merged commit f87ae0f into main May 21, 2024
@SAKURA-CAT SAKURA-CAT deleted the feat/convert-wandb branch May 21, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] 转换Wandb日志到SwanLab

2 participants