align-dlib: Remove outdated sys.path modification.

Thanks @kleinsound!
This commit is contained in:
Brandon Amos 2016-01-25 15:54:12 -05:00
parent be0cc05ea1
commit b3735ff641
1 changed files with 3 additions and 7 deletions

View File

@ -14,15 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import os
import sys
fileDir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(fileDir, ".."))
import numpy as np
import argparse import argparse
import cv2 import cv2
import numpy as np
import os
import random import random
import shutil import shutil
@ -30,6 +25,7 @@ import openface
import openface.helper import openface.helper
from openface.data import iterImgs from openface.data import iterImgs
fileDir = os.path.dirname(os.path.realpath(__file__))
modelDir = os.path.join(fileDir, '..', 'models') modelDir = os.path.join(fileDir, '..', 'models')
dlibModelDir = os.path.join(modelDir, 'dlib') dlibModelDir = os.path.join(modelDir, 'dlib')
openfaceModelDir = os.path.join(modelDir, 'openface') openfaceModelDir = os.path.join(modelDir, 'openface')