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

Fix invalid argument error when using LSUN method in windows #508

Merged
merged 1 commit into from
May 18, 2018

Conversation

tanvach
Copy link
Contributor

@tanvach tanvach commented May 18, 2018

I was having issue importing LSUN dataset in windows and turned out this is caused by having back slash \ in the root argument.

This fix will replace any non-ascii characters with '_' which should be more cross platform.

@tanvach
Copy link
Contributor Author

tanvach commented May 18, 2018

@soumith ^

@soumith soumith merged commit 55d7395 into pytorch:master May 18, 2018
@soumith
Copy link
Member

soumith commented May 18, 2018

thanks!

varunagrawal pushed a commit to varunagrawal/vision that referenced this pull request Jul 23, 2018
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.

2 participants