Git-oNmE:

testset = LoadDataset(txt = root + ‘labels/test_label’, transform = transform) testloader = torch.utils.data.DataLoader(trainset, batch_size=64, shuffle=True, num_workers=2)


There is a mistake in your code?
you are using trainset in your testloader? Is it intended?