run-test.sh failed and lfw-a.tgz md5sum did not match

127 views
Skip to first unread message

Kyon Seraphim

unread,
Jun 29, 2016, 7:09:28 AM6/29/16
to CMU-OpenFace
Hi there,

I built my docker followed by the instructions https://cmusatyalab.github.io/openface/setup/

The setup went well but I got eorrs while run-test. Trace as follows:

root@9f6289ffcf65:~/openface# ./run-tests.sh
tests.openface_api_tests.test_pipeline ... ok
tests.openface_batch_represent_tests.test_batch_represent ... FAIL
tests.openface_demo_tests.test_compare_demo ... ok
tests.openface_demo_tests.test_classification_demo_pretrained ... ok
tests.openface_demo_tests.test_classification_demo_training ... FAIL
tests.openface_neural_net_training_tests.test_dnn_training ... FAIL

======================================================================
FAIL: tests.openface_batch_represent_tests.test_batch_represent
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/root/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_classification_demo_training
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/root/openface/tests/openface_demo_tests.py", line 55, 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/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/root/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

And then I ran ./data/download-lfw-subset.sh mannually but got :

root@9f6289ffcf65:~/openface/data# sh ./download-lfw-subset.sh


====================================================
Downloading lfw-a (subset of people with name starting with A)====================================================

2016-06-29 09:40:10 URL:http://vis-www.cs.umass.edu/lfw/lfw-a.tgz [14486641/14486641] -> "lfw-a.tgz" [1]


====================================================
Verifying checksums.
====================================================

./download-lfw-subset.sh: 48: [: 678b1f67c300002fedafbb0705d22e8d: unexpected operator
+ ERROR! lfw-a.tgz md5sum did not match.
  + Expected: 678b1f67c300002fedafbb0705d22e8d
  + Actual: 678b1f67c300002fedafbb0705d22e8d
  + Please manually delete this file and try re-running this script.
./download-lfw-subset.sh: 55: return: Illegal number: -1

Do you have any ideas about this issue?

Jan Harkes

unread,
Jun 29, 2016, 8:02:46 AM6/29/16
to Kyon Seraphim, CMU-OpenFace

Try running it as,

# bash ./download-lfw-subset.sh


--
You received this message because you are subscribed to the Google Groups "CMU-OpenFace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmu-openface...@googlegroups.com.
To post to this group, send email to cmu-op...@googlegroups.com.
Visit this group at https://groups.google.com/group/cmu-openface.
To view this discussion on the web visit https://groups.google.com/d/msgid/cmu-openface/b76d8139-bbdb-4359-aa57-fa19bc6ffb97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kyon Seraphim

unread,
Jul 4, 2016, 6:23:50 AM7/4/16
to CMU-OpenFace, soswi...@gmail.com
Thank you very much!  It works!
Reply all
Reply to author
Forward
0 new messages