Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.learn.tensorflow
Commits
a15b4379
Commit
a15b4379
authored
Jul 10, 2018
by
Tiago de Freitas Pereira
Browse files
Set fixed seed for MNIST batching
parent
05a066c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/tensorflow/utils/util.py
View file @
a15b4379
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment