I have found that the result of AddToBrightness is not deterministic, even when a seed is provided. Given that other probabilistic augmentations such as Dropout do seem to be deterministic when a seed is provided, I assume this is unexpected behavior.
The behavior can be reproduced with the following snippet:
When running this code, the hash will be different each time. I expect the hash to be the same each time, as the seed is provided.
When commenting out AddToBrightness and only applying Dropout augmentation, the seed is the same on each run.
I have found that the result of
AddToBrightness
is not deterministic, even when a seed is provided. Given that other probabilistic augmentations such asDropout
do seem to be deterministic when a seed is provided, I assume this is unexpected behavior.The behavior can be reproduced with the following snippet:
When running this code, the hash will be different each time. I expect the hash to be the same each time, as the seed is provided. When commenting out
AddToBrightness
and only applyingDropout
augmentation, the seed is the same on each run.