Skip to content

Commit af3d8bc

Browse files
committed
Added epoch tracking in terminal
1 parent fb0e3f8 commit af3d8bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def main():
139139

140140
for epoch in range(args.epoch):
141141
# Training loop start
142+
print(f"Epoch: {epoch+1}/{args.epoch}")
142143
trainingloss = []
143144
model.train()
144145
for x, y in tqdm(trainloader, desc="Training"):

0 commit comments

Comments
 (0)