Skip to content

Recognize existing directories with dots when saving results - #809

Open
codewithfourtix wants to merge 1 commit into
huggingface:mainfrom
codewithfourtix:fix-save-dotted-directory
Open

Recognize existing directories with dots when saving results#809
codewithfourtix wants to merge 1 commit into
huggingface:mainfrom
codewithfourtix:fix-save-dotted-directory

Conversation

@codewithfourtix

Copy link
Copy Markdown

An existing directory such as experiment.v1 is mistaken for a file because it has a suffix. Check whether the path is a directory before deciding to use it as the output filename.

Adds a save-and-read regression test for a dotted directory.

Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
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.

1 participant