-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
expanduser path in Trainer #10628
Comments
Sounds reasonable. Would you like to make a PR with this change? |
Can do. |
Yes, |
PaulLerner
added a commit
to PaulLerner/transformers
that referenced
this issue
Mar 11, 2021
Iwontbecreative
pushed a commit
to Iwontbecreative/transformers
that referenced
this issue
Jul 15, 2021
…ace#10660) * fix: huggingface#10628 expanduser path in TrainingArguments * docs: explain why we expand paths in TrainingArguments * Style Co-authored-by: Sylvain Gugger <sylvain.gugger@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the
output_dir
passed to TrainingArguments is not expanded (the behaviour is probably the same for logging_dir)Who can help
Library:
To reproduce
Directly using os.makedirs but this is what happens in Trainer
To fix
Call os.path.expanduser before making dir
The text was updated successfully, but these errors were encountered: