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

关于引用路径的小建议 #3

Open
szq261299 opened this issue Aug 14, 2019 · 1 comment
Open

关于引用路径的小建议 #3

szq261299 opened this issue Aug 14, 2019 · 1 comment

Comments

@szq261299
Copy link

建议在train.py中路径,尽量不要用 “..”的方式作为上级路径吧... 尽量用os.path.abspath(os.path.dirname(os.path.dirname(file)))的方式引用上级路径,运行的时候不会出问题

@Cumberbatch08
Copy link

建议在train.py中路径,尽量不要用 “..”的方式作为上级路径吧... 尽量用os.path.abspath(os.path.dirname(os.path.dirname(file)))的方式引用上级路径,运行的时候不会出问题

您好,我在运行的时候,在文件夹路径下面可以运行,如果进去esim,就会出问题,您说的这个怎么用呢?

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

No branches or pull requests

2 participants