updated args

This commit is contained in:
William Falcon 2019-06-25 19:45:31 -04:00
parent cf57be9dca
commit 158aca26e2
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
from itertools import chain
from torch.nn import DataParallel
import pdb
class LightningDataParallel(DataParallel):
@ -8,6 +9,7 @@ class LightningDataParallel(DataParallel):
"""
def forward(self, *inputs, **kwargs):
pdb.set_trace()
if not self.device_ids:
# -------------
# MAIN CHANGE