Skip to content

Commit

Permalink
Alpha fix (#56)
Browse files Browse the repository at this point in the history
* fix rendering alpha_thre to 0 by default

* bump version
  • Loading branch information
liruilong940607 authored Oct 7, 2022
1 parent 7bd6383 commit 4007564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nerfacc/vol_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def rendering(
t_ends: torch.Tensor,
# rendering options
early_stop_eps: float = 1e-4,
alpha_thre: float = 1e-2,
alpha_thre: float = 0.0,
render_bkgd: Optional[torch.Tensor] = None,
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
"""Render the rays through the radience field defined by `rgb_sigma_fn`.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "nerfacc"
version = "0.1.5"
version = "0.1.6"
description = "A General NeRF Acceleration Toolbox."
readme = "README.md"
authors = [{name = "Ruilong", email = "[email protected]"}]
Expand Down

0 comments on commit 4007564

Please sign in to comment.