Skip to content

Commit

Permalink
fix device string
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunibe authored Oct 16, 2024
1 parent c9dc844 commit 7524715
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 @@ -61,7 +61,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 7524715

Please sign in to comment.