Skip to content

MNIST and FashionMNIST now have their own 'raw' and 'processed' folders - #601

Merged
fmassa merged 2 commits into
pytorch:masterfrom
dizcza:mnist_folders
Sep 17, 2018
Merged

MNIST and FashionMNIST now have their own 'raw' and 'processed' folders#601
fmassa merged 2 commits into
pytorch:masterfrom
dizcza:mnist_folders

Conversation

@dizcza

@dizcza dizcza commented Sep 11, 2018

Copy link
Copy Markdown
Contributor

Addresses #599.

@fmassa fmassa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This overall looks good, thanks!

But this patch makes MNIST Python3 only, so this needs to be changed.

Comment thread torchvision/datasets/mnist.py Outdated
pass
else:
raise
os.makedirs(self.raw_folder, exist_ok=True)

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Comment thread torchvision/datasets/mnist.py
@dizcza

dizcza commented Sep 16, 2018

Copy link
Copy Markdown
Contributor Author

Ready.

@fmassa fmassa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very good, and is almost ready to be merged.
I have a single comment, can you address it so that I can merge this?

Thanks a lot, the code is looking much better!

Comment thread torchvision/datasets/mnist.py

@fmassa fmassa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fmassa
fmassa merged commit e564f13 into pytorch:master Sep 17, 2018
knakad added a commit to knakad/sagemaker-python-sdk that referenced this pull request Aug 16, 2019
This commit will modify the folder structure to avoid needing to
download the datasets and relying on the dataset website from being
available.
This caused a canary to fail (TT-0407832742).

The dependency has existed since Pytorch 1.1 upgrade, as the directory
structure was modified in pytorch/vision#601
knakad added a commit to aws/sagemaker-python-sdk that referenced this pull request Aug 16, 2019
This commit will modify the folder structure to avoid needing to
download the datasets and relying on the dataset website from being
available.
This caused a canary to fail.

The dependency has existed since Pytorch 1.1 upgrade, as the directory
structure was modified in pytorch/vision#601
rajveerb pushed a commit to rajveerb/vision that referenced this pull request Nov 30, 2023
Evan-W-ang added a commit to Evan-W-ang/sagemaker-python-sdk that referenced this pull request Jun 8, 2026
This commit will modify the folder structure to avoid needing to
download the datasets and relying on the dataset website from being
available.
This caused a canary to fail.

The dependency has existed since Pytorch 1.1 upgrade, as the directory
structure was modified in pytorch/vision#601
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