Skip to content
Snippets Groups Projects
Commit a15b4379 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Set fixed seed for MNIST batching

parent 05a066c5
No related branches found
No related tags found
1 merge request!57Updates to the logits estimator
...@@ -19,7 +19,7 @@ def compute_euclidean_distance(x, y): ...@@ -19,7 +19,7 @@ def compute_euclidean_distance(x, y):
def load_mnist(perc_train=0.9): def load_mnist(perc_train=0.9):
numpy.random.seed(0)
import bob.db.mnist import bob.db.mnist
db = bob.db.mnist.Database() db = bob.db.mnist.Database()
raw_data = db.data() raw_data = db.data()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment