Remove --version 2 from tests.

This commit is contained in:
Brandon Amos 2016-07-15 16:00:43 -04:00
parent 84576d252d
commit dd4f084c85
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ def test_batch_represent():
cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'), cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'),
os.path.join(lfwSubset, 'raw'), 'align', 'outerEyesAndNose', 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) p = Popen(cmd, stdout=PIPE, stderr=PIPE)
(out, err) = p.communicate() (out, err) = p.communicate()
print(out) print(out)

View File

@ -67,7 +67,7 @@ def test_classification_demo_training():
cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'), cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'),
os.path.join(lfwSubset, 'raw'), 'align', 'outerEyesAndNose', 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) p = Popen(cmd, stdout=PIPE, stderr=PIPE)
(out, err) = p.communicate() (out, err) = p.communicate()
print(out) print(out)

View File

@ -48,7 +48,7 @@ def test_dnn_training():
cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'), cmd = ['python2', os.path.join(openfaceDir, 'util', 'align-dlib.py'),
os.path.join(lfwSubset, 'raw'), 'align', 'outerEyesAndNose', 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) p = Popen(cmd, stdout=PIPE, stderr=PIPE)
(out, err) = p.communicate() (out, err) = p.communicate()
print(out) print(out)