mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
removing dflimg image_to_face_mat
This commit is contained in:
parent
5d819e3e83
commit
7c1ea1a617
3 changed files with 5 additions and 22 deletions
|
@ -329,9 +329,6 @@ class DFLPNG(object):
|
|||
def get_source_filename(self): return self.fcwp_dict['source_filename']
|
||||
def get_source_rect(self): return self.fcwp_dict['source_rect']
|
||||
def get_source_landmarks(self): return np.array ( self.fcwp_dict['source_landmarks'] )
|
||||
def get_image_to_face_mat(self):
|
||||
mat = self.fcwp_dict.get('image_to_face_mat', None)
|
||||
return np.array(mat) if mat is not None else None
|
||||
|
||||
def __str__(self):
|
||||
return "<PNG length={length} chunks={}>".format(len(self.chunks), **self.__dict__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue