Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files- nsr/train_util.py +7 -7
nsr/train_util.py
CHANGED
@@ -9,7 +9,7 @@ from pathlib import Path
|
|
9 |
from pdb import set_trace as st
|
10 |
|
11 |
import traceback
|
12 |
-
from nsr.gs import GaussianRenderer
|
13 |
from nsr.gs_surfel import GaussianRenderer2DGS
|
14 |
import blobfile as bf
|
15 |
import imageio
|
@@ -880,12 +880,12 @@ class TrainLoop3DRec(TrainLoopBasic):
|
|
880 |
|
881 |
# gs rendering no MLP
|
882 |
if not (
|
883 |
-
isinstance(
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
|
890 |
|
891 |
optim_groups.append(
|
|
|
9 |
from pdb import set_trace as st
|
10 |
|
11 |
import traceback
|
12 |
+
# from nsr.gs import GaussianRenderer
|
13 |
from nsr.gs_surfel import GaussianRenderer2DGS
|
14 |
import blobfile as bf
|
15 |
import imageio
|
|
|
880 |
|
881 |
# gs rendering no MLP
|
882 |
if not (
|
883 |
+
# isinstance(
|
884 |
+
# self.mp_trainer_rec.model.decoder.triplane_decoder,
|
885 |
+
# GaussianRenderer) or
|
886 |
+
isinstance(
|
887 |
+
self.mp_trainer_rec.model.decoder.triplane_decoder,
|
888 |
+
GaussianRenderer2DGS)):
|
889 |
|
890 |
|
891 |
optim_groups.append(
|