mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
Have predicted depth as expected_depth so gradients can be computed (#2852)
Update depth_nerfacto.py
This commit is contained in:
1 parent
17748a8309
commit
ebbebdab4c
1 file changed
+1
-1
@@ -95,7 +95,7 @@ class DepthNerfactoModel(NerfactoModel):
|
|||||||
weights=outputs["weights_list"][i],
|
weights=outputs["weights_list"][i],
|
||||||
ray_samples=outputs["ray_samples_list"][i],
|
ray_samples=outputs["ray_samples_list"][i],
|
||||||
termination_depth=termination_depth,
|
termination_depth=termination_depth,
|
||||||
predicted_depth=outputs["depth"],
|
predicted_depth=outputs["expected_depth"],
|
||||||
sigma=sigma,
|
sigma=sigma,
|
||||||
directions_norm=outputs["directions_norm"],
|
directions_norm=outputs["directions_norm"],
|
||||||
is_euclidean=self.config.is_euclidean_depth,
|
is_euclidean=self.config.is_euclidean_depth,
|
||||||
|
|||||||
Reference in new issue
Block a user