I am trying to extract only the male images from the pytorch CelebA dataset. In the document it says to pass the torchvision.datasets.CelebA command with the target_type argument. I am confused about how to specify this value to extract only the male images.
For reference the male attribute is 20 and in the .csv file, 1 indicates male and -1 indicates female.