amanmibra commited on
Commit
80802e9
·
1 Parent(s): 6e44a78

Update print

Browse files
Files changed (1) hide show
  1. train.py +1 -1
train.py CHANGED
@@ -26,7 +26,7 @@ def train(model, train_dataloader, loss_fn, optimizer, device, epochs, test_data
26
  testing_loss = []
27
 
28
  for i in range(epochs):
29
- print(f"Epoch {i + 1}")
30
 
31
  # train model
32
  train_epoch_loss, train_epoch_acc = train_epoch(model, train_dataloader, loss_fn, optimizer, device)
 
26
  testing_loss = []
27
 
28
  for i in range(epochs):
29
+ print(f"Epoch {i + 1}/{epochs}")
30
 
31
  # train model
32
  train_epoch_loss, train_epoch_acc = train_epoch(model, train_dataloader, loss_fn, optimizer, device)