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

fix: invalid print #817

Merged
merged 1 commit into from
Feb 11, 2025
Merged

fix: invalid print #817

merged 1 commit into from
Feb 11, 2025

Conversation

SAKURA-CAT
Copy link
Contributor

这个拉取请求对 swanlab/data/sdk.py 文件中的 log 函数进行了一个小的修改。修改添加了一个可选的参数,用于控制是否将日志数据打印到控制台。

  • swanlab/data/sdk.py:添加了 print_to_console 参数到 log 函数,并更新了文档字符串以包含该参数的描述。如果 print_to_console 设置为 True,日志数据将打印到控制台。 [1] [2]
  • 升级了swankit版本号,修复了metric_info的格式化问题

close #816

@SAKURA-CAT SAKURA-CAT added the 🐛 bug Something isn't working label Feb 11, 2025
@SAKURA-CAT SAKURA-CAT requested a review from Zeyi-Lin February 11, 2025 11:10
@SAKURA-CAT SAKURA-CAT self-assigned this Feb 11, 2025
@SAKURA-CAT SAKURA-CAT merged commit de87581 into main Feb 11, 2025
5 checks passed
@SAKURA-CAT SAKURA-CAT deleted the fix/invalid-print branch February 11, 2025 11:21
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.

[QUESTION] 优化log函数返回值的字符串形式
2 participants