Hello, I want to modify labels of CIFAR10 dataset as 0s and 1s.
For a specific class (say cc), I need to assign labels as 1 and 0 for the rest of all and then train the network.
trainset = torchvision.datasets.CIFAR10(root=’./data’, train=True, download=True, transform=transform_train)
transit has 50000 tuples each consists of training image and its label. How can I solve this problem?