mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +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],
|
||||
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,
|
||||
|
||||
Reference in new issue
Block a user