Skip to content

Commit 932a843

Browse files
committed
Update worker_training.py
1 parent e0dfc5a commit 932a843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napari_cellseg3d/code_models/worker_training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def get_loader_func(num_samples):
530530

531531
self.log_parameters()
532532

533-
device = self.config.device
533+
device = torch.device(self.config.device)
534534

535535
# if model_name == "test":
536536
# self.quit()

0 commit comments

Comments
 (0)