mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Move masking abstraction
This commit is contained in:
1 parent
ade3b632de
commit
800461e7ae
6 files changed
+82
-38
No files matched your search
@@ -102,7 +102,7 @@ class TCNNInstantNGPField(Field):
|
||||
density = F.softplus(density_before_activation)
|
||||
return density, base_mlp_out
|
||||
|
||||
def get_outputs(self, point_samples: PointSamples, density_embedding=None, valid_mask=None):
|
||||
def get_outputs(self, point_samples: PointSamples, density_embedding=None):
|
||||
# TODO: add valid_mask masking!
|
||||
assert is_not_none(density_embedding)
|
||||
directions = point_samples.directions
|
||||
|
||||
Reference in new issue
Block a user