Commit a15b4379 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Set fixed seed for MNIST batching

parent 05a066c5
......@@ -19,7 +19,7 @@ def compute_euclidean_distance(x, y):
def load_mnist(perc_train=0.9):
numpy.random.seed(0)
import bob.db.mnist
db = bob.db.mnist.Database()
raw_data = db.data()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment