mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 23:25:39 +08:00
Add median depth calculation (#877)
* Add median depth calculation * lint * Fix test
This commit is contained in:
1 parent
d9f6426e0d
commit
ca69adaaec
3 files changed
+24
-6
No files matched your search
@@ -125,7 +125,7 @@ class NGPModel(Model):
|
||||
background_color = "random" if self.config.randomize_background else colors.WHITE
|
||||
self.renderer_rgb = RGBRenderer(background_color=background_color)
|
||||
self.renderer_accumulation = AccumulationRenderer()
|
||||
self.renderer_depth = DepthRenderer()
|
||||
self.renderer_depth = DepthRenderer(method="expected")
|
||||
|
||||
# losses
|
||||
self.rgb_loss = MSELoss()
|
||||
|
||||
Reference in new issue
Block a user