-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
test fails with _lazy_train_dataloader
#859
Comments
I think this is caused by a failed connection to yann.lecun.com to download the MNIST dataset. Downloading code here: https://pytorch.org/docs/stable/_modules/torchvision/datasets/mnist.html#MNIST
|
means something in the dataloader failed... |
yes. my understanding is: dataloader construction attempt here --> calls |
Do we have a better source for downloading the dataset? |
nah. i’ll create a link on s3 and we can get from there |
I can take a look if the issue isn't already resolved |
I think that having own MNIST class would be great because then we could drop |
@djbyrne how is it going, do need some help with it? =) |
Hey @Borda, have the caching of the MNIST dataset working now, just testing it. Not sure if I have done it the best way though. Maybe take a look if you have a sec https://github.com/djbyrne/pytorch-lightning/blob/enhancement/lazy_dataloader/.github/workflows/ci-testing.yml |
great, at first glance, it looks good to me... not sure how to test that it is really caching, maybe add s simple (temporary print in the code to mask if it is using cache or downloading new dataset...) |
Yeah cool I can add that. Will i put it in the one PR for 859? or do seperate PR's? |
it seems to only happen in circleci build macOS-10.15, 3.7, minimal. Then maybe it is not a problem with the download. |
I was observing in randomly on all tests... |
@awaelchli the caching was just one approach... We shall create own MNIST dataset class so we may drop dependency on torchvision completely... |
We need to create an own MNIST dataset... |
🐛 Bug
The tests are time-to-time randomly failing across all platforms (but mainly macOS and Win) with following message:
To Reproduce
https://github.com/Borda/pytorch-lightning/runs/448238658
The text was updated successfully, but these errors were encountered: