mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-04 12:10:45 +02:00
MaJ des ignore mag pour la regularization
This commit is contained in:
parent
27c1890f4c
commit
18fe14079a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue