mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-06 16:50:09 +08:00
Fix typo in progress bar docs (#1680)
* fix typo * Typo * typo Borda Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
This commit is contained in:
co-authored by
Jirka Borovec
parent
152a2eb30c
commit
d06d5e68b6
@@ -24,10 +24,10 @@ class ProgressBarBase(Callback):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__() # don't forget this :)
|
||||
self.enabled = True
|
||||
self.enable = True
|
||||
|
||||
def disable(self):
|
||||
self.enableenabled = False
|
||||
self.enable = False
|
||||
|
||||
def on_batch_end(self, trainer, pl_module):
|
||||
super().on_batch_end(trainer, pl_module) # don't forget this :)
|
||||
|
||||
Reference in New Issue
Block a user