@@ -41,11 +46,6 @@ protocols="grandtest-color*depth*infrared*thermal-{}".format(frames) # makeup is
exlude_attacks_list=["makeup"]
SELECTED_CHANNELS=[0,1,2]# selects only color, depth and infrared
img_transform_train=transforms.Compose([ChannelSelect(selected_channels=SELECTED_CHANNELS),transforms.ToPILImage(),transforms.RandomHorizontalFlip(),transforms.ToTensor()])# Add p=0.5 later
# Initialize the torch dataset, subselect channels from the pretrained files if needed.
SELECTED_CHANNELS=[0,1,2]# selects only color, depth and infrared
img_transform_train=transforms.Compose([ChannelSelect(selected_channels=SELECTED_CHANNELS),transforms.ToPILImage(),transforms.RandomHorizontalFlip(),transforms.ToTensor()])# Add p=0.5 later