mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
scaled batch size
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user