Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qywu committed Nov 12, 2021
1 parent 90e4195 commit 562889a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions torchfly/training/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ def __init__(self, config: DictConfig, model: FlyModel, *args, **kwargs):
self.total_num_batches = None
self.total_num_epochs = None
self.epoch_num_batches = None
self.global_batch_count = 0
self.global_step_count = 0
self.epochs_trained = 0
self.local_step_count = 0
self.global_batch_count = None
self.global_step_count = None
self.epochs_trained = None
self.local_step_count = None

self.init_distributed_environment()

Expand Down

0 comments on commit 562889a

Please sign in to comment.