fix Trainer.py for debug
This commit is contained in:
1 parent
cb96c2a51a
commit
0d76bee2ee
1 file changed
+2
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user