|
_transform = deepcopy(_transform) if isinstance(_transform, ThreadUnsafe) else _transform |
When using threading=True, the random state of any Randomizable transformation is only updated within its copy, thus the original random state will be untouched generating the same samples over and over.
I already saw that somewhere in the docs there is a mentioning of "limited randomness" for threading (even though I find that a rather optimistic description). Are there plans how to tackle this issue? Or won't it be supported?
MONAI/monai/transforms/compose.py
Line 110 in ac86ed4
When using
threading=True, the random state of any Randomizable transformation is only updated within its copy, thus the original random state will be untouched generating the same samples over and over.I already saw that somewhere in the docs there is a mentioning of "limited randomness" for threading (even though I find that a rather optimistic description). Are there plans how to tackle this issue? Or won't it be supported?