fix attribute name for internal layer in DataParallel
This commit is contained in:
parent
39007e5bf8
commit
ddfe2eda76
|
@ -62,7 +62,7 @@ class Experiment(ExperimentBase):
|
|||
config.training.gradient_max_norm))
|
||||
|
||||
self.model = model
|
||||
self.model_core = model._layer if self.parallel else model
|
||||
self.model_core = model._layers if self.parallel else model
|
||||
self.optimizer = optimizer
|
||||
|
||||
def setup_dataloader(self):
|
||||
|
|
Loading…
Reference in New Issue