mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
fix Trainer.py for debug
This commit is contained in:
parent
cb96c2a51a
commit
0d76bee2ee
1 changed files with 2 additions and 1 deletions
|
@ -247,8 +247,9 @@ def previewThread (input_queue, output_queue):
|
|||
final = np.concatenate ( [final, lh_img], axis=0 )
|
||||
|
||||
final = np.concatenate ( [final, selected_preview_rgb], axis=0 )
|
||||
final = np.clip(final, 0, 1)
|
||||
|
||||
cv2.imshow ( 'Training preview', final)
|
||||
cv2.imshow ( 'Training preview', (final*255).astype(np.uint8) )
|
||||
is_showing = True
|
||||
|
||||
if is_showing:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue