ZFTurbo / volumentations

Library for 3D augmentations
MIT License
224 stars 36 forks source link

GaussianNoise class return negative values #21

Open SebastianBravo opened 1 year ago

SebastianBravo commented 1 year ago

I was looking at the GaussianNoise augmentation and you are not taking into account not to return negative values nor values greater than 1. Negative values on images might alter the training of models.

SebastianBravo commented 1 year ago

You can try using np.clip()