JiantaoLin
commited on
Commit
·
01d61ef
1
Parent(s):
c380726
new
Browse files
models/ISOMER/mesh_reconstruction/render.py
CHANGED
@@ -5,11 +5,11 @@ from typing import Tuple
|
|
5 |
import spaces
|
6 |
|
7 |
glctx = None
|
8 |
-
@spaces.GPU
|
9 |
-
def init_render():
|
10 |
-
|
11 |
-
|
12 |
-
init_render()
|
13 |
|
14 |
@spaces.GPU
|
15 |
def _warmup(glctx, device=None):
|
|
|
5 |
import spaces
|
6 |
|
7 |
glctx = None
|
8 |
+
# @spaces.GPU
|
9 |
+
# def init_render():
|
10 |
+
# global glctx
|
11 |
+
# glctx = dr.RasterizeCudaContext(device="cuda")
|
12 |
+
# init_render()
|
13 |
|
14 |
@spaces.GPU
|
15 |
def _warmup(glctx, device=None):
|