It happens right at the start.
Here’s the version info I get from:
print(torch.__version__)
nvcc --version
cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2


1.5.0+cu101
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 5
–
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
#include “driver_types.h”

The dataset is under 5k JPEG images. Hope this helps.