Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Conversation

@BradLarson
Copy link
Contributor

PR #328 changed the core downloading function to automatically detect if a download destination was a file or directory. In order for a directory to be detected, it must be labeled as such when constructed, otherwise it will be treated as a file.

This fixes the Batcher pathway in Imagenette to download to a directory named Imagenette, not a file by that name. This should address issue #341.

@BradLarson BradLarson merged commit cf54036 into tensorflow:master Feb 23, 2020
@BradLarson
Copy link
Contributor Author

(Verified fix in #341 (comment) , so I merged this in.)

@sgugger
Copy link
Contributor

sgugger commented Feb 23, 2020

Yes, I spent an our debugging the same bug while building the notebook in #338, I should have thought of adding the fix in Datasets as well. Thanks for the fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants