From d0c280a902ff74ed3eff33d35a46fbf9199c5b15 Mon Sep 17 00:00:00 2001 From: Colombo Date: Sat, 7 Mar 2020 16:33:50 +0400 Subject: [PATCH] fix --- samplelib/SampleProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samplelib/SampleProcessor.py b/samplelib/SampleProcessor.py index f684505..d0ab7e3 100644 --- a/samplelib/SampleProcessor.py +++ b/samplelib/SampleProcessor.py @@ -93,7 +93,7 @@ class SampleProcessor(object): raise ValueError("face_type must be defined for face samples") 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: