updated args
This commit is contained in:
parent
cf57be9dca
commit
158aca26e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue