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
2d8d6b43
Unverified
Commit
2d8d6b43
authored
Nov 02, 2022
by
Ruilong Li(李瑞龙)
Committed by
GitHub
Nov 02, 2022
Browse files
Update train_ngp_nerf.py
parent
e7bd2074
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/train_ngp_nerf.py
examples/train_ngp_nerf.py
+1
-1
No files found.
examples/train_ngp_nerf.py
View file @
2d8d6b43
...
...
@@ -200,7 +200,7 @@ if __name__ == "__main__":
t
*
args
.
cone_angle
,
min
=
render_step_size
)
# filter out the points that are not in the near far plane.
if
(
near_plane
is
not
None
)
and
(
ne
ar_plane
is
not
None
):
if
(
near_plane
is
not
None
)
and
(
f
ar_plane
is
not
None
):
step_size
=
torch
.
where
(
(
t
>
near_plane
)
&
(
t
<
far_plane
),
step_size
,
...
...
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