#24: Make executions reproducible
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user