Please comment on how you are ensuring that your model is reproducible.
I am sharing two links
1. [TensorFlow](https://keras.io/getting_started/faq/#how-can-i-obtain-reproducible-results-using-keras-during-development)
2. [PyTorch](https://pytorch.org/docs/stable/notes/randomness.html)
Created by Abdul Muntakim Rafi muntakimrafi this works for me in tensorflow and colab, I found it after some search on stack overflow
```
def set_seeds(seed):
os.environ['PYTHONHASHSEED'] = str(seed)
random.seed(seed)
tf.random.set_seed(seed)
np.random.seed(seed)
def set_global_determinism(seed):
set_seeds(seed=seed)
os.environ['TF_DETERMINISTIC_OPS'] = '1'
# Call the above function with seed value
set_global_determinism(seed=42)
```
Drop files to upload
How do I create reproducible results during model development? page is loading…