Spaces:
TirthGPT
/
Runtime error

Zhengyi commited on
Commit
bfe84c4
1 Parent(s): a71660a

Update util/renderer.py

Browse files
Files changed (1) hide show
  1. util/renderer.py +1 -1
util/renderer.py CHANGED
@@ -12,7 +12,7 @@ class Renderer(nn.Module):
12
  self.camera_angle_num = camera_angle_num
13
  self.scale = scale
14
  self.geo_type = geo_type
15
- self.glctx = dr.RasterizeCudaContext()
16
 
17
  if self.geo_type == "flex":
18
  self.flexicubes = FlexiCubesGeometry(grid_res = self.tet_grid_size)
 
12
  self.camera_angle_num = camera_angle_num
13
  self.scale = scale
14
  self.geo_type = geo_type
15
+ # self.glctx = dr.RasterizeCudaContext()
16
 
17
  if self.geo_type == "flex":
18
  self.flexicubes = FlexiCubesGeometry(grid_res = self.tet_grid_size)