cmusatyalab / openface

Face recognition with deep neural networks.
http://cmusatyalab.github.io/openface/
Apache License 2.0
15.13k stars 3.6k forks source link

All tests fail when I run 'run-tests.sh' #251

Closed YielenaWang closed 7 years ago

YielenaWang commented 7 years ago

I have installed OpenCV -> 2.4.8 DLIB -> 19.4.0

all tests fail when I was running run-tests.sh with GPU , but I ran demo1 and demo2 successfully. I can't find out what the problems are. Really thank you if someone helps.

The following are my outputs

`~/openface$ ./run-tests.sh tests.openface_api_tests.test_pipeline ... FAIL tests.openface_batch_represent_tests.test_batch_represent ... FAIL tests.openface_demo_tests.test_compare_demo ... FAIL tests.openface_demo_tests.test_classification_demo_pretrained ... FAIL tests.openface_demo_tests.test_classification_demo_pretrained_multi ... FAIL tests.openface_demo_tests.test_classification_demo_training ... FAIL tests.openface_neural_net_training_tests.test_dnn_training ... FAIL

====================================================================== FAIL: tests.openface_api_tests.test_pipeline

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_api_tests.py", line 55, in test_pipeline assert bb.left() == 341 AssertionError

====================================================================== FAIL: tests.openface_batch_represent_tests.test_batch_represent

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_batch_represent_tests.py", line 39, in test_batch_represent lfwSubset), "Get lfw-subset by running ./data/download-lfw-subset.sh" AssertionError: Get lfw-subset by running ./data/download-lfw-subset.sh

====================================================================== FAIL: tests.openface_demo_tests.test_compare_demo

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_demo_tests.py", line 38, in test_compare_demo assert "0.763" in out AssertionError: -------------------- >> begin captured stdout << --------------------- Comparing /home/why/openface/images/examples/lennon-1.jpg with /home/why/openface/images/examples/lennon-2.jpg.

--------------------- >> end captured stdout << ----------------------

====================================================================== FAIL: tests.openface_demo_tests.test_classification_demo_pretrained

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_demo_tests.py", line 51, in test_classification_demo_pretrained assert "Predict SteveCarell with 0.97 confidence." in out AssertionError: -------------------- >> begin captured stdout << --------------------- Namespace(classifierModel='/home/why/openface/models/openface/celeb-classifier.nn4.small2.v1.pkl', cuda=False, dlibFacePredictor='/home/why/openface/demos/../models/dlib/shape_predictor_68_face_landmarks.dat', imgDim=96, imgs=['/home/why/openface/images/examples/carell.jpg'], mode='infer', multi=False, networkModel='/home/why/openface/demos/../models/openface/nn4.small2.v1.t7', verbose=False)

=== /home/why/openface/images/examples/carell.jpg === Predict SteveCarell with 0.99 confidence.

/home/why/vir_openface/local/lib/python2.7/site-packages/sklearn/lda.py:4: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19 "in 0.17 and will be removed in 0.19", DeprecationWarning)

--------------------- >> end captured stdout << ----------------------

====================================================================== FAIL: tests.openface_demo_tests.test_classification_demo_pretrained_multi

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_demo_tests.py", line 64, in test_classification_demo_pretrained_multi assert "Predict EvaLongoria @ x=91 with 0.99 confidence." in out AssertionError: -------------------- >> begin captured stdout << --------------------- Namespace(classifierModel='/home/why/openface/models/openface/celeb-classifier.nn4.small2.v1.pkl', cuda=False, dlibFacePredictor='/home/why/openface/demos/../models/dlib/shape_predictor_68_face_landmarks.dat', imgDim=96, imgs=['/home/why/openface/images/examples/longoria-cooper.jpg'], mode='infer', multi=True, networkModel='/home/why/openface/demos/../models/openface/nn4.small2.v1.t7', verbose=False)

=== /home/why/openface/images/examples/longoria-cooper.jpg === List of faces in image from left to right Predict EvaLongoria @ x=92 with 0.99 confidence. Predict BradleyCooper @ x=192 with 0.99 confidence.

/home/why/vir_openface/local/lib/python2.7/site-packages/sklearn/lda.py:4: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19 "in 0.17 and will be removed in 0.19", DeprecationWarning)

--------------------- >> end captured stdout << ----------------------

====================================================================== FAIL: tests.openface_demo_tests.test_classification_demo_training

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_demo_tests.py", line 69, in test_classification_demo_training assert os.path.isdir(lfwSubset), "Get lfw-subset by running ./data/download-lfw-subset.sh" AssertionError: Get lfw-subset by running ./data/download-lfw-subset.sh

====================================================================== FAIL: tests.openface_neural_net_training_tests.test_dnn_training

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/why/openface/tests/openface_neural_net_training_tests.py", line 37, in test_dnn_training lfwSubset), "Get lfw-subset by running ./data/download-lfw-subset.sh" AssertionError: Get lfw-subset by running ./data/download-lfw-subset.sh


Ran 7 tests in 18.607s `

dreamcancometrue commented 7 years ago

I also have the same problem. what's the problem?

jaharkes commented 7 years ago

Three tests failed because you don't have the lfw-subset, which is clearly displayed as part of the error message. Get lfw-subset by running ./data/download-lfw-subset.sh

Several other tests seem to have failed on what I can only assume are round-off errors, maybe a slightly different sklearn library. l2 squared distance = 0.782 instead of 0.783 and such. Not sure if that is significant or not.

sam-s commented 7 years ago

after ./data/download-lfw-subset.sh, I get this:

$ ./run-tests.sh 
tests.openface_api_tests.test_pipeline ... FAIL
tests.openface_batch_represent_tests.test_batch_represent ... FAIL
tests.openface_demo_tests.test_compare_demo ... FAIL
tests.openface_demo_tests.test_classification_demo_pretrained ... FAIL
tests.openface_demo_tests.test_classification_demo_pretrained_multi ... FAIL
tests.openface_demo_tests.test_classification_demo_training ... FAIL
tests.openface_neural_net_training_tests.test_dnn_training ... FAIL

======================================================================
FAIL: tests.openface_api_tests.test_pipeline
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_api_tests.py", line 57, in test_pipeline
    assert bb.left() == 341
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
Bounding box found was: 
[(354, 206) (1019, 872)]

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: tests.openface_batch_represent_tests.test_batch_represent
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_batch_represent_tests.py", line 69, in test_batch_represent
    assert p.returncode == 0
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0001.jpg ===

=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0008.jpg ===

/.../torch/install/bin/luajit: /.../torch/install/share/lua/5.1/trepl/init.lua:389: module 'csvigo' not found:No LuaRocks module found for csvigo
    no field package.preload['csvigo']
    no file '/Users/sds/.luarocks/share/lua/5.1/csvigo.lua'
    no file '/Users/sds/.luarocks/share/lua/5.1/csvigo/init.lua'
    no file '/.../torch/install/share/lua/5.1/csvigo.lua'
    no file '/.../torch/install/share/lua/5.1/csvigo/init.lua'
    no file './csvigo.lua'
    no file '/.../torch/install/share/luajit-2.1.0-beta1/csvigo.lua'
    no file '/usr/local/share/lua/5.1/csvigo.lua'
    no file '/usr/local/share/lua/5.1/csvigo/init.lua'
    no file '/Users/sds/.luarocks/lib/lua/5.1/csvigo.so'
    no file '/.../torch/install/lib/lua/5.1/csvigo.so'
    no file '/.../torch/install/lib/csvigo.dylib'
    no file './csvigo.so'
    no file '/usr/local/lib/lua/5.1/csvigo.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'error'
    /.../torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    ./batch-represent/main.lua:9: in main chunk
    [C]: in function 'dofile'
    .../src/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x010ef95a00

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: tests.openface_demo_tests.test_compare_demo
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_demo_tests.py", line 39, in test_compare_demo
    assert '0.763' in out
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
Comparing /.../openface/images/examples/lennon-1.jpg with /.../openface/images/examples/lennon-2.jpg.
  + Squared l2 distance between representations: 0.701

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: tests.openface_demo_tests.test_classification_demo_pretrained
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_demo_tests.py", line 52, in test_classification_demo_pretrained
    assert 'Predict SteveCarell with 0.97 confidence.' in out
AssertionError: 
-------------------- >> begin captured stdout << ---------------------

=== /.../openface/images/examples/carell.jpg ===
Predict SteveCarell with 0.99 confidence.

/.../lib/python2.7/site-packages/sklearn/lda.py:6: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19
  "in 0.17 and will be removed in 0.19", DeprecationWarning)
/.../lib/python2.7/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
/.../lib/python2.7/site-packages/sklearn/grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
  DeprecationWarning)
/.../lib/python2.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator LabelEncoder from version pre-0.18 when using version 0.18.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)
/.../lib/python2.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator SVC from version pre-0.18 when using version 0.18.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)
/.../lib/python2.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator GridSearchCV from version pre-0.18 when using version 0.18.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: tests.openface_demo_tests.test_classification_demo_pretrained_multi
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_demo_tests.py", line 65, in test_classification_demo_pretrained_multi
    assert 'Predict EvaLongoria @ x=91 with 0.99 confidence.' in out
AssertionError: 
-------------------- >> begin captured stdout << ---------------------

=== /.../openface/images/examples/longoria-cooper.jpg ===
List of faces in image from left to right
Predict EvaLongoria @ x=92 with 0.99 confidence.
Predict BradleyCooper @ x=192 with 0.99 confidence.

/.../lib/python2.7/site-packages/sklearn/lda.py:6: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19
  "in 0.17 and will be removed in 0.19", DeprecationWarning)
/.../lib/python2.7/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
/.../lib/python2.7/site-packages/sklearn/grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
  DeprecationWarning)
/.../lib/python2.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator LabelEncoder from version pre-0.18 when using version 0.18.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)
/.../lib/python2.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator SVC from version pre-0.18 when using version 0.18.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)
/.../lib/python2.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator GridSearchCV from version pre-0.18 when using version 0.18.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: tests.openface_demo_tests.test_classification_demo_training
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_demo_tests.py", line 99, in test_classification_demo_training
    assert p.returncode == 0
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0003.jpg ===

=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0009.jpg ===

/.../torch/install/bin/luajit: /.../torch/install/share/lua/5.1/trepl/init.lua:389: module 'csvigo' not found:No LuaRocks module found for csvigo
    no field package.preload['csvigo']
    no file '/Users/sds/.luarocks/share/lua/5.1/csvigo.lua'
    no file '/Users/sds/.luarocks/share/lua/5.1/csvigo/init.lua'
    no file '/.../torch/install/share/lua/5.1/csvigo.lua'
    no file '/.../torch/install/share/lua/5.1/csvigo/init.lua'
    no file './csvigo.lua'
    no file '/.../torch/install/share/luajit-2.1.0-beta1/csvigo.lua'
    no file '/usr/local/share/lua/5.1/csvigo.lua'
    no file '/usr/local/share/lua/5.1/csvigo/init.lua'
    no file '/Users/sds/.luarocks/lib/lua/5.1/csvigo.so'
    no file '/.../torch/install/lib/lua/5.1/csvigo.so'
    no file '/.../torch/install/lib/csvigo.dylib'
    no file './csvigo.so'
    no file '/usr/local/lib/lua/5.1/csvigo.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'error'
    /.../torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    ./batch-represent/main.lua:9: in main chunk
    [C]: in function 'dofile'
    .../src/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x010aa31a00

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: tests.openface_neural_net_training_tests.test_dnn_training
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/.../openface/tests/openface_neural_net_training_tests.py", line 77, in test_dnn_training
    assert p.returncode == 0
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0011.jpg ===

=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0002.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0012.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0006.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0003.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0004.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0010.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0007.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0001.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0008.jpg ===
=== /.../openface/data/lfw-subset/raw/Ann_Veneman/Ann_Veneman_0009.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0005.jpg ===
=== /.../openface/data/lfw-subset/raw/Adrien_Brody/Adrien_Brody_0011.jpg ===
=== /.../openface/data/lfw-subset/raw/Anna_Kournikova/Anna_Kournikova_0006.jpg ===

{
  cudnn : false
  testBatchSize : 800
  embSize : 128
  cache : "/var/folders/xk/pvg0605s1clg844pgwvwydv00000gr/T/OpenFaceTrainingTest-Net-kXYOOw"
  cudnn_bench : false
  cuda : false
  modelDef : "../models/openface/nn4.def.lua"
  data : "/var/folders/xk/pvg0605s1clg844pgwvwydv00000gr/T/OpenFaceTrainingTest-Img-a2zkWr/aligned"
  epochSize : 1
  nDonkeys : -1
  save : "/var/folders/xk/pvg0605s1clg844pgwvwydv00000gr/T/OpenFaceTrainingTest-Net-kXYOOw/1"
  nGPU : 1
  device : 1
  epochNumber : 1
  manualSeed : 2
  testing : false
  alpha : 0.2
  nEpochs : 10
  peoplePerBatch : 3
  imagesPerPerson : 10
  lfwDir : "../data/lfw/aligned"
  imgDim : 96
  retrain : "none"
}
Saving everything to: /var/folders/xk/pvg0605s1clg844pgwvwydv00000gr/T/OpenFaceTrainingTest-Net-kXYOOw/1    

/.../torch/install/bin/luajit: /.../torch/install/share/lua/5.1/trepl/init.lua:389: module 'graphicsmagick' not found:No LuaRocks module found for graphicsmagick
    no field package.preload['graphicsmagick']
    no file '/Users/sds/.luarocks/share/lua/5.1/graphicsmagick.lua'
    no file '/Users/sds/.luarocks/share/lua/5.1/graphicsmagick/init.lua'
    no file '/.../torch/install/share/lua/5.1/graphicsmagick.lua'
    no file '/.../torch/install/share/lua/5.1/graphicsmagick/init.lua'
    no file './graphicsmagick.lua'
    no file '/.../torch/install/share/luajit-2.1.0-beta1/graphicsmagick.lua'
    no file '/usr/local/share/lua/5.1/graphicsmagick.lua'
    no file '/usr/local/share/lua/5.1/graphicsmagick/init.lua'
    no file '/Users/sds/.luarocks/lib/lua/5.1/graphicsmagick.so'
    no file '/.../torch/install/lib/lua/5.1/graphicsmagick.so'
    no file '/.../torch/install/lib/graphicsmagick.dylib'
    no file './graphicsmagick.so'
    no file '/usr/local/lib/lua/5.1/graphicsmagick.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'error'
    /.../torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    /.../openface/training/donkey.lua:10: in main chunk
    [C]: in function 'dofile'
    /.../openface/training/data.lua:33: in main chunk
    [C]: in function 'dofile'
    ./main.lua:27: in main chunk
    [C]: in function 'dofile'
    .../src/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x010c496a00

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 7 tests in 23.964s

FAILED (failures=7)