Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu committed Oct 14, 2024
1 parent b02bc3e commit 6dfc86a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions monai/transforms/regularization/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ class CutMix(Mixer):
documentation for details on the constructor parameters. Here, alpha not only determines
the mixing weight but also the size of the random rectangles used during for mixing.
Please refer to the paper for details.
Please note that there is a change in behavior starting from version 1.4.0. In the previous
implementation, the transform would generate a different label each time it was called.
To ensure determinism, the new implementation will now generate the same label for
the same input image when using the same operation.
The most common use case is something close to:
Expand Down

0 comments on commit 6dfc86a

Please sign in to comment.