Spaces:
Running
Running
Update gaussian_renderer/__init__.py
Browse files
gaussian_renderer/__init__.py
CHANGED
|
@@ -151,7 +151,9 @@ from utils.graphics_utils import depth_to_normal
|
|
| 151 |
### if use [gsplat](https://github.com/nerfstudio-project/gsplat)
|
| 152 |
|
| 153 |
from gsplat import rasterization
|
|
|
|
| 154 |
|
|
|
|
| 155 |
def render_gsplat(
|
| 156 |
viewpoint_camera,
|
| 157 |
pc : GaussianModel,
|
|
|
|
| 151 |
### if use [gsplat](https://github.com/nerfstudio-project/gsplat)
|
| 152 |
|
| 153 |
from gsplat import rasterization
|
| 154 |
+
import spaces
|
| 155 |
|
| 156 |
+
@spaces.GPU(duration=150)
|
| 157 |
def render_gsplat(
|
| 158 |
viewpoint_camera,
|
| 159 |
pc : GaussianModel,
|