Skip to content

Commit

Permalink
fix device string
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunibe committed Oct 18, 2024
1 parent bc99f8f commit 679d774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HD_BET/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def run_hd_bet(mri_fnames, output_fnames, mode="accurate", config_file=os.path.j
if device == 'cpu' or device == 'mps':
pass
else:
device = "cuda:" + device
device = "cuda:" + str(device)

net = net.to(device)

Expand Down

0 comments on commit 679d774

Please sign in to comment.