Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] 建议支持嵌套logs #806

Closed
bojone opened this issue Feb 3, 2025 · 1 comment · Fixed by #808
Closed

[REQUEST] 建议支持嵌套logs #806

bojone opened this issue Feb 3, 2025 · 1 comment · Fixed by #808
Labels
💪 enhancement New feature or request

Comments

@bojone
Copy link

bojone commented Feb 3, 2025

🤩 Features description [Please make everyone to understand it]

比如swanlab.logs({'a': {'b': 1, 'c': 2}})

👍 What problem does this feature solve

我主要用jax,jax的metrics和weights多数以多重嵌套dict的pytree格式组织,如果手动flatten线的麻烦。

👾 What does the proposed API look like

目前wandb是支持这种嵌套logs的,支持方式是用“.“将所有key连接起来,比如swanlab.logs({'a': {'b': 1, 'c': 2}})等价于swanlab.logs({'a.b': 1, 'a.c': 2})。当然我们也可以考虑更智能的分组显示,等等。

@bojone bojone added the 💪 enhancement New feature or request label Feb 3, 2025
@Zeyi-Lin
Copy link
Member

Zeyi-Lin commented Feb 3, 2025

感谢您的反馈,我们将在v0.4.6版本中上线这个feature。

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 a pull request may close this issue.

2 participants