mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
bug fix
This commit is contained in:
1 parent
016d3503da
commit
f8fd300b3e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user