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)