update
Browse files
app.py
CHANGED
@@ -22,12 +22,10 @@ import kornia
|
|
22 |
import yaml
|
23 |
import matplotlib.pyplot as plt
|
24 |
from sklearn.neighbors import NearestNeighbors
|
|
|
|
|
|
|
25 |
|
26 |
-
os.environ["CUDA_HOME"] = "/usr/local/cuda"
|
27 |
-
gs_path = str(Path(__file__).parent / 'src/third-party/diff-gaussian-rasterization-w-depth')
|
28 |
-
os.system(f'pip install -e {gs_path}')
|
29 |
-
os.system('conda install -c dglteam/label/th24_cu124 dgl')
|
30 |
-
os.system('conda install conda-forge::ffmpeg')
|
31 |
from dgl.geometry import farthest_point_sampler
|
32 |
|
33 |
import sys
|
|
|
22 |
import yaml
|
23 |
import matplotlib.pyplot as plt
|
24 |
from sklearn.neighbors import NearestNeighbors
|
25 |
+
import spaces
|
26 |
+
from spaces import zero
|
27 |
+
zero.startup()
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
from dgl.geometry import farthest_point_sampler
|
30 |
|
31 |
import sys
|