Random;y occur this error: ``` ====================================================================== FAIL: test_cutmixd (tests.test_regularization.TestCutMix) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/runner/work/MONAI/MONAI/tests/test_regularization.py", line 88, in test_cutmixd self.assertTrue(not torch.allclose(output["a"], output["b"])) AssertionError: False is not true ---------------------------------------------------------------------- ```
Activity
KumoLiu commentedon Apr 23, 2024
Hi @juampatronics, could you please help take a look at the issue?
Seems the dictionary version should also be inherit the
RandomizableTransform.https://github.com/Project-MONAI/MONAI/blob/dev/monai/transforms/regularization/dictionary.py#L38
Thanks.
juampatronics commentedon Apr 23, 2024
@KumoLiu yes, I'll fix it
juampatronics commentedon Apr 23, 2024
@KumoLiu please check
fix Project-MONAI#7697
Ensure deterministic in MixUp, CutMix, CutOut (#7813)
Ensure deterministic in MixUp, CutMix, CutOut (Project-MONAI#7813)