mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
turn grad accum off by default, decrease background mlp size, add overhead text embedding
This commit is contained in:
1 parent
5d91d32402
commit
9e4bc773ad
4 files changed
+4
-23
No files matched your search
@@ -224,7 +224,6 @@ class DreamFusionModel(Model):
|
||||
accumulation = self.renderer_accumulation(weights)
|
||||
depth = self.renderer_depth(weights, ray_samples_uniform)
|
||||
rgb = self.renderer_rgb(rgb=field_outputs[FieldHeadNames.RGB], weights=weights)
|
||||
# rgb = torch.clamp(rgb, 0.0, 1.0)
|
||||
|
||||
accum_mask = torch.clamp((torch.nan_to_num(accumulation, nan=0.0)), min=0.0, max=1.0)
|
||||
accum_mask_inv = 1.0 - accum_mask
|
||||
|
||||
Reference in new issue
Block a user