Skip to content

fix wandb local converter - #1596

Merged
Zeyi-Lin merged 2 commits into
legacyfrom
fix/wandb-local-converter-bug
May 6, 2026
Merged

Zeyi-Lin merged 2 commits into
legacyfrom
fix/wandb-local-converter-bug

Conversation

@Zeyi-Lin

@Zeyi-Lin Zeyi-Lin commented May 6, 2026

Copy link
Copy Markdown
Member

Fix the wandb local converter to skip metric names containing "/".

@Zeyi-Lin
Zeyi-Lin requested a review from Nexisato May 6, 2026 04:44
@Zeyi-Lin Zeyi-Lin self-assigned this May 6, 2026
@Zeyi-Lin Zeyi-Lin added the 🐛 bug Something isn't working label May 6, 2026
@Zeyi-Lin Zeyi-Lin changed the title fix fix wandb local converter May 6, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a fast-path for scalar metrics containing slashes in their keys by attempting a direct float conversion. Review feedback indicates that the current implementation fails to handle media objects with slashes, which could lead to downstream errors, and suggests refactoring the code to reduce duplication and improve maintainability.

Comment thread swanlab/converter/wb/wb_local_converter.py Outdated
Comment thread swanlab/converter/wb/wb_local_converter.py Outdated
@Zeyi-Lin
Zeyi-Lin merged commit 59b6565 into legacy May 6, 2026
5 checks passed
@Nexisato
Nexisato deleted the fix/wandb-local-converter-bug branch May 6, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants