JiantaoLin
commited on
Commit
Β·
697dd0c
1
Parent(s):
a45ca60
new
Browse files
pipeline/kiss3d_wrapper.py
CHANGED
|
@@ -222,8 +222,9 @@ class kiss3d_wrapper(object):
|
|
| 222 |
|
| 223 |
def context(self):
|
| 224 |
if self.config['use_zero_gpu']:
|
| 225 |
-
import spaces
|
| 226 |
-
return spaces.GPU()
|
|
|
|
| 227 |
else:
|
| 228 |
return torch.no_grad()
|
| 229 |
|
|
|
|
| 222 |
|
| 223 |
def context(self):
|
| 224 |
if self.config['use_zero_gpu']:
|
| 225 |
+
# import spaces
|
| 226 |
+
# return spaces.GPU()
|
| 227 |
+
pass
|
| 228 |
else:
|
| 229 |
return torch.no_grad()
|
| 230 |
|