[FACES DATA]
ERROR: The folder None could not be found
From the manual of tools.py, I should supply frame folder (-fr) argument, but the error message suggests that I should supply face folder (-fc), too. Is this correct?
Besides, I checked the 'tools\alignments.py' file. In class Check, function get_source_dir():
def get_source_dir(self, arguments):
""" Set the correct source dir """
if hasattr(arguments, "faces_dir"):
self.type = "faces"
source_dir = arguments.faces_dir
elif hasattr(arguments, "frames_dir"):
self.type = "frames"
source_dir = arguments.frames_dir
......
The function checks if 'faces_dir' is one of the attribute of arguments, but doesn't check if it's None. In this case, the final value of self.type should be 'frames', and the return value (source_dir) should be what I supplied for '-fr' argument.
I tried to use tools.py with the following arguments:
But I got this error message:
From the manual of tools.py, I should supply frame folder (-fr) argument, but the error message suggests that I should supply face folder (-fc), too. Is this correct? Besides, I checked the 'tools\alignments.py' file. In class Check, function get_source_dir():
The function checks if 'faces_dir' is one of the attribute of arguments, but doesn't check if it's None. In this case, the final value of self.type should be 'frames', and the return value (source_dir) should be what I supplied for '-fr' argument.