From 18fe14079a33df76cb4217ef4c922ec32a865dc6 Mon Sep 17 00:00:00 2001 From: "Harle, Antoine (Contracteur)" Date: Mon, 13 Jan 2020 12:19:25 -0500 Subject: [PATCH] MaJ des ignore mag pour la regularization --- higher/transformations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/higher/transformations.py b/higher/transformations.py index 5c82b48..d9b1306 100755 --- a/higher/transformations.py +++ b/higher/transformations.py @@ -102,8 +102,8 @@ TF_dict={ #Dataugv5 #'Equalize': (lambda mag: None), } -TF_no_mag={'Identity', 'FlipUD', 'FlipLR'} -TF_ignore_mag= TF_no_mag | {'Solarize', 'Posterize'} +TF_no_mag={'Identity', 'FlipUD', 'FlipLR', 'Random', 'RandBlend'} +TF_ignore_mag= TF_no_mag | {'Solarize', 'Posterize', '=Solarize', '=Posterize'} def int_image(float_image): #ATTENTION : legere perte d'info (granularite : 1/256 = 0.0039) return (float_image*255.).type(torch.uint8)