mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 05:48:57 +08:00
merging
This commit is contained in:
commit
c458fe2250
3 files changed
+11
-19
No files matched your search
@@ -344,8 +344,8 @@ class DreamFusionModel(Model):
|
||||
rgb=rgb, normals=pred_normals, light_direction=light_d, shading_weight=shading_weight, detach_normals=True
|
||||
)
|
||||
|
||||
outputs["normals"] = normals
|
||||
outputs["pred_normals"] = pred_normals
|
||||
outputs["normals"] = ((normals + 1.0) / 2.0) * accum_mask
|
||||
outputs["pred_normals"] = ((pred_normals + 1.0) / 2.0) * accum_mask
|
||||
outputs["shaded"] = accum_mask * shaded + torch.ones_like(shaded) * accum_mask_inv
|
||||
outputs["shaded_albedo"] = shaded_albedo
|
||||
outputs["render"] = accum_mask * rgb + background
|
||||
|
||||
Reference in new issue
Block a user