mirror of https://github.com/coqui-ai/TTS.git
bug fix
This commit is contained in:
parent
016d3503da
commit
f8fd300b3e
|
@ -221,7 +221,7 @@ def train(model, criterion, optimizer,
|
|||
if args.rank == 0:
|
||||
tb_logger.tb_train_epoch_stats(global_step, epoch_stats)
|
||||
# TODO: plot model stats
|
||||
if c.tb_model_param_stats:
|
||||
if c.tb_model_param_stats and args.rank == 0:
|
||||
tb_logger.tb_model_weights(model, global_step)
|
||||
return keep_avg.avg_values, global_step
|
||||
|
||||
|
|
Loading…
Reference in New Issue