Skip to content

Commit

Permalink
docs(augmentation): fix warning box
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbalsiger committed Oct 14, 2020
1 parent 9e7bac4 commit 8ca4d90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pymia/data/augmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
and can easily be incorporated into the data loading process.
Warnings:
The augmentation relies on the random number generator of `numpy`. If you want to obtain reproducible result,
set numpy's seed prior to executing any augmentation:
The augmentation relies on the random number generator of `numpy`. If you want to obtain reproducible result,
set numpy's seed prior to executing any augmentation:
>>> import numpy as np
>>> your_seed = 0
>>> np.random.seed(your_seed)
>>> import numpy as np
>>> your_seed = 0
>>> np.random.seed(your_seed)
See Also:
https://github.com/MIC-DKFZ/batchgenerators
Expand Down

0 comments on commit 8ca4d90

Please sign in to comment.