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

feat: add choices for swanlab.init #783

Merged
merged 6 commits into from
Jan 16, 2025
Merged

feat: add choices for swanlab.init #783

merged 6 commits into from
Jan 16, 2025

Conversation

SAKURA-CAT
Copy link
Contributor

@SAKURA-CAT SAKURA-CAT commented Jan 16, 2025

  • 优化了一些import导入
  • 为 swanlab.init 在初始化时添加选择交互,并添加、修改了相关测试

close #632


“选择交互”仅在程序连接标准输入时启用,在pycharm中不适用,但在jupyter中做了单独适配——这与原本的标准输出检测是类似的。

这样设计的目的是防止用户在使用脚本开启实验时出现的程序挂起情况。

feat: add choices for swanlab.init
chore: change settings url
@SAKURA-CAT SAKURA-CAT added the 💪 enhancement New feature or request label Jan 16, 2025
@SAKURA-CAT SAKURA-CAT self-assigned this Jan 16, 2025
chore: opt code

chore: add test

fix: test
@SAKURA-CAT SAKURA-CAT force-pushed the feat/opt-init-choice branch from 7a16dfd to 278ad44 Compare January 16, 2025 06:47
@SAKURA-CAT SAKURA-CAT merged commit a4785c4 into main Jan 16, 2025
5 checks passed
@SAKURA-CAT SAKURA-CAT deleted the feat/opt-init-choice branch January 16, 2025 08:16
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] 增加未登录实验时swanlab.init的模式二选一
2 participants