Skip to content

Commit f428de9

Browse files
committed
bugfix, redundant code
1 parent dba01bf commit f428de9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/depthmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,8 +1219,8 @@ def parse(self):
12191219
id = int(str_id)
12201220
if id >= 0:
12211221
opt.gpu_ids.append(id)
1222-
if len(opt.gpu_ids) > 0:
1223-
torch.cuda.set_device(opt.gpu_ids[0])
1222+
#if len(opt.gpu_ids) > 0:
1223+
# torch.cuda.set_device(opt.gpu_ids[0])
12241224

12251225
self.opt = opt
12261226
return self.opt

0 commit comments

Comments
 (0)