I am still getting the same result.
I tried running an earlier project that I did for training MNIST digits. There I changed num_workers=2 and ran it in terminal instead of running on notebook.
This is what I have got.

error1218×1071 55.5 KB

I have used PyTorch’s MNIST dataset itself and trained using the trainer class.