This commit is contained in:
William Falcon
2020-01-21 14:15:52 -05:00
4 changed files with 0 additions and 7 deletions
-1
View File
@@ -3,7 +3,6 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
PyTorch-Lightning Documentation
=============================
@@ -2,7 +2,6 @@
Callbacks
====================================
Callbacks supported by Lightning
"""
import os
@@ -95,7 +94,6 @@ class EarlyStopping(Callback):
early_stopping = EarlyStopping('val_loss')
Trainer(early_stop_callback=early_stopping)
"""
def __init__(self, monitor='val_loss',
-1
View File
@@ -1228,7 +1228,6 @@ def convert(val):
constructors = [int, float, str]
if type(val) is str:
if val.lower() == 'true':
return True
if val.lower() == 'false':
-3
View File
@@ -48,9 +48,6 @@ class Trainer(TrainerIOMixin,
TrainerTrainLoopMixin,
TrainerCallbackConfigMixin,
):
r"""
Main trainer class
"""
def __init__(
self,
logger=True,