Can't load a dataset from Google drive into colab (lesson 7 wgan notebook)

So I uploaded my dataset to drive, 35000 images, 1 gb total, but whenever I try to load it, I get this message:

/usr/local/lib/python3.6/dist-packages/fastai/data_block.py:451: UserWarning: Your training set is empty. If this is by design, passignore_empty=Trueto remove this warning. warn("Your training set is empty. If this is by design, passignore_empty=Trueto remove this warning.")

also I get the warning on google colab that google drive has timed out.

can anybody help me with this? path directory is correct, and I tried with different batchsize and imagesizes, but it won’t load.

You are experiencing the timeout problem because your data and your training program are located in different machines (servers) hence the long latency.

Try copying your Google Drive files to the Colab virtual machine local drive folder (e.g :/content/ or ~/.fasta/data/).This should solve the timeout problem and will speed up your training.