Have predicted depth as expected_depth so gradients can be computed (#2852)

Update depth_nerfacto.py
This commit is contained in:
mattstrong-stanford authored and GitHub committed 2024-01-31 19:48:08 +00:00
1 parent 17748a8309
commit ebbebdab4c
1 file changed
+1 -1
+1 -1
View File
@@ -95,7 +95,7 @@ class DepthNerfactoModel(NerfactoModel):
weights=outputs["weights_list"][i],
ray_samples=outputs["ray_samples_list"][i],
termination_depth=termination_depth,
predicted_depth=outputs["depth"],
predicted_depth=outputs["expected_depth"],
sigma=sigma,
directions_norm=outputs["directions_norm"],
is_euclidean=self.config.is_euclidean_depth,