diff --git a/data/casia-facescrub/remove-lfw-names.py b/data/casia-facescrub/remove-lfw-names.py index f8f5fcb..9b1d49d 100755 --- a/data/casia-facescrub/remove-lfw-names.py +++ b/data/casia-facescrub/remove-lfw-names.py @@ -2,7 +2,6 @@ import os import shutil -import sys lfwDir = '../lfw/raw' lfwNames = os.listdir(lfwDir) @@ -10,6 +9,7 @@ lfwNames = [name.replace("_", "").lower() for name in lfwNames] names = os.listdir('raw') + def inLfw(name): name = name.strip().lower() for lfwName in lfwNames: