Spaces:
Runtime error
Runtime error
Update PIFu/apps/eval_spaces.py
Browse files- PIFu/apps/eval_spaces.py +2 -1
PIFu/apps/eval_spaces.py
CHANGED
@@ -38,7 +38,8 @@ class Evaluator:
|
|
38 |
])
|
39 |
# set cuda
|
40 |
cuda = torch.device('cuda:%d' % opt.gpu_id) if torch.cuda.is_available() else torch.device('cpu')
|
41 |
-
|
|
|
42 |
# create net
|
43 |
netG = HGPIFuNet(opt, projection_mode).to(device=cuda)
|
44 |
print('Using Network: ', netG.name)
|
|
|
38 |
])
|
39 |
# set cuda
|
40 |
cuda = torch.device('cuda:%d' % opt.gpu_id) if torch.cuda.is_available() else torch.device('cpu')
|
41 |
+
print("CUDDAAAAA ???", torch.cuda.get_device_name(0))
|
42 |
+
|
43 |
# create net
|
44 |
netG = HGPIFuNet(opt, projection_mode).to(device=cuda)
|
45 |
print('Using Network: ', netG.name)
|