I have loaded the CIFAR100 dataset on this code I found from pytorch to train and test the CIFAR100 dataset using the VGG11-BN network but I get this error.

image1299×330 24.4 KB

The rest of the error and code related to train model where the error comes from will be in the comments