fix device

This commit is contained in:
Kashif Rasul
2019-11-18 23:31:05 +01:00
parent db783e2005
commit 563ef86436
+1 -1
View File
@@ -108,7 +108,7 @@ class PTSEstimator(Estimator):
)
# ensure that the training network is created on the same device
trained_net = self.create_training_network(self.device)
trained_net = self.create_training_network(self.trainer.device)
self.trainer(
net=trained_net,