helpful-scripts
helpful-scripts copied to clipboard
datasetDestroyer - fix probabilities
If randomize is set to False in the config, then all degradations are applied with a probability of 1, config or default probabilities would be disregarded. This commit fixes this by also applying probabilities when using non-randomized degradations.