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/command #111

Merged
merged 3 commits into from
Dec 31, 2023
Merged

Feat/command #111

merged 3 commits into from
Dec 31, 2023

Conversation

Zeyi-Lin
Copy link
Member

@Zeyi-Lin Zeyi-Lin commented Dec 31, 2023

Description

swanlab/database/system,py中增加2 个函数:

  • __get_command:获取执行训练时的完整命令行信息,比如在运行python main.py -i 123时,full_command为main.py -i 123
  • __get_pip_requirement:获取当前项目下的全部Python环境,是1个很长的、带换行的pip环境列表,建议后续存储在swanlog目录下
  • 修复__get_remote_url不能正确捕获error信息的 Bug

获取执行训练时的完整命令行信息
获取当前项目的pip环境
@Zeyi-Lin Zeyi-Lin requested a review from SAKURA-CAT December 31, 2023 07:46
@SAKURA-CAT SAKURA-CAT merged commit da059f9 into main Dec 31, 2023
@SAKURA-CAT SAKURA-CAT deleted the feat/command branch December 31, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants