mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
scaled batch size
This commit is contained in:
1 parent
51c55c938a
commit
a8f3b1b21f
1 file changed
+2
-2
@@ -13,6 +13,7 @@ import os
|
||||
import subprocess
|
||||
from time import sleep
|
||||
from torch.utils.data.distributed import DistributedSampler
|
||||
import warnings
|
||||
|
||||
|
||||
try:
|
||||
@@ -142,8 +143,7 @@ class Trainer(TrainerIO):
|
||||
Install apex first using this guide and rerun with use_amp=True:
|
||||
https://github.com/NVIDIA/apex#linux
|
||||
'''
|
||||
raise Warning(msg)
|
||||
|
||||
warnings.warn(msg)
|
||||
print('not using 16 bit')
|
||||
|
||||
def __determine_data_use_amount(self, train_percent_check, val_percent_check, test_percent_check, overfit_pct):
|
||||
|
||||
Reference in new issue
Block a user