I am not aware you can pass transforms in a dictionary… you may want to temporarily create two separate instances of

training_transforms = transforms.Compose([your_array_here])

...

trainset = torchvision.datasets.CIFAR10(.... , transform = training_transforms)