Hello I am getting the following error while trying to run openface.
Traceback (most recent call last):
File "<ipython-input-19-7144d840eb8a>", line 1, in <module>
runfile('/Users/sysadmin/Documents/pankaj.py', wdir='/Users/sysadmin/Documents')
File "/Users/sysadmin/anaconda/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py", line 866, in runfile
execfile(filename, namespace)
File "/Users/sysadmin/anaconda/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py", line 94, in execfile
builtins.execfile(filename, *where)
File "/Users/sysadmin/Documents/pankaj.py", line 147, in <module>
face_recognition()
File "/Users/sysadmin/Documents/pankaj.py", line 112, in face_recognition
rep = get_representations(alignedFace)
File "/Users/sysadmin/Documents/pankaj.py", line 65, in get_representations
rep = net.forward(alignedFace)
File "/Users/sysadmin/anaconda/lib/python2.7/site-packages/openface/torch_neural_net.py", line 171, in forward
rep = self.forwardPath(t)
File "/Users/sysadmin/anaconda/lib/python2.7/site-packages/openface/torch_neural_net.py", line 128, in forwardPath
""".format(self.cmd, self.p.stdout.read()))
Exception:
OpenFace: `openface_server.lua` subprocess has died.
+ Is the Torch command `th` on your PATH? Check with `which th`.
+ If `th` is on your PATH, try running `./util/profile-network.lua`
to see if Torch can correctly load and run the network.
+ If this gives illegal instruction errors, see the section on
+ In Docker, use a Bash login shell or source
/root/torch/install/bin/torch-activate for the Torch environment.
+ See this GitHub issue if you are running on a non-64-bit machine:
+ Advanced Users: If you think this problem is caused by
running Lua as a subprocess, Vitalius Parubochyi has created
and our mailing list discussion on this can be found at:
+ Please post further issues to our mailing list at
Diagnostic information:
cmd: ['/usr/bin/env', 'th', '/Users/sysadmin/anaconda/lib/python2.7/site-packages/openface/openface_server.lua', '-model', '/Users/sysadmin/Documents/openface/models/openface/nn4.small2.v1.ascii.t7', '-imgDim', '96']
============
stdout:
Is this error which torch ? I tried running th command in shell which shows th is properly installed.