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
89ea404b
Commit
89ea404b
authored
Apr 23, 2019
by
Amir MOHAMMADI
Browse files
Fix tests
parent
0ab7c214
Pipeline
#29542
failed with stage
in 13 minutes and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/tensorflow/test/test_db_to_tfrecords.py
View file @
89ea404b
...
...
@@ -107,7 +107,7 @@ def test_datasets_to_tfrecords():
runner
=
CliRunner
()
with
runner
.
isolated_filesystem
():
output_path
=
'./test'
args
=
(
dummy_config
,
'--output
s
'
,
output_path
)
args
=
(
dummy_config
,
'--output'
,
output_path
)
result
=
runner
.
invoke
(
datasets_to_tfrecords
,
args
=
args
,
standalone_mode
=
False
)
assert_click_runner_result
(
result
)
...
...
bob/learn/tensorflow/test/test_utils.py
View file @
89ea404b
...
...
@@ -3,8 +3,8 @@
# @author: Tiago de Freitas Pereira <tiago.pereira@idiap.ch>
import
numpy
from
bob.learn.tensorflow.utils
import
compute_embedding_accuracy
,
cdist
,
\
compute_embedding_accuracy_tensors
,
predict_using_tensors
from
bob.learn.tensorflow.utils
import
compute_embedding_accuracy
,
\
compute_embedding_accuracy_tensors
import
tensorflow
as
tf
"""
...
...
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