Skip to content
Snippets Groups Projects
Commit 89ea404b authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix tests

parent 0ab7c214
Branches
Tags
1 merge request!75A lot of new features
Pipeline #29542 failed
...@@ -107,7 +107,7 @@ def test_datasets_to_tfrecords(): ...@@ -107,7 +107,7 @@ def test_datasets_to_tfrecords():
runner = CliRunner() runner = CliRunner()
with runner.isolated_filesystem(): with runner.isolated_filesystem():
output_path = './test' output_path = './test'
args = (dummy_config, '--outputs', output_path) args = (dummy_config, '--output', output_path)
result = runner.invoke( result = runner.invoke(
datasets_to_tfrecords, args=args, standalone_mode=False) datasets_to_tfrecords, args=args, standalone_mode=False)
assert_click_runner_result(result) assert_click_runner_result(result)
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# @author: Tiago de Freitas Pereira <tiago.pereira@idiap.ch> # @author: Tiago de Freitas Pereira <tiago.pereira@idiap.ch>
import numpy import numpy
from bob.learn.tensorflow.utils import compute_embedding_accuracy, cdist,\ from bob.learn.tensorflow.utils import compute_embedding_accuracy, \
compute_embedding_accuracy_tensors, predict_using_tensors compute_embedding_accuracy_tensors
import tensorflow as tf import tensorflow as tf
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment