Commit Graph

19 Commits

Author SHA1 Message Date
Andrew 71ee6ee747 Make OpenFace work with Python 3 (#231)
* Make OpenFace Python 3 compatible, retaining Python 2 compatibility.
Tests could be parameterised to test for either Python 2 or 3.
Tests currently fail due to different library calculation outcomes?

* Tiny change to remove the dependency on nosetest3.

* Dockerfile updates for OpenFace + Python3 + Dlib19.2 + OpenCV3.2

* Revert "Dockerfile updates for OpenFace + Python3 + Dlib19.2 + OpenCV3.2"

This reverts commit ec08fc9226.

* Change for python2 backwards compatibility

* Change for python2 backwards compatibility

* Change to ensure python2 backwards compatibility

* Change to ensure python2 backwards compatibility
2017-04-24 17:50:16 -04:00
Brandon Amos b84b7c67f2
Torch Neural Net: Add deconstructor back. 2017-01-07 18:39:26 -05:00
Alex f9764b9c5d Replace destructor with context manager (#223)
* Make TorchNeuralNet a context manager.

Add __enter__/__exit__ method to kill Torch subprocess

* Update doc for the TorchNeuralNet

* Fix code snippets

* Update doc for enter/exit methods

* Format docstring for enter/exit methods
2017-01-07 18:37:23 -05:00
Brandon Amos 6343e40441 Add docs to torch_neural_net.__del__ 2016-10-21 09:37:41 -04:00
Brandon Amos 0b6b22313e Add destructor to torch_neural_net for #194 2016-10-21 07:47:42 -04:00
Brandon Amos 96743001d3
Add torch_neural_net.lutorpy by Vitalius Parubochyi 2016-07-25 17:27:11 -04:00
Brandon Amos 2c3164c50d openface_server error message: Add bash login shell note for #105. 2016-03-12 15:12:09 -05:00
Brandon Amos 91376f9caa Remove stderr output.
Thanks @kleinsound
2016-02-11 13:59:56 -05:00
Brandon Amos 7d8c6ba012 Disable stderr piping in Torch subprocess for #87 2016-01-29 10:36:38 -05:00
Brandon Amos be0cc05ea1 TorchNeuralNet: Improve error message when the subprocess dies. 2016-01-23 17:28:57 -05:00
Brandon Amos 9d1bd99579 Update copyright notices.
sed -i "/[Cc]opyright.*2015.*Carnegie Mellon University/s/2015/2015-2016/;"  $(git grep '[Cc]opyright.*Carnegie Mellon University'  | sed 's/:.*//' | uniq)
2016-01-13 14:52:52 -05:00
Brandon Amos f96b206765 Use nn4.small2.v1 by default. 2016-01-12 15:46:57 -05:00
Brandon Amos f42eceb452 Fix pep257 warnings. 2016-01-11 17:42:20 -05:00
Brandon Amos b84d57a6df Add checks for 'None' to resolve #25. 2016-01-11 17:24:52 -05:00
Brandon Amos 6246fada83 Update code to nn4.v2 for #55. 2016-01-07 18:28:11 -05:00
Brandon Amos 0184c47600 Typo. 2015-12-30 13:33:54 -05:00
Brandon Amos e9ccfad76c Docs: Update TorchNeuralNet signature. 2015-12-30 13:33:30 -05:00
Brandon Amos e15d11fbd7 Finish API changes and inline Python docs for #73. 2015-12-30 13:14:30 -05:00
Brandon Amos 1f7b50efa2 Refactor Python interface. 2015-12-29 19:57:29 -05:00