turn grad accum off by default, decrease background mlp size, add overhead text embedding

This commit is contained in:
terrance committed 2023-02-02 23:24:46 +00:00
1 parent 5d91d32402
commit 9e4bc773ad
4 files changed
+4 -23

No files matched your search

-1
View File
@@ -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