Spaces:
Runtime error
Runtime error
kxhit
commited on
Commit
·
6509a18
1
Parent(s):
aa4ba5a
debug
Browse files- app.py +1 -0
- gradio_demo/gradio_demo.py +1 -0
app.py
CHANGED
|
@@ -17,6 +17,7 @@ import cv2
|
|
| 17 |
import matplotlib.pyplot as pl
|
| 18 |
pl.ion()
|
| 19 |
|
|
|
|
| 20 |
CaPE_TYPE = "6DoF"
|
| 21 |
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
| 22 |
weight_dtype = torch.float16
|
|
|
|
| 17 |
import matplotlib.pyplot as pl
|
| 18 |
pl.ion()
|
| 19 |
|
| 20 |
+
print("cuda is available: ", torch.cuda.is_available())
|
| 21 |
CaPE_TYPE = "6DoF"
|
| 22 |
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
| 23 |
weight_dtype = torch.float16
|
gradio_demo/gradio_demo.py
CHANGED
|
@@ -17,6 +17,7 @@ import cv2
|
|
| 17 |
import matplotlib.pyplot as pl
|
| 18 |
pl.ion()
|
| 19 |
|
|
|
|
| 20 |
CaPE_TYPE = "6DoF"
|
| 21 |
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
| 22 |
weight_dtype = torch.float16
|
|
|
|
| 17 |
import matplotlib.pyplot as pl
|
| 18 |
pl.ion()
|
| 19 |
|
| 20 |
+
print("cuda is available: ", torch.cuda.is_available())
|
| 21 |
CaPE_TYPE = "6DoF"
|
| 22 |
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
| 23 |
weight_dtype = torch.float16
|