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

Improve robustness of DataLoaderRaw for non-image files #12

Merged
merged 1 commit into from
Nov 25, 2015

Conversation

fmassa
Copy link
Contributor

@fmassa fmassa commented Nov 25, 2015

In some systems, the hidden system files could cause problems while listing the files in a folder, as in #11.
We could consider that this is a problem with image regex https://github.com/torch/image/blob/master/init.lua#L341 , that doesn't handle properly some cases (like .DS_Store).
This is a simple attempt to circumvent this problem without changing image.

karpathy added a commit that referenced this pull request Nov 25, 2015
Improve robustness of DataLoaderRaw for non-image files
@karpathy karpathy merged commit 4b0fad3 into karpathy:master Nov 25, 2015
@karpathy
Copy link
Owner

Thank you very much @fmassa for the PR, looks great.

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.

None yet

2 participants