`openface_server.lua` subprocess has died.

224 views
Skip to first unread message

Patrick Cole

unread,
Oct 23, 2017, 12:06:02 PM10/23/17
to CMU-OpenFace

Traceback (most recent call last):

  File "recognitionTest.py", line 91, in <module>

    test.trainNetwork()

  File "recognitionTest.py", line 55, in trainNetwork

    rep = net.forward(alignedFace)

  File "/usr/local/lib/python2.7/dist-packages/openface/torch_neural_net.py", line 204, in forward

    rep = self.forwardPath(t)

  File "/usr/local/lib/python2.7/dist-packages/openface/torch_neural_net.py", line 161, in forwardPath

    """.format(self.cmd, self.p.stdout.read()))


cmd: ['/usr/bin/env', 'th', '/usr/local/lib/python2.7/dist-packages/openface/openface_server.lua', '-model', '../openface/models/openface/nn4.small2.v1.t7', '-imgDim', '96']


When trying to train the Neutral Network it gives me the exception saying that `openface_server.lua` subprocess has died. One of the suggestions is asking whether the command th is in my PATH. What exactly does that mean, and what should it look like? Thanks!

Patrick Cole

unread,
Oct 23, 2017, 5:52:16 PM10/23/17
to CMU-OpenFace
The reason was because I didn't run the script to download all of the correct models.
Reply all
Reply to author
Forward
0 new messages