@@ -39,7 +41,9 @@ protocols="grandtest-color*depth*infrared*thermal-{}".format(frames) # makeup is
...
@@ -39,7 +41,9 @@ protocols="grandtest-color*depth*infrared*thermal-{}".format(frames) # makeup is
exlude_attacks_list=["makeup"]
exlude_attacks_list=["makeup"]
img_transform_train=transforms.Compose([transforms.ToPILImage(),transforms.RandomHorizontalFlip(),transforms.ToTensor()])# Add p=0.5 later
SELECTED_CHANNELS=[0]# 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