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

Ensure consistent relative paths for script execution #144

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

Reborn14
Copy link
Contributor

这个修改确保了无论从哪里运行 train.py 或 evaluate.py,相对路径都保持一致。
这样做的好处是:

  1. 可以直接在 experiment 文件夹下运行脚本
  2. 不再局限于必须从项目根目录运行文件
  3. 提高了脚本的灵活性和易用性

@zezhishao
Copy link
Collaborator

好建议,这应该能解决PyCharm用户的问题!

@zezhishao zezhishao merged commit 7cfbef8 into GestaltCogTeam:master Sep 26, 2024
1 check passed
@zezhishao
Copy link
Collaborator

@all-contributors please add @Reborn14 for code.

Copy link
Contributor

@zezhishao

I've put up a pull request to add @Reborn14! 🎉

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