From 163f06d32bf99303f0bf93ede214e996ee5aa1ec Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Wed, 16 Dec 2015 13:12:12 -0500 Subject: [PATCH 1/4] Add hack for CentOS support for #66. --- openface/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openface/__init__.py b/openface/__init__.py index f378848..23311db 100644 --- a/openface/__init__.py +++ b/openface/__init__.py @@ -25,6 +25,9 @@ import cv2 myDir = os.path.dirname(os.path.realpath(__file__)) +# Hack for CentOS support: +# https://github.com/cmusatyalab/openface/issues/66 +os.environ['TERM'] = 'linux' class TorchWrap: # Warning: This is very unstable! From fe56897ddc75aabce1e1ddb4facb3b7e097da00a Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Wed, 16 Dec 2015 13:14:39 -0500 Subject: [PATCH 2/4] Fix pep8 warning. --- openface/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openface/__init__.py b/openface/__init__.py index 23311db..fb82780 100644 --- a/openface/__init__.py +++ b/openface/__init__.py @@ -29,6 +29,7 @@ myDir = os.path.dirname(os.path.realpath(__file__)) # https://github.com/cmusatyalab/openface/issues/66 os.environ['TERM'] = 'linux' + class TorchWrap: # Warning: This is very unstable! # Please join us in improving it at: From 4a0449e44cbbe19c67e2da366e29a5a8f09c97e6 Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Thu, 17 Dec 2015 08:46:17 -0500 Subject: [PATCH 3/4] Correct cudnn package name. --- docs/setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup.md b/docs/setup.md index f264250..fd638f5 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -141,7 +141,7 @@ where `$NAME` is as listed below. + [nn](https://github.com/torch/nn) + [optim](https://github.com/torch/optim) + [csvigo](https://github.com/clementfarabet/lua---csv) -+ [cudnn.torch](https://github.com/soumith/cudnn.torch) (only for CUDA support) ++ [cudnn](https://github.com/soumith/cudnn.torch) (only for CUDA support) + [fblualib](https://github.com/facebook/fblualib) (only for [training a DNN](http://cmusatyalab.github.io/openface/training-new-models/)) From dff471987eba924979f3c9f56c0867c32cd9273b Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Thu, 17 Dec 2015 08:53:00 -0500 Subject: [PATCH 4/4] Link to NVIDIA cuDNN. --- docs/setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup.md b/docs/setup.md index fd638f5..4eb99e9 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -141,7 +141,7 @@ where `$NAME` is as listed below. + [nn](https://github.com/torch/nn) + [optim](https://github.com/torch/optim) + [csvigo](https://github.com/clementfarabet/lua---csv) -+ [cudnn](https://github.com/soumith/cudnn.torch) (only for CUDA support) ++ [cudnn](https://github.com/soumith/cudnn.torch) (only for CUDA support, also requires NVIDIA [cuDNN](https://developer.nvidia.com/cuDNN) to be installed) + [fblualib](https://github.com/facebook/fblualib) (only for [training a DNN](http://cmusatyalab.github.io/openface/training-new-models/))