mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
fox Converter.py for debug
This commit is contained in:
parent
ea7a2456c5
commit
72a640c66c
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class ConvertSubprocessor(SubprocessorBase):
|
|||
image = self.converter.convert_face(image, image_landmarks, self.debug)
|
||||
if self.debug:
|
||||
for img in image:
|
||||
cv2.imshow ('Debug convert', img )
|
||||
cv2.imshow ('Debug convert', (img*255).astype(np.uint8) )
|
||||
cv2.waitKey(0)
|
||||
except Exception as e:
|
||||
print ( 'Error while converting face_num [%d] in file [%s]: %s' % (face_num, filename_path, str(e)) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue