Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nerfacc
Commits
40075646
Unverified
Commit
40075646
authored
Oct 06, 2022
by
Ruilong Li(李瑞龙)
Committed by
GitHub
Oct 06, 2022
Browse files
Alpha fix (#56)
* fix rendering alpha_thre to 0 by default * bump version
parent
7bd6383c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
nerfacc/vol_rendering.py
nerfacc/vol_rendering.py
+1
-1
pyproject.toml
pyproject.toml
+1
-1
No files found.
nerfacc/vol_rendering.py
View file @
40075646
...
@@ -21,7 +21,7 @@ def rendering(
...
@@ -21,7 +21,7 @@ def rendering(
t_ends
:
torch
.
Tensor
,
t_ends
:
torch
.
Tensor
,
# rendering options
# rendering options
early_stop_eps
:
float
=
1e-4
,
early_stop_eps
:
float
=
1e-4
,
alpha_thre
:
float
=
1e-2
,
alpha_thre
:
float
=
0.0
,
render_bkgd
:
Optional
[
torch
.
Tensor
]
=
None
,
render_bkgd
:
Optional
[
torch
.
Tensor
]
=
None
,
)
->
Tuple
[
torch
.
Tensor
,
torch
.
Tensor
,
torch
.
Tensor
]:
)
->
Tuple
[
torch
.
Tensor
,
torch
.
Tensor
,
torch
.
Tensor
]:
"""Render the rays through the radience field defined by `rgb_sigma_fn`.
"""Render the rays through the radience field defined by `rgb_sigma_fn`.
...
...
pyproject.toml
View file @
40075646
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
[project]
name
=
"nerfacc"
name
=
"nerfacc"
version
=
"0.1.
5
"
version
=
"0.1.
6
"
description
=
"A General NeRF Acceleration Toolbox."
description
=
"A General NeRF Acceleration Toolbox."
readme
=
"README.md"
readme
=
"README.md"
authors
=
[
{name
=
"Ruilong"
,
email
=
"ruilongli94@gmail.com"
}
]
authors
=
[
{name
=
"Ruilong"
,
email
=
"ruilongli94@gmail.com"
}
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment