From 51c55c938ae5e2226282fbbc79cc7cdbc2cbeffc Mon Sep 17 00:00:00 2001 From: William Falcon Date: Mon, 8 Jul 2019 20:02:06 -0400 Subject: [PATCH] scaled batch size --- pytorch_lightning/models/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index d70a958288..69d4fcd4e9 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -136,7 +136,7 @@ class Trainer(TrainerIO): if self.use_amp: print('using 16bit precision') - if self.use_amp and not APEX_AVAILABLE: + if use_amp and not APEX_AVAILABLE: msg = ''' You set use_amp=True but do not have apex installed. Install apex first using this guide and rerun with use_amp=True: