From dd4f084c85dac7597ca84c4341af389c839caef2 Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Fri, 15 Jul 2016 16:00:43 -0400 Subject: [PATCH] Remove --version 2 from tests. --- tests/openface_batch_represent_tests.py | 2 +- tests/openface_demo_tests.py | 2 +- tests/openface_neural_net_training_tests.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/openface_batch_represent_tests.py b/tests/openface_batch_represent_tests.py index 6de1312..e1cd261 100644 --- a/tests/openface_batch_represent_tests.py +++ b/tests/openface_batch_represent_tests.py @@ -51,7 +51,7 @@ def test_batch_represent(): cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'), os.path.join(lfwSubset, 'raw'), 'align', 'outerEyesAndNose', - os.path.join(workDir, 'aligned'), '--version', '2'] + os.path.join(workDir, 'aligned')] p = Popen(cmd, stdout=PIPE, stderr=PIPE) (out, err) = p.communicate() print(out) diff --git a/tests/openface_demo_tests.py b/tests/openface_demo_tests.py index da9b7b2..7dd0580 100644 --- a/tests/openface_demo_tests.py +++ b/tests/openface_demo_tests.py @@ -67,7 +67,7 @@ def test_classification_demo_training(): cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'), os.path.join(lfwSubset, 'raw'), 'align', 'outerEyesAndNose', - os.path.join(workDir, 'aligned'), '--version', '2'] + os.path.join(workDir, 'aligned')] p = Popen(cmd, stdout=PIPE, stderr=PIPE) (out, err) = p.communicate() print(out) diff --git a/tests/openface_neural_net_training_tests.py b/tests/openface_neural_net_training_tests.py index 3d2dc13..6fb23d9 100644 --- a/tests/openface_neural_net_training_tests.py +++ b/tests/openface_neural_net_training_tests.py @@ -48,7 +48,7 @@ def test_dnn_training(): cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'), os.path.join(lfwSubset, 'raw'), 'align', 'outerEyesAndNose', - os.path.join(imgWorkDir, 'aligned'), '--version', '2'] + os.path.join(imgWorkDir, 'aligned')] p = Popen(cmd, stdout=PIPE, stderr=PIPE) (out, err) = p.communicate() print(out)