mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 05:22:06 -07:00
fix DFLPNG
This commit is contained in:
parent
6f99f14a6d
commit
dba951412c
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class DFLPNG(object):
|
|||
inst = DFLPNG.load_raw (filename)
|
||||
inst.fcwp_dict = inst.getDFLDictData()
|
||||
|
||||
if 'face_type' not in inst.fcwp_dict.keys():
|
||||
if (inst.fcwp_dict is not None) and ('face_type' not in inst.fcwp_dict.keys()):
|
||||
inst.fcwp_dict['face_type'] = FaceType.toString (FaceType.FULL)
|
||||
|
||||
if inst.fcwp_dict == None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue