mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
Update Trainer.py
This commit is contained in:
parent
a8694b73f0
commit
c707fc0658
1 changed files with 3 additions and 3 deletions
|
@ -277,8 +277,8 @@ def previewThread (input_queue, output_queue):
|
|||
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
def main (training_data_src_dir, training_data_dst_dir, model_path, model_name,preview, **in_options):
|
||||
print ("Running trainer(preview=%s).\r\n" % (preview))
|
||||
def main (training_data_src_dir, training_data_dst_dir, model_path, model_name, preview, **in_options):
|
||||
print ("Running trainer.\r\n")
|
||||
|
||||
output_queue = queue.Queue()
|
||||
input_queue = queue.Queue()
|
||||
|
@ -287,4 +287,4 @@ def main (training_data_src_dir, training_data_dst_dir, model_path, model_name,p
|
|||
thread.start()
|
||||
|
||||
if preview:
|
||||
previewThread (input_queue, output_queue)
|
||||
previewThread (input_queue, output_queue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue