Merge pull request #80 from iclementine/develop
wavenet: fix attribute name for internal layer in DataParallel
This commit is contained in:
commit
c615de2354
|
@ -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