In the first run, the code ran well, but from the second run the system has started throwing error in the following:
for i, (inputs, labels) in enumerate(datasets[‘test’]):
print(labels)
datasets[‘test’] has multiple objects mainly

data which is a tensor of size [20000, 32, 32, 3]
labels which is an ndarray of size [20000]

I am working on pytorch, python 3.6, windows 10