forked from mrq/ai-voice-cloning
don't know what brain worms had me throw printing training output under verbose
This commit is contained in:
parent
debdf6049a
commit
485319c2bb
|
@ -496,8 +496,9 @@ def run_training(config_path, verbose=False, buffer_size=8, progress=gr.Progress
|
||||||
checkpoint = checkpoint + 1
|
checkpoint = checkpoint + 1
|
||||||
progress(checkpoint / float(checkpoints), f'[{checkpoint}/{checkpoints}] Saving checkpoint...')
|
progress(checkpoint / float(checkpoints), f'[{checkpoint}/{checkpoints}] Saving checkpoint...')
|
||||||
|
|
||||||
if verbose:
|
|
||||||
print(f"[Training] [{datetime.now().isoformat()}] {line[:-1]}")
|
print(f"[Training] [{datetime.now().isoformat()}] {line[:-1]}")
|
||||||
|
|
||||||
|
if verbose:
|
||||||
yield "".join(buffer[-buffer_size:])
|
yield "".join(buffer[-buffer_size:])
|
||||||
|
|
||||||
training_process.stdout.close()
|
training_process.stdout.close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user