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
9ff37986
Commit
9ff37986
authored
Jul 12, 2017
by
Tiago Pereira
Browse files
Triplet networks trainer with prefetch
#27
parent
144ce19b
Pipeline
#11265
passed with stages
in 18 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/tensorflow/test/test_cnn_prefetch.py
View file @
9ff37986
...
...
@@ -178,7 +178,9 @@ def test_tripletcnn_trainer():
optimizer
=
tf
.
train
.
GradientDescentOptimizer
(
0.01
),)
trainer
.
train
(
train_data_shuffler
)
embedding
=
Embedding
(
train_data_shuffler
(
"data"
,
from_queue
=
False
)[
'anchor'
],
graph
[
'anchor'
])
embedding
=
Embedding
(
validation_data_shuffler
(
"data"
,
from_queue
=
False
),
architecture
(
validation_data_shuffler
(
"data"
,
from_queue
=
False
),
reuse
=
True
))
eer
=
dummy_experiment
(
validation_data_shuffler
,
embedding
)
assert
eer
<
0.15
shutil
.
rmtree
(
directory
)
...
...
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