mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
fix
This commit is contained in:
parent
45270f3fb5
commit
d0c280a902
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class SampleProcessor(object):
|
||||||
raise ValueError("face_type must be defined for face samples")
|
raise ValueError("face_type must be defined for face samples")
|
||||||
|
|
||||||
if face_type > sample.face_type:
|
if face_type > sample.face_type:
|
||||||
raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, target_ft) )
|
raise Exception ('sample %s type %s does not match model requirement %s. Consider extract necessary type of faces.' % (sample.filename, sample.face_type, face_type) )
|
||||||
|
|
||||||
if sample_type == SPST.FACE_IMAGE or sample_type == SPST.FACE_MASK:
|
if sample_type == SPST.FACE_IMAGE or sample_type == SPST.FACE_MASK:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue