From 72239b4419e90d13003504b6b31ef02ba69f55f3 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Sun, 31 Mar 2019 16:35:10 -0400 Subject: [PATCH] Update README.md --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 6a1afe59..fd07fa52 100644 --- a/README.md +++ b/README.md @@ -84,12 +84,7 @@ def main(hparams): model = ExampleModel(hparams) # callbacks - early_stop = EarlyStopping( - monitor='val_acc', - patience=3, - mode='min', - verbose=True, - ) + early_stop = EarlyStopping(monitor='val_acc', patience=3, mode='min', verbose=True) model_save_path = '{}/{}/{}'.format(hparams.model_save_path, exp.name, exp.version) checkpoint = ModelCheckpoint(