Skip to content

Commit

Permalink
♻️ update lab
Browse files Browse the repository at this point in the history
  • Loading branch information
vpj committed May 13, 2020
1 parent 73f294b commit 6e5649a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train.py
Expand Up @@ -4,7 +4,7 @@
import numpy as np
import torch
import torch.nn
from labml import experiment, monit, tracker, loop, logger
from labml import experiment, monit, tracker, logger
from labml.utils.delayed_keyboard_interrupt import DelayedKeyboardInterrupt

import parser.load
Expand Down Expand Up @@ -164,7 +164,7 @@ def main_train():
steps_per_epoch = 200

# Train for 100 epochs
for epoch in loop.loop(range(100)):
for epoch in monit.loop(range(100)):
# Create trainer
trainer = Trainer(files=train_files,
model=model,
Expand Down

0 comments on commit 6e5649a

Please sign in to comment.