How do I obtain true zero pixels after I have applied the following transform since the values of 0 pixels change? Is there a way of obtaining the zero values along each color channel separately?
tfms = transforms.Compose([
transforms.Resize(224),
transforms.CenterCrop(224),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
])
Here is my use case.