#24: Make executions reproducible

This commit is contained in:
2024-03-28 22:20:40 +01:00
parent a99e942d3a
commit ba5a1b742b
2 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ datasetPath = 'no_noise_images'
PRNU_FACTOR = 255 * 0.1
IMAGE_SIZE_SHAPE = (469, 704)
np.random.seed(0)
# Should first try with an image showing `PRNU`.
prnu = randomGaussianImage(scale = PRNU_FACTOR, size = IMAGE_SIZE_SHAPE)