mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-07-26 13:37:40 +08:00
no validation for now
This commit is contained in:
+1
-2
@@ -50,8 +50,7 @@ class Trainer:
|
||||
avg_epoch_loss += loss.item()
|
||||
it.set_postfix(
|
||||
ordered_dict={
|
||||
("" if is_training else "validation_")
|
||||
+ "avg_epoch_loss": avg_epoch_loss/batch_no
|
||||
"avg_epoch_loss": avg_epoch_loss/batch_no
|
||||
},
|
||||
refresh=False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user