mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-08-13 12:30:41 +08:00
fix device
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user