mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Update test sensitivity
This commit is contained in:
1 parent
353bb0daf7
commit
eb8434ace9
1 file changed
+1
-1
@@ -21,7 +21,7 @@ def test_rgb_renderer():
|
|||||||
assert torch.max(rgb) > 0.9
|
assert torch.max(rgb) > 0.9
|
||||||
|
|
||||||
rgb = rgb_renderer(rgb=rgb_samples * 0, weights=weights)
|
rgb = rgb_renderer(rgb=rgb_samples * 0, weights=weights)
|
||||||
assert torch.max(rgb) == pytest.approx(0)
|
assert torch.max(rgb) == pytest.approx(0, abs=1e-6)
|
||||||
|
|
||||||
|
|
||||||
def test_sh_renderer():
|
def test_sh_renderer():
|
||||||
|
|||||||
Reference in new issue
Block a user