Remove --version 2 from tests.
This commit is contained in:
parent
84576d252d
commit
dd4f084c85
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue