Hi Patrick
image_datasets[0] gives
./debug/0\01.octet-stream uses PIL
loading ./debug/0\01.octet-stream
(tensor([[[ 0.2967,  0.0912,  0.1254,  ..., -0.3369, -0.2513, -0.2856],
          [ 0.2111,  0.2282,  0.1768,  ..., -0.4054, -0.3369, -0.3198],
          [ 0.1939,  0.2796,  0.2282,  ..., -0.5596, -0.4568, -0.2684],
          ...,
          [-1.5870, -1.5014, -1.5699,  ..., -1.6555, -1.8097, -1.8439],
          [-1.6727, -1.5699, -1.5699,  ..., -1.9809, -1.9295, -1.7754],
          [-1.6384, -1.5185, -1.5528,  ..., -1.7069, -1.6898, -1.6042]],
 
         [[ 0.5728,  0.6604,  0.7304,  ..., -0.0924, -0.1099, -0.0749],
          [ 0.7304,  0.6254,  0.6954,  ..., -0.1975, -0.1450, -0.1099],
          [ 0.7304,  0.7129,  0.7479,  ..., -0.3025, -0.1800, -0.0924],
          ...,
          [-1.1253, -1.1429, -1.1429,  ..., -1.6331, -1.5630, -1.5980],
          [-1.0728, -1.1779, -1.2654,  ..., -1.4755, -1.5455, -1.5980],
          [-1.1604, -1.1429, -1.1604,  ..., -1.5980, -1.6155, -1.6155]],
 
         [[ 0.7054,  0.6356,  0.6531,  ...,  0.0605,  0.0431,  0.0256],
          [ 0.7576,  0.7402,  0.7228,  ...,  0.0605,  0.0431, -0.0092],
          [ 0.7576,  0.7925,  0.7925,  ..., -0.0267, -0.0615, -0.0441],
          ...,
          [-0.7064, -0.6715, -0.6541,  ..., -1.2990, -1.2467, -1.2467],
          [-0.7936, -0.6541, -0.6193,  ..., -1.3513, -1.3164, -1.1073],
          [-0.8284, -0.7064, -0.7064,  ..., -1.2816, -1.2990, -1.2119]]]), 0)

The issue seems to be in the dataloader iterator.
dataloader_iter = dataloaders.__iter__()
dataloader_iter.pin_memory

gives
False

It got stuck when I run
dataloader_iter.data_queue.get()
If I set the num_workers = 0, I got the following error
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-26-34fa306d18e2> in <module>()
----> 1 dataloader_iter._get_batch()

~\AppData\Local\Continuum\anaconda3\lib\site-packages\torch\utils\data\dataloader.py in _get_batch(self)
    307                 raise RuntimeError('DataLoader timed out after {} seconds'.format(self.timeout))
    308         else:
--> 309             return self.data_queue.get()
    310 
    311     def __next__(self):

AttributeError: '_DataLoaderIter' object has no attribute 'data_queue