Skip to content

Turn the randomness off in order to reproduce results #30

@BogdanM1

Description

@BogdanM1

Is there a way to exclude all the stochastics within SciANN so that we get results that can be easily reproduced?

So far I tried
import tensorflow as tf
from numpy.random import seed
import random

_seed = 0
seed(_seed)
random.seed(_seed)
tf.random.set_seed(_seed)
tf.compat.v1.set_random_seed(_seed)

but I am getting different results each time I run the training.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions