Skip to content

How to set random seed for data transforms? #2785

Answered by Nic-Ma
Jingnan-Jia asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Jingnan-Jia ,

The set_determinism() API sets random seed for overall program, you can take a look at this tutorial as example:
https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/spleen_segmentation_3d.ipynb

Thanks.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Jingnan-Jia
Comment options

@Jingnan-Jia
Comment options

@Nic-Ma
Comment options

Answer selected by Jingnan-Jia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants