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
7f9ecf67
Unverified
Commit
7f9ecf67
authored
Sep 15, 2022
by
Ethan Weber
Committed by
GitHub
Sep 15, 2022
Browse files
small fixes to occupancy code (#8)
parent
ed327e36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nerfacc/occupancy_field.py
nerfacc/occupancy_field.py
+2
-2
No files found.
nerfacc/occupancy_field.py
View file @
7f9ecf67
...
@@ -219,9 +219,9 @@ class OccupancyField(nn.Module):
...
@@ -219,9 +219,9 @@ class OccupancyField(nn.Module):
"field during inference."
"field during inference."
)
)
if
step
%
n
==
0
and
self
.
training
:
if
step
%
n
==
0
and
self
.
training
:
self
.
update
(
self
.
_
update
(
step
=
step
,
step
=
step
,
occ_thre
shold
=
occ_thre
,
occ_thre
=
occ_thre
,
ema_decay
=
ema_decay
,
ema_decay
=
ema_decay
,
warmup_steps
=
warmup_steps
,
warmup_steps
=
warmup_steps
,
)
)
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